/* Tokens: ver DESIGN.md. Escuro é o padrão; o claro entra com data-theme="light". */
:root {
  --bg: #0B0D12;
  --bg-2: #10131A;
  --surface: #141821;
  --line: #232835;
  --line-strong: #353C4C;
  --text: #EEF1F6;
  --text-muted: #9AA3B2;
  --primary: #5B8CFF;
  --primary-hover: #86A9FF;
  --on-primary: #0B0D12;
  --primary-soft: rgb(91 140 255 / .12);
  --warn: #F2C94C;
  --ok: #4ADE80;
  --noise-opacity: .05;
  --icon-mono: invert(1);
  --icon-dim: brightness(1.9) saturate(1.2);

  --font-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 10px;
  --r-lg: 18px;
  --content: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F5F6F8;
  --bg-2: #ECEEF2;
  --surface: #FFFFFF;
  --line: #DCE0E7;
  --line-strong: #C3C9D4;
  --text: #0E1320;
  --text-muted: #4D5566;
  --primary: #1F4FD6;
  --primary-hover: #183FAE;
  --on-primary: #FFFFFF;
  --primary-soft: rgb(31 79 214 / .08);
  --warn: #8A5A00;
  --ok: #166534;
  --noise-opacity: .035;
  --icon-mono: none;
  --icon-dim: none;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  position: relative; isolation: isolate;
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Textura de ruído sutil, para o fundo não ficar "chapado" */
body::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.5rem); line-height: .98; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--content) + 48px); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .container { padding-inline: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 200; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--r); text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; color: var(--on-primary); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand-dot { color: var(--primary); display: inline-block; transition: transform .4s var(--ease); }
.brand:hover .brand-dot { transform: translateY(-6px); }
.nav-list { display: flex; gap: 4px; }
.nav-list a { position: relative; display: block; padding: 8px 10px; color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; transition: color .2s; }
.nav-list a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--text); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 3px; }
.lang button { min-width: 34px; height: 30px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; color: var(--text-muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: background-color .2s, color .2s; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s; }
.theme-toggle:hover { border-color: var(--text-muted); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 1020px) {
  .nav { position: relative; order: 3; }
  .nav-toggle { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; cursor: pointer; font-size: 0.9375rem; }
  .nav-list { display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; flex-direction: column; gap: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 20px 40px rgb(0 0 0 / .3); }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 12px; }
  .nav-list a::after { display: none; }
  .theme-toggle { order: 4; }
}
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .lang button { min-width: 28px; padding: 0 4px; }
}

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 1px solid transparent; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); transform: translateY(-1px); }
.btn-ghost { color: var(--text); padding-inline: 6px; }
.btn-ghost:hover { color: var(--primary); }
.btn-ghost .icon { transition: transform .25s var(--ease); }
.btn-ghost:hover .icon { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(40px, 6vw, 88px); border-bottom: 1px solid var(--line); overflow: hidden; }
.net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-text { padding-block: 8px; }
.split { text-wrap: wrap; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-muted); max-width: 46ch; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }

/* Foto parada num painel: os ombros encostam nas bordas, sem cortes à vista */
.portrait { justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-text { padding-block: 0 24px; }
  .portrait { max-width: min(100%, 400px); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  h1 { font-size: clamp(2.75rem, 6.2vw, 4.25rem); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .hero-text { padding-block: 0; }
  .portrait { max-width: 280px; }
  h1 { font-size: clamp(2rem, 5vw, 3rem); }
}

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); scroll-margin-top: var(--header-h); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 760px; }
.section-head h2 { max-width: 16ch; }
.section-intro { color: var(--text-muted); max-width: 52ch; margin-top: 20px; font-size: 1.125rem; }

/* Reserva sem GSAP: revelar com IntersectionObserver */
.io [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.io [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Sobre ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--primary); font-size: 0.9375rem; font-weight: 600; letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }

.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.about-head { position: sticky; top: calc(var(--header-h) + 32px); }
.about h2 { max-width: 9ch; }
.about-text { display: grid; gap: 22px; color: var(--text-muted); font-size: 1.125rem; line-height: 1.75; max-width: 64ch; }
.about-text .about-lead { color: var(--text); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.55; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-head { position: static; } .about h2 { max-width: none; } }

/* ---------- Como eu trabalho ---------- */
.process { margin-top: 64px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; display: grid; gap: 6px; justify-items: start; padding: 22px 0 6px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--text-muted); }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-strong); }
.step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.step.is-done::after, .step[aria-selected="true"]::after { transform: scaleX(1); }
.step-n { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; transition: color .3s; }
.step-name { font-weight: 600; font-size: 1.0625rem; transition: color .3s; }
.step:hover { color: var(--text); }
.step[aria-selected="true"] { color: var(--text); }
.step[aria-selected="true"] .step-n { color: var(--primary); }
.step-panels { margin-top: 40px; }
.step-panel { padding-top: 28px; border-top: 1px solid var(--line); }
.step-text { display: flex; gap: 16px; align-items: flex-start; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.55; max-width: 62ch; }
.step-text .icon { flex: none; width: 26px; height: 26px; margin-top: .2em; padding: 4px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); stroke-width: 2.2; }
@media (max-width: 760px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

/* ---------- Serviços (lista editorial) ---------- */
.services { margin-top: 64px; border-top: 1px solid var(--line); }
.services > li { border-bottom: 1px solid var(--line); }
.service { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) 48px; gap: 20px 48px; align-items: start; padding: 36px 0; color: var(--text); text-decoration: none; }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service:hover { color: var(--text); }
.service:hover::before, .service:focus-visible::before { transform: scaleX(1); }
.service-title { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.05; letter-spacing: -0.025em; transition: transform .4s var(--ease), color .3s; }
.service:hover .service-title { transform: translateX(10px); color: var(--primary); }
.service-body { display: grid; gap: 14px; }
.service-body p { color: var(--text-muted); max-width: 60ch; }
.service-ex { font-size: 0.9375rem; color: var(--text) !important; }
.service-go { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text-muted); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.service:hover .service-go { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: rotate(45deg); }
@media (max-width: 860px) {
  .service { grid-template-columns: minmax(0, 1fr) 44px; padding: 28px 0; }
  .service-body { grid-column: 1 / -1; grid-row: 2; }
  .service-go { width: 44px; height: 44px; grid-column: 2; grid-row: 1; }
  .service:hover .service-title { transform: none; }
}

