/* =========================================================
   Redesign BotBug — "o bug guia a visita"
   Identidade: ver DESIGN.md
   ========================================================= */
:root {
  --bg: #08081E; --bg-2: #0C0C26; --surface: #11112C; --surface-2: #17173A;
  --line: rgba(234, 243, 239, .09); --line-2: rgba(234, 243, 239, .17);
  --ink: #EAF3EF; --muted: #9FB0AA; --dim: #64766F;
  --mint: #6EE7B7; --mint-2: #A9F2D6; --teal: #52B6B5; --teal-d: #246368; /* teal = cores exatas do logo */
  --violet: #7F77FE; --amber: #FFC46B; --on-mint: #07130F;
  --accent-ink: var(--mint); --pill-ink: var(--mint-2);
  --glass: rgba(12, 12, 38, .6); --shadow: rgba(0, 0, 0, .7);
  --f-d: "Bricolage Grotesque", system-ui, sans-serif;
  --f-b: "Manrope", system-ui, sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, monospace;
  --out: cubic-bezier(.23, 1, .32, 1); --io: cubic-bezier(.77, 0, .175, 1);
  --g: clamp(16px, 4vw, 56px); --max: 1360px; --r: 24px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F3F6F4; --bg-2: #E8EEEA; --surface: #FFFFFF; --surface-2: #EBF1ED;
  --line: rgba(8, 8, 30, .09); --line-2: rgba(8, 8, 30, .18);
  --ink: #0A0A24; --muted: #4A5B55; --dim: #6B7C76;
  --accent-ink: #0A8A62; --pill-ink: #0A7454;
  --glass: rgba(255, 255, 255, .7); --shadow: rgba(8, 8, 30, .16);
  color-scheme: light;
}
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
/* overflow-x: clip (não hidden) para não partir o position: sticky do túnel */
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-b); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-d); margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1; }
p { margin: 0; } ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--mint); color: var(--on-mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--g); }
.skip { position: fixed; left: 16px; top: -70px; z-index: 300; background: var(--mint); color: var(--on-mint); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 16px; }

.eyebrow { font: 500 12px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(40px, 6.2vw, 96px); font-variation-settings: "wdth" 84; max-width: 14ch; }
.lead { color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); max-width: 48ch; margin-top: 22px; }
.link { color: var(--accent-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--out); padding: 10px 0; }
@media (hover: hover) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }
.line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in { display: inline-block; }

/* ---------- botões ---------- */
.btn { --bh: 54px; display: inline-flex; align-items: center; gap: 12px; height: var(--bh); padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font: 700 15px/1 var(--f-b); white-space: nowrap; transition: transform .2s var(--out), background-color .2s, box-shadow .3s, color .2s; }
.btn--sm { --bh: 44px; padding: 0 18px; font-size: 14px; } .btn--lg { --bh: 66px; padding: 0 36px; font-size: 17px; }
.btn--mint { background: var(--mint); color: var(--on-mint); }
.btn--line { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.arr { font-style: normal; display: inline-block; transition: transform .25s var(--out); }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn--mint:hover { background: var(--mint-2); box-shadow: 0 12px 40px -10px rgba(110, 231, 183, .55); }
  .btn--line:hover { box-shadow: inset 0 0 0 1px var(--mint); color: var(--accent-ink); }
  .btn:hover .arr { transform: translateX(4px); }
}
.tag { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--pill-ink); }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: ping 2.4s var(--out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(110, 231, 183, 0); } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1 var(--f-m); color: var(--pill-ink); }

/* ---------- o escaravelho animável ---------- */
.bugsvg { width: 100%; height: 100%; display: block; overflow: visible; }
/* o logo real é uma peça só: a andar, bamboleia o corpo todo */
.bugsvg { transform-origin: 50% 58%; }
.is-walking .bugsvg { animation: waddle .2s ease-in-out infinite alternate; }
@keyframes waddle { from { transform: rotate(-8deg) scaleY(.97); } to { transform: rotate(8deg) scaleY(1.02); } }

/* ---------- formas -> bug (manifesto) ---------- */
.mani__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: start; }
.forge { position: sticky; top: 20vh; justify-self: end; width: min(100%, 380px); }
.forge__svg { width: 100%; height: auto; overflow: visible; animation: bob 4s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
.fp--leg, .fp--stem { fill: none; stroke: var(--teal-d); stroke-width: 12; stroke-linecap: round; }
.fp--head, .fp--body { fill: var(--teal); stroke: var(--teal-d); stroke-width: 12; stroke-linejoin: round; }
.fp--ball { fill: var(--teal-d); } .fp--eye { fill: #1A4248; }
.js .forge__logo { opacity: 0; }
html:not(.js) .forge__pieces { display: none; }
.forge__cap { display: flex; align-items: center; gap: 12px; margin-top: 6px; font: 500 12px/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.forge__cap i { flex: 1; height: 1px; background: var(--mint); transform-origin: left; }
.forge__cap b { color: var(--accent-ink); font-weight: 500; }
.chip-btn--lang { width: 48px; padding: 0; font: 500 13px/1 var(--f-m); letter-spacing: .06em; }

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 3vw, 36px); clip-path: circle(150% at 50% 50%); }
html:not(.js) .loader { display: none; }
.loader__top, .loader__bottom { display: flex; justify-content: space-between; font: 500 12px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.loader__top span:first-child { color: var(--ink); }
.loader__num { display: flex; justify-content: flex-end; font: 800 clamp(150px, 34vw, 520px)/.78 var(--f-d); font-variation-settings: "wdth" 75; letter-spacing: -.06em; font-variant-numeric: tabular-nums; margin-top: auto; overflow: hidden; }
.loader__num span { display: inline-block; }
.loader__num span:last-child { color: var(--accent-ink); }
.loader__rail { --p: 0; position: relative; height: 3px; margin: clamp(28px, 5vh, 56px) 0 22px; background: var(--line-2); border-radius: 3px; }
.loader__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--mint)); transform-origin: left; transform: scaleX(var(--p)); border-radius: inherit; }
.loader__bug { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 46px; height: 54px; margin: -27px 0 0 -30px; transform: rotate(90deg); filter: drop-shadow(0 8px 20px rgba(82, 185, 180, .4)); }

/* =========================================================
   BUG COMPANHEIRO
   ========================================================= */
.buddy { position: fixed; left: 0; top: 0; z-index: 150; width: 40px; height: 47px; margin: -24px 0 0 -20px; pointer-events: none; opacity: 0; transition: opacity .4s; filter: drop-shadow(0 10px 18px var(--shadow)); will-change: transform; }
.buddy.is-on { opacity: 1; }
.buddy.is-off, .buddy.is-hidden { opacity: 0 !important; }
@media (hover: none), (pointer: coarse) { .buddy, #buddyBtn { display: none !important; } }

/* =========================================================
   NAV + MENU
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 120; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--g); transition: transform .45s var(--out); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-120%); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 12px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); font: 800 20px/1 var(--f-d); letter-spacing: -.03em; }
.nav__logo svg { width: 26px; height: 30px; transition: transform .4s var(--out); }
@media (hover: hover) { .nav__logo:hover svg { transform: rotate(-14deg) translateY(-2px); } }
.nav__right { display: flex; align-items: center; gap: 8px; }
.icon-btn, .chip-btn, .menu-btn { height: 48px; border: 0; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .2s var(--out), box-shadow .3s; }
.icon-btn { width: 48px; } .chip-btn, .menu-btn { padding: 0 18px; font: 700 14px/1 var(--f-b); }
.icon-btn:active, .chip-btn:active, .menu-btn:active { transform: scale(.94); }
@media (hover: hover) { .icon-btn:hover, .chip-btn:hover, .menu-btn:hover { box-shadow: inset 0 0 0 1px var(--mint); } }
.chip-btn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(110, 231, 183, .18); transition: background-color .3s, box-shadow .3s; }
.chip-btn[aria-pressed="false"] .chip-btn__dot { background: var(--dim); box-shadow: none; }
.menu-btn__bars { position: relative; width: 18px; height: 10px; }
.menu-btn__bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--out); }
.menu-btn__bars i:first-child { top: 0; } .menu-btn__bars i:last-child { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-4px) rotate(-45deg); }
.theme-ico { position: relative; width: 20px; height: 20px; }
.theme-ico__disc { position: absolute; inset: 0; border-radius: 50%; background: currentColor; transition: transform .5s var(--io); -webkit-mask: radial-gradient(circle at 80% 20%, transparent 7px, #000 7.5px); mask: radial-gradient(circle at 80% 20%, transparent 7px, #000 7.5px); }
.theme-ico__rays { position: absolute; inset: -6px; border-radius: 50%; opacity: 0; transform: scale(.5) rotate(-45deg); transition: opacity .4s, transform .5s var(--out); background: repeating-conic-gradient(currentColor 0 7deg, transparent 7deg 45deg); -webkit-mask: radial-gradient(circle, transparent 9px, #000 9.5px, #000 12px, transparent 12.5px); mask: radial-gradient(circle, transparent 9px, #000 9.5px, #000 12px, transparent 12.5px); }
:root[data-theme="dark"] .theme-ico__disc { transform: scale(.55); -webkit-mask: none; mask: none; }
:root[data-theme="dark"] .theme-ico__rays { opacity: 1; transform: none; }

.menu { position: fixed; inset: 0; z-index: 110; background: var(--bg-2); display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: 110px var(--g) 36px; clip-path: circle(0% at calc(100% - 60px) 38px); }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 4px 0; border-top: 1px solid var(--line); font: 700 clamp(40px, 8.6vw, 116px)/1.06 var(--f-d); font-variation-settings: "wdth" 78; letter-spacing: -.035em; transition: font-variation-settings .5s var(--out), color .3s, padding-left .5s var(--out); overflow: hidden; }
.menu__links a small { font: 500 13px/1 var(--f-m); color: var(--accent-ink); letter-spacing: .1em; transform: translateY(-.9em); }
.menu__links a span { display: inline-block; }
@media (hover: hover) { .menu__links a:hover { font-variation-settings: "wdth" 100; color: var(--accent-ink); padding-left: 24px; } }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-weight: 600; }
.menu__foot a { padding: 10px 0; } @media (hover: hover) { .menu__foot a:hover { color: var(--accent-ink); } }

/* =========================================================
   HERO CINÉTICO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 104px 0 30px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60vw 60vw at var(--mx, 70%) var(--my, 20%), rgba(110, 231, 183, .10), rgba(127, 119, 254, .05) 45%, transparent 70%); pointer-events: none; }
.hero__meta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero__place { font: 500 12px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hero__title { position: relative; font-size: clamp(50px, min(13.2vw, 23vh), 236px); font-weight: 600; line-height: .9; letter-spacing: -.04em; font-variation-settings: "wdth" 82; }
.kline { display: block; white-space: nowrap; overflow: hidden; padding: .06em 0 .12em; margin-bottom: -.12em; }
.kline--in { padding-left: 9vw; }
.kline--accent { color: var(--accent-ink); text-align: right; }
.ch { display: inline-block; font-variation-settings: "wght" var(--w, 600), "wdth" var(--d, 82); will-change: font-variation-settings, transform; }
.ch--sp { width: .24em; }
.hero__foot { position: relative; display: grid; grid-template-columns: minmax(0, 46ch) auto 1fr; gap: 24px 48px; align-items: end; }
.hero__lead { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--mint); animation: drip 1.8s var(--io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; display: block; opacity: .9; }
.hs--1 { width: 9vw; height: 9vw; right: 8%; top: 16%; background: var(--violet); border-radius: 100% 0 0 0; }
.hs--2 { width: 5vw; height: 5vw; left: 46%; top: 12%; background: var(--amber); border-radius: 50%; }
.hs--3 { width: 7vw; height: 7vw; left: 4%; top: 58%; background: var(--teal); border-radius: 100% 0; }
.hs--4 { width: 6vw; height: 6vw; right: 30%; top: 70%; background: var(--mint); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hs--5 { width: 4vw; height: 4vw; right: 6%; top: 62%; background: var(--surface-2); border-radius: 8px; transform: rotate(45deg); }

/* ---------- faixa inclinada ---------- */
.band { position: relative; z-index: 2; background: var(--mint); color: var(--on-mint); transform: rotate(-2deg) scale(1.04); margin: clamp(30px, 5vw, 70px) 0; padding: 16px 0; overflow: hidden; }
.band__row { display: flex; width: max-content; will-change: transform; }
.band__track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); padding-right: clamp(18px, 2.4vw, 36px); font: 700 clamp(26px, 3.8vw, 54px)/1 var(--f-d); font-variation-settings: "wdth" 80; letter-spacing: -.02em; white-space: nowrap; }
.band__track b { font-weight: 400; font-size: .7em; }