/* ---------- Tecnologias ---------- */
.marquees { display: grid; gap: 8px; margin-top: 64px; border-block: 1px solid var(--line); }
.marquee { overflow: hidden; padding-block: 18px; }
.marquee + .marquee { border-top: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 62s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tech { display: inline-flex; align-items: center; gap: 14px; padding: 4px 36px; font-family: var(--font-display); font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; color: var(--text-muted); white-space: nowrap; transition: color .25s; }
.tech img { width: 34px; height: 34px; filter: grayscale(1) opacity(.7); transition: filter .3s, transform .35s var(--ease); }
.tech img.mono { filter: var(--icon-mono) grayscale(1) opacity(.7); }
.tech:hover { color: var(--text); }
.tech:hover img { filter: none; transform: scale(1.12); }
.tech:hover img.mono { filter: var(--icon-mono); }
.tech:hover img.dim { filter: var(--icon-dim); }

/* ---------- Projetos (carrossel) ---------- */
.proj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.carousel-ctrl { display: flex; align-items: center; gap: 10px; }
.carousel-count { margin-right: 10px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.carousel-count b { color: var(--text); font-weight: 600; }
.round { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.round:hover:not(:disabled) { background: var(--text); color: var(--bg); border-color: var(--text); }
.round:disabled { opacity: .35; cursor: default; }

.carousel { margin-top: 48px; }
.track {
  --gutter: max(24px, calc((100vw - var(--content)) / 2));
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 24px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.track.is-drag { cursor: grabbing; }
.track.is-drag, .track.no-snap { scroll-snap-type: none; }
.track.is-drag * { pointer-events: none; user-select: none; }
@media (max-width: 480px) { .track { --gutter: 16px; gap: 12px; } }
.slide { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; display: flex; }
.slide-main { flex-basis: min(720px, 88vw); }
.pcard { display: flex; flex-direction: column; gap: 16px; width: 100%; min-height: 420px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard-year { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.pcard-name { font-size: clamp(3rem, 8vw, 6.5rem); line-height: .9; letter-spacing: -0.05em; margin-top: auto; }
.pcard-name.small { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.05; letter-spacing: -0.03em; margin-top: auto; }
.pcard-kind { font-family: var(--font-display); font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 500; }
.pcard-desc { color: var(--text-muted); max-width: 52ch; }
.pcard-note { color: var(--text-muted); font-size: 0.875rem; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard-soon { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.pcard-soon:hover { border-style: solid; border-color: var(--primary); color: var(--text); transform: translateY(-4px); }
.pcard-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 500; }
.pcard-cta .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pcard-soon:hover .pcard-cta .icon { transform: translate(3px, -3px); }
.tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.tag-warn { color: var(--warn); }
.car-bar { margin: 8px auto 0; width: min(calc(100% - 48px), var(--content)); height: 2px; background: var(--line); }
.car-bar span { display: block; height: 100%; background: var(--primary); transform-origin: left; transform: scaleX(var(--prog, .25)); transition: transform .25s; }

/* ---------- Contato ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-title { font-size: clamp(2.4rem, 5.4vw, 4.5rem); max-width: 12ch; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--primary); border-color: var(--primary); }

.contact-card { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.need { border: 0; padding: 0; min-width: 0; }
.need legend { padding: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 14px; }
.need-options { display: flex; flex-wrap: wrap; gap: 8px; }
.need-options label { position: relative; cursor: pointer; }
.need-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.need-options span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 0.9375rem; color: var(--text-muted); transition: border-color .2s, color .2s, background-color .2s; }
.need-options label:hover span { border-color: var(--text-muted); color: var(--text); }
.need-options input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 500; }
.need-options input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 3px; }

.mailbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.mailbox-text { font-size: 0.9375rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; user-select: all; }
.mailbox-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 0.875rem; cursor: pointer; transition: border-color .2s; }
.mailbox-btn:hover { border-color: var(--text-muted); }
.mailbox-btn .icon { width: 16px; height: 16px; }
.mailbox-btn .icon-ok { display: none; color: var(--ok); }
.mailbox-btn.is-copied .icon-copy { display: none; }
.mailbox-btn.is-copied .icon-ok { display: block; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--text-muted); font-size: 0.9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .2s; }
.to-top.is-visible, .to-top:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--text-muted); color: var(--text); }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .io [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; }
  .marquee-track .tech[data-dup] { display: none; }
}