/* =========================================================
   ANTES / DEPOIS
   ========================================================= */
.diff { padding: clamp(80px, 11vw, 160px) 0; }
.diff__head { margin-bottom: clamp(36px, 5vw, 64px); }
.cmp { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -40px var(--shadow); container-type: inline-size; user-select: none; touch-action: pan-y; }
.cmp__pane { position: absolute; inset: 0; }
.cmp__pane--b { clip-path: inset(0 0 0 var(--pos)); }
.cmp__label { position: absolute; bottom: 3cqw; padding: 8px 12px; border-radius: 999px; font: 500 max(10px, 1.1cqw)/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.cmp__label--a { left: 3cqw; background: #BDBDBD; color: #4A4A4A; }
.cmp__label--b { right: 3cqw; background: #6EE7B7; color: #07130F; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #6EE7B7; pointer-events: none; }
.cmp__knob { position: absolute; top: 50%; left: 50%; width: max(52px, 6cqw); height: max(52px, 6cqw); translate: -50% -50%; border-radius: 50%; background: #6EE7B7; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 8px rgba(110, 231, 183, .18); transition: scale .25s var(--out); }
.cmp__knob svg { width: 52%; height: 60%; }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:has(.cmp__range:active) .cmp__knob { scale: .9; }
.cmp:has(.cmp__range:focus-visible) { outline: 2px solid var(--mint); outline-offset: 4px; }

.old { height: 100%; background: #DCDCDC; color: #8C8C8C; font-family: "Times New Roman", Times, serif; padding: 3cqw 5cqw; display: flex; flex-direction: column; gap: 5cqw; }
.old__nav { display: flex; align-items: center; gap: 3cqw; }
.old__nav b { width: 9cqw; height: 2.2cqw; background: #B4B4B4; margin-right: auto; }
.old__nav i { width: 6cqw; height: 1cqw; background: #C4C4C4; }
.old__body { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: center; flex: 1; }
.old__body strong { display: block; font-size: 4.2cqw; font-weight: 400; line-height: 1.1; color: #7A7A7A; margin-bottom: 2.4cqw; }
.old__body span { display: block; height: 1.1cqw; background: #C6C6C6; margin-bottom: 1.2cqw; } .old__body span.s { width: 60%; }
.old__body em { display: inline-block; margin-top: 2cqw; padding: 1.2cqw 2.6cqw; border: 1px solid #A8A8A8; font-style: normal; font-size: 1.6cqw; color: #8A8A8A; }
.old__img { aspect-ratio: 4 / 3; background: linear-gradient(to top right, transparent calc(50% - 1px), #B9B9B9, transparent calc(50% + 1px)), linear-gradient(to top left, transparent calc(50% - 1px), #B9B9B9, transparent calc(50% + 1px)), #CFCFCF; border: 1px solid #B9B9B9; }

.new { height: 100%; background: radial-gradient(60cqw 40cqw at 80% 10%, rgba(110, 231, 183, .16), transparent 60%), #08081E; color: #EAF3EF; padding: 3cqw 5cqw; display: flex; flex-direction: column; gap: 5cqw; font-family: var(--f-b); }
.new__nav { display: flex; align-items: center; gap: 2.4cqw; font-size: 1.5cqw; }
.new__nav svg { width: 2.6cqw; height: 3cqw; } .new__nav b { font: 800 2cqw/1 var(--f-d); margin-right: auto; margin-left: -1.4cqw; }
.new__nav i { width: 5cqw; height: .8cqw; border-radius: 1cqw; background: rgba(234, 243, 239, .25); }
.new__nav em { font-style: normal; font-weight: 700; background: #6EE7B7; color: #07130F; padding: 1cqw 2cqw; border-radius: 99px; }
.new__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqw; align-items: center; flex: 1; }
.new__body strong { display: block; font: 700 5.6cqw/.95 var(--f-d); font-variation-settings: "wdth" 82; letter-spacing: -.03em; }
.new__body u { text-decoration: none; color: #6EE7B7; }
.new__body p { color: #9FB0AA; font-size: 1.7cqw; margin: 1.8cqw 0 2.4cqw; }
.new__body em { display: inline-block; font-style: normal; font-weight: 700; font-size: 1.6cqw; background: #6EE7B7; color: #07130F; padding: 1.4cqw 2.6cqw; border-radius: 99px; animation: nudge 2.6s var(--io) infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(.8cqw); } }
.new__art { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; width: min(100%, 30cqw); justify-self: center; }
.new__art i { aspect-ratio: 1; animation: morph 5s var(--io) infinite; }
.new__art i:nth-child(1) { background: #6EE7B7; border-radius: 50%; }
.new__art i:nth-child(2) { background: #7F77FE; border-radius: 100% 0 0 0; animation-delay: -1.2s; }
.new__art i:nth-child(3) { background: #FFC46B; border-radius: 0 100% 0 100%; animation-delay: -2.4s; }
.new__art i:nth-child(4) { background: #52B9B4; border-radius: 12%; animation-delay: -3.6s; }
@keyframes morph { 0%, 100% { border-radius: 50%; transform: none; } 25% { border-radius: 100% 0 0 0; transform: rotate(90deg); } 50% { border-radius: 12%; transform: rotate(180deg); } 75% { border-radius: 0 100% 0 100%; transform: rotate(270deg); } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.mani { padding: clamp(60px, 9vw, 130px) 0 clamp(90px, 12vw, 170px); }
.mani__text { font: 600 clamp(30px, 4.6vw, 70px)/1.1 var(--f-d); font-variation-settings: "wdth" 84; letter-spacing: -.03em; max-width: 22ch; }
.js .mani__text .w { opacity: .13; } .mani__text .w--hl { color: var(--accent-ink); }
.mani__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(50px, 7vw, 100px); border-top: 1px solid var(--line-2); }
.mani__facts li { padding: 26px 24px 0 0; }
.mani__facts b { display: block; font: 700 20px/1.2 var(--f-d); margin-bottom: 8px; }
.mani__facts span { color: var(--muted); font-size: 15px; }

/* =========================================================
   SERVIÇOS — painéis que expandem
   ========================================================= */
.serv { padding: 0 0 clamp(90px, 12vw, 170px); }
.serv__head { margin-bottom: clamp(36px, 5vw, 64px); }
.panels { --tab: 92px; display: flex; gap: 12px; height: min(580px, 74vh); }
.panel { position: relative; flex: 0 1 var(--tab); min-width: var(--tab); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: flex-grow .8s var(--io), background-color .4s; }
.panel.is-open { flex-grow: 1; }
.panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.panel__tab { position: absolute; inset: 0; width: var(--tab); border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 30px 0; transition: opacity .4s; }
.panel__n { font: 500 13px/1 var(--f-m); color: var(--c); letter-spacing: .1em; }
.panel__name { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 24px/1 var(--f-d); font-variation-settings: "wdth" 82; letter-spacing: -.02em; white-space: nowrap; }
.panel.is-open .panel__tab { opacity: 0; pointer-events: none; }
.panel__body { position: absolute; top: 0; bottom: 0; left: 0; width: var(--open-w, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: clamp(26px, 3.4vw, 48px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.panel.is-open .panel__body { opacity: 1; pointer-events: auto; transition: opacity .6s .35s; }
.panel__text { display: flex; flex-direction: column; justify-content: flex-end; }
.panel__text h3 { font-size: clamp(30px, 3.4vw, 50px); font-variation-settings: "wdth" 84; margin-bottom: 16px; }
.panel__text p { color: var(--muted); max-width: 40ch; }
.panel__vis { position: relative; border-radius: 18px; background-color: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: grid; place-items: center; min-height: 240px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; background-position: center; }
:root[data-theme="light"] .panel__vis { background-color: var(--bg); }

/* mini-demos */
.vis-wire { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 12px; padding: 28px; place-items: stretch; }
.vw { border-radius: 8px; background: var(--surface-2); transform-origin: left; animation: wd 4s var(--out) infinite; }
.vw--bar { grid-column: 1 / -1; height: 14px; } .vw--h1 { grid-column: 1 / -1; height: 24px; width: 78%; background: var(--line-2); animation-delay: .15s; }
.vw--h2 { grid-column: 1 / -1; height: 24px; width: 52%; animation-delay: .3s; } .vw--btn { grid-column: 1 / -1; height: 36px; width: 120px; border-radius: 99px; background: var(--mint); animation-delay: .45s; margin-bottom: 8px; }
.vw--c { height: 84px; background: none; box-shadow: inset 0 0 0 1.5px var(--line-2); animation-delay: .7s; }
@keyframes wd { 0% { transform: scaleX(0); opacity: 0; } 18%, 82% { transform: scaleX(1); opacity: 1; } 100% { opacity: 0; } }
.vw-cur { position: absolute; left: 0; top: 0; width: 18px; height: 22px; background: var(--ink); clip-path: polygon(0 0, 100% 62%, 52% 66%, 34% 100%); animation: wc 4s var(--io) infinite; }
@keyframes wc { 0%, 100% { transform: translate(240px, 190px); } 30%, 50% { transform: translate(90px, 150px); } 42% { transform: translate(90px, 150px) scale(.85); } 80% { transform: translate(280px, 240px); } }
.vis-cube { perspective: 900px; }
.cube { position: relative; width: 110px; height: 110px; transform-style: preserve-3d; animation: spin 9s linear infinite; }
.cube i { position: absolute; inset: 0; border-radius: 16px; border: 1.5px solid rgba(127, 119, 254, .7); background: rgba(127, 119, 254, .12); }
.cube i:nth-child(1) { transform: translateZ(55px); background: rgba(110, 231, 183, .2); border-color: rgba(110, 231, 183, .7); } .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(55px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(55px); } .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(55px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(55px); border-color: rgba(255, 196, 107, .7); } .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(55px); }
@keyframes spin { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.orbit { position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px dashed var(--line-2); animation: orb 12s linear infinite; }
.orbit b { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); top: -7px; left: calc(50% - 7px); }
.orbit b:nth-child(2) { top: auto; bottom: 26px; left: 10px; background: var(--violet); } .orbit b:nth-child(3) { top: 56px; left: auto; right: -4px; background: var(--amber); border-radius: 3px; }
@keyframes orb { to { transform: rotate(360deg); } }
.vis-ai svg { width: 92%; height: auto; overflow: visible; }
.ai-l { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 4 6; } .ai-n { fill: var(--surface-2); stroke: var(--line-2); } .ai-c { fill: var(--surface-2); stroke: var(--mint); stroke-width: 1.5; }
.ai-p { fill: var(--mint); } .ai-p--v { fill: var(--violet); } .ai-p--a { fill: var(--amber); }
.ds { display: grid; grid-template-columns: repeat(4, 58px); grid-auto-rows: 58px; gap: 10px; }
.ds > * { border-radius: 14px; animation: pop 4s var(--out) infinite; }
.ds i { background: var(--k); } .ds i:nth-child(2) { animation-delay: .1s; } .ds i:nth-child(3) { animation-delay: .2s; } .ds i:nth-child(4) { animation-delay: .3s; }
.ds b { grid-column: span 2; display: grid; place-items: center; font-weight: 700; animation-delay: .5s; }
.ds__aa { background: var(--surface-2); font: 700 30px/1 var(--f-d); } .ds__btn { background: var(--mint); color: var(--on-mint); border-radius: 99px !important; font-size: 14px; }
.ds__tog { background: var(--surface-2); border-radius: 99px !important; position: relative; } .ds__tog u { position: absolute; top: 9px; left: 9px; width: 40px; height: 40px; border-radius: 50%; background: var(--violet); animation: tog 4s var(--io) infinite; }
.ds__chip { box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 13px var(--f-m) !important; color: var(--pill-ink); }
@keyframes pop { 0% { opacity: 0; transform: scale(.85); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tog { 0%, 35%, 100% { transform: none; background: var(--violet); } 50%, 85% { transform: translateX(68px); background: var(--mint); } }

/* =========================================================
   PROJETOS — túnel 3D
   ========================================================= */
.tunnel { position: relative; height: 560vh; border-top: 1px solid var(--line); }
.tunnel__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tunnel__head { position: absolute; inset: 96px 0 auto 0; z-index: 3; pointer-events: none; }
.tunnel__head .h2 { font-size: clamp(28px, 3.4vw, 48px); }
.tunnel__head .eyebrow { margin-bottom: 12px; }
.tunnel__stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 46%; }
.tunnel__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 46%, rgba(110, 231, 183, .10), transparent 70%); }
.tunnel__world { position: absolute; inset: 0; transform-style: preserve-3d; }
.tcard { position: absolute; left: 50%; top: 53%; width: min(720px, 78vw, calc(96vh - 150px)); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -30px var(--shadow); will-change: transform, opacity; backface-visibility: hidden; transform: translate(-50%, -50%); }
.tcard__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.tcard__bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF6B6B; } .tcard__bar i:nth-child(2) { background: var(--amber); } .tcard__bar i:nth-child(3) { background: var(--mint); }
.tcard__bar span { margin: 0 auto; transform: translateX(-22px); padding: 5px 14px; border-radius: 99px; background: var(--bg-2); font: 500 11px/1 var(--f-m); color: var(--muted); }
.tcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; background: #fff; }
.tcard--next { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, var(--mint), var(--teal)); color: var(--on-mint); font: 800 clamp(40px, 6vw, 84px)/.92 var(--f-d); font-variation-settings: "wdth" 80; letter-spacing: -.04em; }
.tmock { aspect-ratio: 16 / 9; background: #F3F7F8; color: #0E3B47; padding: 4% 6%; display: flex; flex-direction: column; gap: 10%; }
.tmock__nav { display: flex; align-items: center; gap: 4%; font-size: clamp(9px, 1.2vw, 14px); } .tmock__nav b { margin-right: auto; letter-spacing: .08em; }
.tmock__nav i { width: 8%; height: 6px; border-radius: 3px; background: #C9DADF; } .tmock__nav em { font-style: normal; font-weight: 700; background: #0E7C86; color: #fff; padding: 1.2% 3%; border-radius: 99px; }
.tmock__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6%; align-items: center; flex: 1; }
.tmock__hero strong { font: 700 clamp(15px, 2.6vw, 34px)/1.08 var(--f-d); } .tmock__hero span { aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: linear-gradient(140deg, #8FD6D2, #0E7C86); }
.tunnel__info { position: absolute; inset: auto 0 34px 0; z-index: 3; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px; pointer-events: none; }
.tunnel__count { font: 500 13px/1 var(--f-m); color: var(--muted); padding-bottom: .5em; } .tunnel__count b { color: var(--accent-ink); font-weight: 500; }
.tunnel__title { font: 700 clamp(28px, 4.6vw, 72px)/1 var(--f-d); font-variation-settings: "wdth" 82; letter-spacing: -.03em; }
.tunnel__tag { font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: .7em; }
/* setas: andam para o projeto anterior/seguinte fazendo o mesmo percurso do scroll */
.tunnel__info { grid-template-columns: auto 1fr auto auto; }
.tunnel__nav { display: flex; gap: 10px; pointer-events: auto; }
.tnav { width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 500 20px/1 var(--f-b); cursor: pointer; transition: transform .2s var(--out), box-shadow .3s, background-color .3s, color .3s, opacity .3s; }
.tnav i { font-style: normal; display: inline-block; transition: transform .3s var(--out); }
.tnav:active { transform: scale(.94); }
.tnav:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .tnav:not(:disabled):hover { background: var(--mint); color: var(--on-mint); box-shadow: none; } .tnav[data-dir="1"]:not(:disabled):hover i { transform: translateX(3px); } .tnav[data-dir="-1"]:not(:disabled):hover i { transform: translateX(-3px); } }
.tcard__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; background: #141414; }

/* =========================================================
   PROCESSO — trilho do bug
   ========================================================= */
.trail { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); }
.trail__head { margin-bottom: clamp(20px, 3vw, 40px); }
.trail__map { position: relative; aspect-ratio: 1000 / 2200; }
.trail__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trail__svg--m { display: none; }
.trail__svg path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.trail__base { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 10; }
.trail__line { stroke: var(--mint); stroke-width: 4; filter: drop-shadow(0 0 10px rgba(110, 231, 183, .5)); }
.trail__bug { position: absolute; left: 0; top: 0; width: 58px; height: 68px; z-index: 2; filter: drop-shadow(0 12px 22px var(--shadow)); }
.stop { position: absolute; top: var(--y); width: 38%; transform: translateY(-50%); padding: 28px 30px 30px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); opacity: .35; scale: .96; transition: opacity .5s, scale .6s var(--out), box-shadow .5s; }
.stop--r { left: 38%; } .stop--l { right: 38%; }
.stop.is-on { opacity: 1; scale: 1; box-shadow: inset 0 0 0 1px var(--mint), 0 30px 70px -40px rgba(110, 231, 183, .5); }
.stop__n { display: inline-block; font: 800 clamp(44px, 5vw, 76px)/.8 var(--f-d); font-variation-settings: "wdth" 76; color: var(--line-2); transition: color .5s; margin-bottom: 14px; }
.stop.is-on .stop__n { color: var(--accent-ink); }
.stop h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 10px; } .stop p { color: var(--muted); font-size: 16px; }

/* =========================================================
   CLIENTES + TESTEMUNHOS
   ========================================================= */
.proof { padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 12vw, 170px); border-top: 1px solid var(--line); position: relative; }
/* marcas: logos brancos (transparentes); no tema claro passam a escuros */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0 clamp(70px, 9vw, 120px); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.brand { display: grid; place-items: center; aspect-ratio: 16 / 9; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 12%; position: relative; overflow: hidden; }
.brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 70%); opacity: 0; transition: opacity .5s var(--out); }
.brand img { position: relative; width: auto; height: auto; max-width: min(100%, 170px); max-height: clamp(30px, 4.4vw, 58px); opacity: .62; transition: opacity .35s, transform .6s var(--out); }
:root[data-theme="light"] .brand img { filter: invert(1) brightness(.35); }
@media (hover: hover) { .brand:hover img { opacity: 1; transform: scale(1.08); } .brand:hover::before { opacity: 1; } }
.proof__sub { margin-bottom: 8px; }
.clients li { border-bottom: 1px solid var(--line-2); } .clients li:first-child { border-top: 1px solid var(--line-2); }
.clients a { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 24px; padding: clamp(16px, 2vw, 28px) 0; transition: padding-left .5s var(--out), color .3s; }
.clients__name { font: 700 clamp(30px, 5.6vw, 88px)/1 var(--f-d); font-variation-settings: "wdth" 78; letter-spacing: -.035em; transition: font-variation-settings .5s var(--out); }
.clients__what { font: 500 12px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.clients .arr { font-size: 26px; justify-self: end; }
.clients__you { color: var(--accent-ink); }
@media (hover: hover) { .clients a:hover { padding-left: 22px; color: var(--accent-ink); } .clients a:hover .clients__name { font-variation-settings: "wdth" 100; } .clients a:hover .arr { transform: translate(4px, -4px); } }
.clients__peek { position: fixed; left: 0; top: 0; z-index: 90; width: 340px; aspect-ratio: 16 / 10; margin: -110px 0 0 30px; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; scale: .8; transition: opacity .3s, scale .4s var(--out); box-shadow: 0 30px 70px -20px var(--shadow); }
.clients__peek.is-on { opacity: 1; scale: 1; } .clients__peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (hover: none) { .clients__peek { display: none; } }

.quotes { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(20px, 4vw, 60px); margin-top: clamp(70px, 10vw, 140px); }
.quotes__mark { font: 800 clamp(140px, 18vw, 280px)/.7 var(--f-d); color: var(--accent-ink); }
.quotes__stage { display: grid; min-height: 9em; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(20px); transition: opacity .45s, transform .6s var(--out); pointer-events: none; }
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote p { font: 600 clamp(22px, 2.8vw, 40px)/1.25 var(--f-d); font-variation-settings: "wdth" 86; letter-spacing: -.02em; max-width: 30ch; }
.quote[data-placeholder] p { color: var(--dim); font-style: italic; }
.quotes__tabs { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.qtab { text-align: left; padding: 14px 20px; border-radius: 16px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .3s, background-color .3s, transform .2s var(--out); min-height: 44px; }
.qtab b { display: block; font-weight: 700; } .qtab small { color: var(--muted); font-size: 13px; }
.qtab.is-on { box-shadow: inset 0 0 0 2px var(--mint); background: var(--surface-2); } .qtab:active { transform: scale(.97); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__side { position: sticky; top: 120px; }
.qa { border-bottom: 1px solid var(--line-2); } .qa:first-child { border-top: 1px solid var(--line-2); }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 600 clamp(19px, 1.7vw, 24px)/1.3 var(--f-d); letter-spacing: -.01em; transition: color .25s; }
@media (hover: hover) { .qa__q:hover { color: var(--accent-ink); } }
.qa__q i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, transform .45s var(--out); }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .45s var(--out); }
.qa__q i::after { transform: rotate(90deg); }
.qa.is-open .qa__q i { background: var(--mint); color: var(--on-mint); transform: rotate(180deg); } .qa.is-open .qa__q i::after { transform: none; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--out); } .qa__a > div { overflow: hidden; }
.qa__a p { color: var(--muted); max-width: 60ch; padding: 0 60px 28px 0; opacity: 0; transition: opacity .35s; }
.qa.is-open .qa__a { grid-template-rows: 1fr; } .qa.is-open .qa__a p { opacity: 1; transition-delay: .1s; }

/* =========================================================
   FIM — o bug espreita
   ========================================================= */
.end { position: relative; padding-top: clamp(100px, 14vw, 200px); border-top: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.end__top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.end__title { font-size: clamp(44px, 9.4vw, 160px); font-weight: 700; line-height: .9; letter-spacing: -.045em; font-variation-settings: "wdth" 80; }
.end__title .kline--accent { text-align: center; }
.end .lead { margin-inline: auto; }
.end__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 40px; }
.end__bug { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 80px); height: clamp(170px, 26vw, 330px); }
.end__bug svg { width: min(560px, 78vw); height: auto; align-self: flex-start; overflow: visible; }
.bb-ant { transform-box: fill-box; } .bb-ant--l { transform-origin: 100% 100%; animation: antL 1.8s ease-in-out infinite alternate; } .bb-ant--r { transform-origin: 0 100%; animation: antR 1.8s ease-in-out infinite alternate; }
.bb-eye { transform-box: fill-box; transform-origin: center; animation: blink 4.4s infinite; }
/* rodapé: ligações para as páginas de cada distrito (SEO interno) */
.end__areas { position: relative; z-index: 2; margin-top: clamp(50px, 7vw, 90px); }
.end__areas p { font: 500 12px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.end__areas ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.end__areas a { color: var(--muted); font-size: 14px; line-height: 2; transition: color .25s; }
@media (hover: hover) { .end__areas a:hover { color: var(--accent-ink); } }
.end__bar { position: relative; background: var(--mint); color: var(--on-mint); }
.end__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 12px; font-size: 14px; font-weight: 600; }
.end__links { display: flex; flex-wrap: wrap; gap: 0 20px; } .end__links a, .end__row > span:first-child { padding: 10px 0; }
@media (hover: hover) { .end__links a:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- cookies ---------- */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 140; width: min(420px, calc(100vw - 32px)); padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -20px var(--shadow); font-size: 15px; color: var(--muted); }
.cookies[hidden] { display: none; } .cookies b { color: var(--ink); } .cookies .link { padding: 0; }
.cookies div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; } .cookies .btn { justify-content: center; padding: 0 10px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .hero__foot { grid-template-columns: 1fr; } .hero__scroll { display: none; }
  .mani__grid { grid-template-columns: 1fr; } .forge { position: static; justify-self: center; width: min(280px, 70vw); margin-top: 20px; }
  .mani__facts { grid-template-columns: 1fr 1fr; gap: 10px 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 36px; } .faq__side { position: static; }
}
@media (max-width: 820px) {
  .nav__cta, .menu-btn__label { display: none; } .menu-btn { width: 48px; padding: 0; }
  .hero__place { display: none; }
  .hs { opacity: .55; }
  .cmp { aspect-ratio: 4 / 3; }
  /* painéis em acordeão vertical */
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; min-width: 0; transition: none; }
  .panel__tab { position: relative; inset: auto; width: 100%; flex-direction: row; padding: 22px 20px; min-height: 68px; }
  .panel__name { writing-mode: horizontal-tb; transform: none; font-size: 21px; }
  .panel.is-open .panel__tab { opacity: 1; pointer-events: auto; }
  .panel__body { position: static; width: auto; display: none; grid-template-columns: 1fr; gap: 22px; padding: 0 20px 22px; }
  .panel.is-open .panel__body { display: grid; animation: fadeUp .5s var(--out); }
  .panel__text h3 { display: none; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
  .tunnel__info { grid-template-columns: 1fr; gap: 8px; } .tunnel__tag { padding: 0; }
  .tunnel__info { grid-template-columns: 1fr auto; } .tunnel__count, .tunnel__title, .tunnel__tag { grid-column: 1; } .tunnel__nav { grid-column: 2; grid-row: 1 / span 3; align-self: end; } .tnav { width: 46px; height: 46px; }
  .tunnel__head { inset: 84px 0 auto 0; }
  /* trilho estreito à esquerda */
  .trail__map { aspect-ratio: 300 / 2200; }
  .trail__svg--d { display: none; } .trail__svg--m { display: block; }
  .trail__bug { width: 40px; height: 47px; }
  .stop, .stop--r, .stop--l { left: 30%; right: 0; width: auto; padding: 20px 20px 22px; }
  .stop p { font-size: 15px; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .clients a { grid-template-columns: 1fr 30px; } .clients__what { display: none; }
  .quotes { grid-template-columns: 1fr; } .quotes__mark { display: none; } .quotes__tabs { grid-column: 1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__title { font-size: 15.4vw; }
  .hero { justify-content: flex-end; gap: 30px; } .hero__meta { margin-bottom: auto; }
  .chip-btn { display: none; } .chip-btn--lang { display: inline-flex; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .mani__facts { grid-template-columns: 1fr; }
  .qa__a p { padding-right: 0; }
  .end__row { flex-direction: column; }
  .cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* =========================================================
   REDUCED MOTION — tudo visível e parado
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .buddy { display: none !important; }
  .js .mani__text .w { opacity: 1; }
  .tunnel { height: auto; padding: 120px 0 60px; } .tunnel__pin { position: static; height: auto; overflow: visible; }
  .tunnel__head, .tunnel__info { position: static; } .tunnel__info { display: none; }
  .tunnel__stage { position: static; perspective: none; } .tunnel__world { position: static; display: grid; gap: 24px; padding: 30px var(--g); justify-items: center; }
  .tcard { position: static; transform: none !important; opacity: 1 !important; }
  .trail__bug { display: none; } .stop { opacity: 1; scale: 1; }
  .forge__pieces { display: none; } .js .forge__logo { opacity: 1; }
}
