/* Neocubo · conceito A · a rede */
/* Montserrat variável servida daqui (antes vinha do Google Fonts): latin cobre o pt-BR, latin-ext só baixa se aparecer caractere dele */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 113.4%; ascent-override: 85.8%; descent-override: 22.2%; line-gap-override: 0%; }
:root {
  --bg: #040404;
  /* cinzas da escala do brandkit (tema escuro) */
  --s1: #0A0A0A;
  --s2: #1A1A1A;
  --s3: #1A1A1A;
  --line: #505050;
  --soft: rgba(255, 255, 255, .08);
  --t1: #fff;
  --t2: #BFBFBF;
  --t3: #aaaaaa;
  --t4: #8a8a8a;
  --c1: #01D7E1; --c2: #e4f96e; --c3: #FF0053; /* ciano e pink-red no valor exato da marca */ --c4: #fb7200; --c5: #4f7bff; --c6: #b388ff;
  --ease: cubic-bezier(.23, 1, .32, 1);
  /* chanfro de 45 graus em dois cantos opostos: a assinatura angular do brandkit, eco do hexágono do logo */
  --cut: 8px;
  --chamfer: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  --wrapw: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --hdr: 72px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--t2);
  font-family: Montserrat, "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 600; color: var(--t1); }
::selection { background: var(--c1); color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
#nc-sym path { stroke-width: var(--sw, 1.6); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrapw)); margin-inline: auto; position: relative; }
main, .ftr { position: relative; z-index: 1; }

/* ---------- tipografia ---------- */
.eyebrow, .sec-idx, .plat-label, .sub-t, .case-k, .svc-cols h4, .contact-list span, .ph-label, .stat dt {
  font-size: 12px; letter-spacing: .24em; text-transform: lowercase; color: var(--t3); font-weight: 500; line-height: 1.4;
}
.sec-idx { display: flex; align-items: center; gap: 12px; color: var(--t4); margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.sec-idx::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--t3); }
.sec-idx::after { content: ""; width: 40px; height: 1px; background: var(--line); }
.h2 {
  font-size: clamp(32px, 4.1vw, 60px); font-weight: 300; letter-spacing: .14em; line-height: 1.08;
  text-transform: lowercase; color: var(--t1); margin-left: -.04em;
}
.sec-intro, .sec-text { color: var(--t3); font-size: clamp(16px, 1.25vw, 18px); max-width: 36em; }
.sec-intro { margin-top: 18px; }
.sec { padding-block: clamp(56px, 5.6vw, 80px); position: relative; }
@media (max-width: 760px) { .sec { padding-block: 56px; } }
.sec::before { content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 2 * var(--gut), var(--wrapw)); transform: translateX(-50%); height: 1px; background: var(--soft); }
.sec-head { margin-bottom: clamp(32px, 3.4vw, 48px); }
@media (max-width: 760px) { .sec-head { margin-bottom: 32px; } }
.sec-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.sec-head-split .sec-text { justify-self: end; }
@media (max-width: 900px) { .sec-head-split { grid-template-columns: 1fr; } .sec-head-split .sec-text { justify-self: start; } }

/* ---------- botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; clip-path: var(--chamfer); font-size: 15px; font-weight: 500; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg[aria-hidden] { transform: translateX(4px); }
.btn-line:hover svg[aria-hidden] { transform: none; }
.btn:active { transform: scale(.97); }
.btn-solid { background: #fff; color: #040404; }
.btn-line { background: rgba(255,255,255,.09); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.16); }
.btn-line svg { color: #25d366; }
.btn-sm { --cut: 6px; min-height: 40px; padding: 0 18px; font-size: 13px; gap: 10px; }
.btn .dot { width: 6px; height: 6px; background: var(--c1); }
/* o clip-path corta o outline: nos chips chanfrados o foco vira um contorno interno */
.btn:focus-visible, .hero-svcs a:focus-visible, .car-btn:focus-visible, .wa-float:focus-visible, .pause:focus-visible, .mbar-wa:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #fff; }
.btn-solid:focus-visible { box-shadow: inset 0 0 0 2px #040404, inset 0 0 0 4px #fff; }

/* ---------- cabeçalho ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(4,4,4,.92); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--soft); }
.hdr.menu-open { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.hdr-in { width: min(100% - 2 * var(--gut), var(--wrapw)); margin-inline: auto; height: var(--hdr); display: flex; align-items: center; gap: 32px; }
/* proporção do logo horizontal do brandkit: o "n" tem a altura da aresta vertical do hexágono e começa na mesma linha */
.brand { --s: 30px; display: flex; align-items: center; gap: calc(var(--s) * .227); margin-right: auto; height: 44px; }
.brand-sym { width: var(--s); height: var(--s); color: #fff; --sw: 2.2; transition: transform .7s var(--ease); }
.brand:hover .brand-sym { transform: rotate(60deg); }
.brand-word { height: calc(var(--s) * .668); width: auto; aspect-ratio: 916 / 132; color: #fff; transform: translateY(calc(var(--s) * -.096)); } /* wordmark do brandkit */
.nav ul { display: flex; gap: 6px; }
.nav a { position: relative; display: block; padding: 10px 12px; font-size: 13px; letter-spacing: .08em; color: var(--t3); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; background: var(--ac, #fff); transform: scale(0); transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-on { color: #fff; }
.nav a.is-on::after { transform: scale(1); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .45s var(--ease); }
.menu-btn i:first-of-type { top: 18px; } .menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.menu-m { position: fixed; inset: 0; z-index: -1; background: var(--bg); padding: calc(var(--hdr) + 32px) var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; transition: opacity .4s var(--ease); }
.menu-m.is-open { opacity: 1; }
.menu-m li { border-bottom: 1px solid var(--soft); overflow: hidden; }
.menu-m li a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font-size: 28px; font-weight: 300; letter-spacing: .06em; color: #fff; transform: translateY(100%); transition: transform .6s var(--ease); }
.menu-m li a span { font-size: 11px; letter-spacing: .2em; color: var(--t4); }
.menu-m.is-open li a { transform: none; }
.menu-m.is-open li:nth-child(2) a { transition-delay: .03s; } .menu-m.is-open li:nth-child(3) a { transition-delay: .06s; }
.menu-m.is-open li:nth-child(4) a { transition-delay: .09s; } .menu-m.is-open li:nth-child(5) a { transition-delay: .12s; }
.menu-m-cta { display: grid; gap: 10px; margin-top: 32px; }
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr-in { gap: 10px; }
}
@media (max-width: 420px) { .hdr-cta { padding: 0 14px; font-size: 12.5px; } .hdr-cta .dot { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow-x: clip; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: var(--hdr); }
.hero-cube { position: absolute; top: 0; right: 0; width: 56%; height: 100%; pointer-events: none; }
.cube-fallback { position: absolute; left: 50%; top: 50%; width: min(64%, 480px); aspect-ratio: 1; transform: translate(-50%, -50%); color: rgba(255,255,255,.34); --sw: .7; }
.cube-fallback { transition: opacity .9s var(--ease); }
.c2d .cube-fallback { display: none; }
.gl-on .cube-fallback { opacity: 0; }
@media (min-width: 960px) { .hero-cube .cube-fallback { width: min(76%, 640px); } }
.hero-cube canvas, .svc-cube canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { align-self: center; padding-block: 28px 36px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.pulse { position: relative; width: 7px; height: 7px; background: var(--c1); }
.pulse::after { content: ""; position: absolute; inset: -5px; border: 1px solid currentColor; color: inherit; opacity: 0; animation: ping 2.4s var(--ease) infinite; border-color: rgba(255,255,255,.5); }
.h1 { font-size: clamp(40px, 5.5vw, 82px); font-weight: 300; line-height: 1.0; letter-spacing: -.035em; color: #fff; max-width: 11.5em; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.h1 .ln > span { display: inline-block; }
.h1 b { font-weight: 700; }
.h1-node { display: inline-block; width: .15em; height: .15em; margin-left: .08em; background: var(--c1); vertical-align: baseline; }
.hero-lead { margin: 24px 0 36px; max-width: 32em; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--t3); line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; font-size: 13.5px; color: var(--t3); letter-spacing: .02em; }
.proof-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; transition: color .3s; }
.proof-badge:hover { color: #fff; }
.proof-badge img { width: 34px; height: auto; border-radius: 4px; }
.proof-sep { width: 5px; height: 5px; background: var(--line); }
.hero-foot { position: relative; isolation: isolate; display: flex; align-items: center; gap: 28px; padding: 22px 0 26px; border-top: 1px solid var(--soft); }
/* faixa opaca de ponta a ponta: o cubo, que viaja atrás do conteúdo ao rolar, passa por baixo dela */
.hero-foot::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--bg); }
.plat-label { white-space: nowrap; color: var(--t3); font-size: 11px; }
.plats { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px); flex-wrap: wrap; flex: 1; }
.plats li { display: flex; align-items: center; justify-content: center; min-height: 34px; }
.plats svg { color: #fff; opacity: .78; transition: opacity .3s; }
.plats li:hover svg { opacity: 1; }

/* entrada do hero: texto primeiro, rápido */
.js .hero .ln > span { transform: translateY(104%); animation: rise .8s var(--ease) forwards; }
.js .hero .ln:nth-child(2) > span { animation-delay: .06s; }
.js .hero .ln:nth-child(3) > span { animation-delay: .12s; }
.js .hero-eyebrow, .js .hero-lead, .js .hero-ctas, .js .proof, .js .hero-foot { opacity: 0; transform: translateY(14px); animation: fadeup .7s var(--ease) forwards; }
.js .hero-eyebrow { animation-delay: .02s; } .js .hero-lead { animation-delay: .22s; } .js .hero-ctas { animation-delay: .3s; }
.js .proof { animation-delay: .38s; } .js .hero-foot { animation-delay: .46s; }

@media (max-width: 900px) {
  .hero-cube { width: 330px; height: 330px; top: 70px; right: -150px; opacity: .3; }
  .ey-sep { display: none; }
  .ey-since { display: block; }
  .proof-sep { display: none; }
  .hero-in { padding-block: 48px 32px; }
  .h1 { max-width: 9.5em; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .plats { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 6px 10px; }
  .plats svg { transform: scale(.9); }
}

/* ---------- o que fazemos ---------- */
.svc { position: relative; }
.svc::before { content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 2 * var(--gut), var(--wrapw)); transform: translateX(-50%); height: 1px; background: var(--soft); }
.svc-pin { padding-block: clamp(56px, 5.6vw, 80px); }
.svc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(40px, 5vw, 80px); align-items: center; }
.svc-stage { position: relative; height: min(70svh, 620px); }
.svc-cube { position: absolute; inset: 0 0 56px; }
.svc-count { position: absolute; left: 0; bottom: 0; display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.svc-count-n { font-size: 44px; font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; }
.svc-count-of { font-size: 12px; letter-spacing: .2em; color: var(--t4); }
.svc-count-name { margin-left: 10px; font-size: 12px; letter-spacing: .24em; color: var(--sc, var(--c1)); transition: color .4s; }
.svc-rail { position: absolute; left: -26px; top: 12%; bottom: calc(56px + 12%); width: 7px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.svc-rail::before { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.svc-rail li { position: relative; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--line); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.svc-rail li.is-on { background: var(--sc); border-color: var(--sc); transform: scale(1.4); }
.svc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 34px; border-top: 1px solid var(--soft); }
.svc-tabs [role="tab"] { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px 0 0; text-align: left; font-size: 14px; color: var(--t3); border-bottom: 1px solid var(--soft); transition: color .3s; }
.svc-tabs [role="tab"]:hover { color: #fff; }
.svc-tabs [aria-selected="true"] { color: #fff; }
.tdot { width: 8px; height: 8px; flex: none; border: 1px solid var(--c); transition: background-color .3s, box-shadow .3s; }
[aria-selected="true"] .tdot, [role="tab"]:hover .tdot { background: var(--c); }
.tbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
[aria-selected="true"] .tbar { transform: scaleX(var(--p, 1)); }
.svc-tabs [role="tab"]:focus-visible { outline-color: var(--c); }
.svc-panels { display: grid; }
.svc-panel { grid-area: 1 / 1; align-self: start; }
.js .svc-panel { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .28s var(--ease), transform .55s var(--ease), visibility 0s linear .3s; }
.js .svc-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease) .06s, transform .6s var(--ease) .06s, visibility 0s; }
.svc-name { display: flex; align-items: baseline; gap: 14px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; letter-spacing: .04em; color: #fff; line-height: 1.15; }
.svc-n { font-size: 12px; letter-spacing: .2em; color: var(--c); font-weight: 500; font-variant-numeric: tabular-nums; }
.svc-lead { margin: 12px 0 26px; font-size: clamp(17px, 1.45vw, 20px); color: var(--t2); font-weight: 400; max-width: 30em; line-height: 1.5; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; font-size: 14.5px; color: var(--t3); line-height: 1.6; }
.svc-cols h4 { color: var(--c); font-size: 11px; margin-bottom: 12px; }
.svc-cols p + h4 { margin-top: 20px; }
.nodes { position: relative; }
.nodes li { position: relative; padding: 0 0 9px 22px; }
.nodes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border: 1px solid var(--c); background: var(--bg); z-index: 1; }
.nodes li:not(:last-child)::after { content: ""; position: absolute; left: 3px; top: calc(.62em + 7px); bottom: calc(-.62em + 0px); width: 1px; background: color-mix(in srgb, var(--c) 35%, transparent); }
html:not(.js) .svc-tabs, html:not(.js) .svc-count, html:not(.js) .svc-rail { display: none; }
html:not(.js) .svc-panels { display: grid; gap: 64px; }
html:not(.js) .svc-panel { grid-area: auto; }

/* travada no desktop */
.svc.is-pinned { height: 250svh; }
.svc.is-pinned .svc-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 8px) 0 24px; }
.svc.is-pinned .svc-grid { width: min(100% - 2 * var(--gut), var(--wrapw)); }
.svc.is-pinned .sec-head { margin-bottom: 0; }
@media (max-height: 820px) {
  .svc.is-pinned .h2 { font-size: clamp(30px, 3.4vw, 48px); }
  .svc.is-pinned .svc-tabs { margin: 22px 0 24px; }
  .svc.is-pinned .svc-tabs [role="tab"] { min-height: 44px; }
  .svc.is-pinned .svc-cols { font-size: 13.5px; }
}

@media (max-width: 959px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-body { display: contents; }
  .svc-body .sec-head { order: 1; margin-bottom: 8px; }
  .svc-stage { order: 2; height: 300px; margin: 16px 0 0; }
  .svc-cube { inset: 0 0 48px; }
  .svc-rail { display: none; }
  .svc-count-n { font-size: 34px; }
  .svc-tabs { order: 3; grid-template-columns: 1fr 1fr; margin: 20px 0 28px; column-gap: 16px; }
  .svc-panels { order: 4; }
  .svc-cols { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- quem atendemos ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--soft); border-left: 1px solid var(--soft); }
.logos li { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(96px, 8.8vw, 128px); border-right: 1px solid var(--soft); border-bottom: 1px solid var(--soft); }
.logos li::before { content: ""; position: absolute; left: -3px; top: -3px; width: 5px; height: 5px; background: var(--line); z-index: 1; transition: background-color .3s, box-shadow .3s; }
.logos li::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), transparent 70%); opacity: 0; transition: opacity .4s var(--ease); }
.logos li:hover::after { opacity: 1; }
.logos li:hover::before { background: #fff; }
.logos img { max-width: 76%; height: auto; opacity: calc(var(--lo, 1) * .82); transform: scale(1.12); transition: transform .5s var(--ease); }
.logos li:hover img { transform: scale(1.2); }
.js .no-gl-logos .logos img { opacity: 0; transform: scale(1.12) translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .no-gl-logos .logos.in img { opacity: .82; transform: scale(1.12); }
.js .no-gl-logos .logos.in li:nth-child(6n+2) img { transition-delay: .03s; } .js .no-gl-logos .logos.in li:nth-child(6n+3) img { transition-delay: .06s; }
.js .no-gl-logos .logos.in li:nth-child(6n+4) img { transition-delay: .09s; } .js .no-gl-logos .logos.in li:nth-child(6n+5) img { transition-delay: .12s; }
.js .no-gl-logos .logos.in li:nth-child(6n) img { transition-delay: .15s; }
@media (max-width: 760px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos li { height: 92px; }
  .logos img { transform: scale(1); }
  .js .no-gl-logos .logos.in img { transform: none; }
  .logos li:hover img { transform: scale(1.06); }
}

/* ---------- portfólio ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.case { display: flex; flex-direction: column; }
.js .case { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .case:nth-child(2) { transition-delay: .1s; }
.js .case:nth-child(3) { transition-delay: .2s; }
.js .case.in { opacity: 1; transform: none; }
.frames { position: relative; padding: 0 12% 14% 0; }
.browser { background: var(--s2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); transition: transform .6s var(--ease), border-color .4s; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--s3); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3a; }
.browser-bar span { margin-left: 10px; font-size: 10.5px; letter-spacing: .14em; color: var(--t4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 390 / 844; border: 4px solid #232427; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 50px -16px rgba(0,0,0,.95), 0 0 0 1px #3a3a3a; transition: transform .7s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case:hover .browser { transform: translateY(-6px); border-color: #3c3c3c; }
.case:hover .phone { transform: translateY(-14px) rotate(-1.5deg); }
.case-body { margin-top: 26px; }
.case-seg { font-size: 12px; letter-spacing: .18em; color: var(--t4); }
.case h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; letter-spacing: -.01em; color: var(--t1); }
.case-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.dna { flex: none; display: flex; flex-direction: column; }
.dna > span { display: flex; gap: 2px; }
.dna > span + span { margin: -7px 0 0 11px; }
.dna svg { width: 20px; height: 23px; --c: #26272b; transition: transform .45s var(--ease); }
.dna svg.on { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 60%, transparent)); }
.case:hover .dna svg.on { transform: translateY(-5px); }
.case:hover .dna span:first-child svg:nth-child(2) { transition-delay: 40ms; }
.case:hover .dna span:first-child svg:nth-child(3) { transition-delay: 80ms; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; color: #cfcfcf; border: 1px solid var(--line); padding: 4px 10px 4px 8px; }
.tags li::before { content: ""; width: 6px; height: 6px; background: var(--c); }
/* celular: só a moldura do celular, ao lado do texto e do DNA */
@media (max-width: 899px) {
  .cases { grid-template-columns: 1fr; gap: 28px; }
  .case { display: grid; grid-template-columns: 30% 1fr; gap: 18px; align-items: start; }
  .frames { padding: 0; }
  .browser { display: none; }
  .phone { position: static; width: 100%; border-width: 3px; border-radius: 14px; }
  .case:hover .phone { transform: none; }
  .case-body { margin-top: 0; }
  .case-title { flex-direction: column; align-items: flex-start; gap: 10px; }
  .case h3 { font-size: 20px; }
  .case-seg { font-size: 11px; letter-spacing: .12em; }
  .tags { gap: 6px; margin-top: 12px; }
  .tags li { font-size: 11px; padding: 3px 8px 3px 6px; }
}

/* ---------- como trabalhamos ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps::before { content: ""; position: absolute; left: 0; right: 80px; top: 6px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; right: 80px; top: 6px; height: 1px; background: linear-gradient(90deg, var(--c1), var(--c5), var(--c3), var(--c2)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.steps.in::after { transform: scaleX(1); }
.steps li { position: relative; padding-top: 44px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border: 1px solid var(--line); background: var(--bg); z-index: 1; transition: border-color .4s, background-color .4s, box-shadow .4s; }
.steps.in li::before { border-color: var(--c); background: var(--c); }
.steps.in li:nth-child(2)::before { transition-delay: .2s; } .steps.in li:nth-child(3)::before { transition-delay: .4s; } .steps.in li:nth-child(4)::before { transition-delay: .6s; }
.step-n { font-size: 12px; letter-spacing: .2em; color: var(--t4); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 10px 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 300; color: #fff; letter-spacing: .02em; }
.steps p { color: var(--t3); font-size: 15px; max-width: 18em; }
.steps .pkt { position: absolute; top: 3px; left: 0; width: 7px; height: 7px; background: #fff; opacity: 0; }
.steps.in .pkt { animation: travel 4.2s var(--ease) 1.1s infinite; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 36px; }
  .steps::before, .steps::after { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .steps::after { background: linear-gradient(180deg, var(--c1), var(--c5), var(--c3), var(--c2)); transform: scaleY(0); transform-origin: top; }
  .steps.in::after { transform: scaleY(1); }
  .steps li { padding-top: 0; }
  .steps li::before { left: -36px; top: 4px; }
  .steps .pkt { display: none; }
}

/* ---------- quem somos ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr 1.25fr; border-top: 1px solid var(--soft); }
.stat { padding: 30px 32px 34px 0; border-right: 1px solid var(--soft); }
.stat + .stat { padding-left: 32px; }
.stat:last-child { border-right: 0; }
.stat dt { color: var(--t3); }
.stat .num { display: inline-flex; margin-top: 14px; font-size: clamp(60px, 7vw, 108px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat small { display: block; margin-top: 14px; font-size: 13.5px; color: var(--t3); max-width: 22em; line-height: 1.5; }
.num .dg { display: inline-block; height: 1em; overflow: hidden; }
.num .dg > span { display: flex; flex-direction: column; transition: transform .7s var(--ease); }
.num .dg > span > span { height: 1em; line-height: 1; }
.sub-t { margin: clamp(64px, 8vw, 110px) 0 28px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.sub-t::after { content: ""; flex: 1; height: 1px; background: var(--soft); }
.team { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.team .ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: var(--s1); }
.team img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.04); transition: transform .9s var(--ease), filter .5s; }
.team .ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0); border-radius: 3px; transition: border-color .5s var(--ease), inset .5s var(--ease); }
.team li:hover img { transform: scale(1.04); }
.team li:hover .ph::after { border-color: rgba(255,255,255,.35); inset: 8px; }
.team figcaption { margin-top: 14px; display: grid; gap: 8px; justify-items: start; }
.team figcaption b { font-size: 15px; font-weight: 500; letter-spacing: .01em; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0 26px; border-right: 0; border-bottom: 1px solid var(--soft); }
  .team { grid-template-columns: repeat(3, 1fr); gap: 26px 10px; }
  .team .ph { aspect-ratio: 1; }
  .team figcaption b { font-size: 13px; line-height: 1.3; }
}

/* ---------- depoimentos ---------- */
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.car-ctrl { display: flex; gap: 8px; }
.car-btn { --cut: 7px; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255,255,255,.08); clip-path: var(--chamfer); transition: background-color .3s, opacity .3s; }
.car-btn svg { width: 18px; height: 18px; }
.car-prev svg { transform: rotate(180deg); }
.car-btn:hover:not(:disabled) { background: rgba(255,255,255,.16); }
.car-btn:disabled { opacity: .3; cursor: default; }
html:not(.js) .car-ctrl { display: none; }
.car { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  --cg: max(var(--gut), calc((100vw - var(--wrapw)) / 2));
  scroll-padding-inline: var(--cg); padding-inline: var(--cg); }
.car::-webkit-scrollbar { display: none; }
.car:focus-visible { outline-offset: -2px; border-radius: 0; }
.car-track { display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; }
.quote { scroll-snap-align: start; flex: none; width: min(440px, 82vw); min-height: 340px; display: flex; flex-direction: column; gap: 22px; background: var(--s1); border: 1px solid var(--line); padding: clamp(26px, 2.6vw, 38px); transition: border-color .4s var(--ease); }
.quote::before { content: "\201C"; display: block; height: 34px; margin-bottom: -6px; font-size: 84px; line-height: .9; font-weight: 700; color: var(--c); }
.quote:hover { border-color: #444; }
.quote blockquote p { font-size: clamp(18px, 1.45vw, 21px); font-weight: 300; line-height: 1.55; color: var(--t1); }
.who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 14px; }
.who img { width: 48px; height: 48px; --cut: 8px; clip-path: var(--chamfer); object-fit: cover; filter: grayscale(1); }
.who b { display: block; font-size: 14px; font-weight: 600; }
.who span { display: block; font-size: 12.5px; letter-spacing: .06em; color: var(--t3); }
.car-prog { height: 1px; background: #2a2a2a; margin-top: 28px; position: relative; overflow: hidden; }
.car-prog i { position: absolute; inset: 0 auto 0 0; width: 30%; background: #fff; transition: transform .3s var(--ease), width .3s; }
@media (max-width: 760px) {
  .car-btn { width: 44px; height: 44px; }
  .quote { min-height: 300px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--hdr) + 32px); }
.faq-wa { margin-top: 36px; }
.acc details { border-bottom: 1px solid var(--soft); }
.acc details:first-child { border-top: 1px solid var(--soft); }
.acc summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 24px 28px; font-size: clamp(17px, 1.4vw, 20px); cursor: pointer; list-style: none; min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: 1em; font-weight: 400; color: #fff; line-height: 1.4; transition: transform .45s var(--ease); }
@media (hover: hover) { .acc details:not([open]) summary:hover h3 { transform: translateX(6px); } }
.acc summary i { position: relative; width: 14px; height: 14px; flex: none; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 1px; background: #fff; transition: transform .45s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0deg); }
.acc details[open] summary i::before { transform: rotate(180deg); }
.acc-b { overflow: hidden; }
.acc-b p { padding: 0 48px 26px 0; color: var(--t3); max-width: 44em; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; margin-bottom: 8px; }
  .faq-wa { margin-top: 26px; }
  .acc-b p { padding-right: 0; }
}

/* ---------- contato ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.contact-lead { margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); color: var(--t2); max-width: 24em; }
.contact-list { margin-top: 40px; display: grid; }
.contact-list li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--soft); }
.contact-list span { font-size: 11px; color: var(--t4); }
.contact-list a, .contact-list address { font-style: normal; font-size: 17px; color: #fff; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-list address { font-size: 15px; color: var(--t2); }
.contact-list a:hover { background-size: 100% 1px; }
.form { position: relative; padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--soft); border-radius: 6px; background: rgba(14,14,14,.72); display: grid; gap: 26px; }
.form::before { content: ""; position: absolute; left: -3px; top: -3px; width: 5px; height: 5px; background: #fff; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; color: var(--t3); letter-spacing: .02em; padding: 0; transition: color .3s; }
.field label i { font-style: normal; color: var(--t4); margin-left: 2px; }
.field label em { font-style: normal; color: var(--t4); }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: #fff; font: inherit; font-size: 17px; outline: none; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.field input::placeholder { color: #555; }
.field input:focus, .field textarea:focus { border-bottom-color: #fff; box-shadow: 0 1px 0 #fff; }
.field:focus-within > label { color: #fff; }
.field.is-bad input { border-bottom-color: var(--c3); }
.field.is-bad label { color: var(--c3); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opts span { --cut: 7px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: rgba(255,255,255,.07); clip-path: var(--chamfer); font-size: 14px; color: var(--t2); transition: background-color .3s, color .3s; cursor: pointer; }
.opts label:hover span { background: rgba(255,255,255,.13); }
.opts input:checked + span { background: #fff; color: #040404; }
.opts input:focus-visible + span { box-shadow: inset 0 0 0 2px #fff; }
.opts input:checked:focus-visible + span { box-shadow: inset 0 0 0 2px #040404, inset 0 0 0 4px #fff; }
.f-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.f-err { color: var(--c3); font-size: 14px; }
.f-fail a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending button[type="submit"] { opacity: .6; cursor: progress; }
.f-ok { display: grid; justify-items: start; gap: 10px; padding: 24px 0; outline: none; }
.f-ok-sym { width: 72px; height: 72px; color: #fff; --sw: 1.2; margin-bottom: 12px; }
.f-ok-sym { animation: spin-in 1s var(--ease); }
.f-ok-t { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; color: #fff; }
.f-ok a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form.is-sent > :not(.f-ok) { display: none; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .f-foot .btn { width: 100%; }
}

/* ---------- rodapé ---------- */
.ftr { padding: clamp(90px, 10vw, 140px) 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--soft); overflow: hidden; }
.ftr-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ftr-cta { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(26px, 3.2vw, 46px); font-weight: 300; color: #fff; letter-spacing: -.01em; background: linear-gradient(var(--c1), var(--c1)) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size .7s var(--ease); }
.ftr-cta svg { width: .8em; height: .8em; transition: transform .5s var(--ease); }
.ftr-cta:hover { background-size: 100% 2px; }
.ftr-cta:hover svg { transform: translateX(8px); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ftr-nav a { font-size: 13px; letter-spacing: .08em; color: var(--t3); padding: 10px 0; transition: color .3s; }
.ftr-nav a:hover { color: #fff; }
.ftr-word { display: flex; align-items: center; gap: .227em; margin: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 64px); font-size: calc(min(100vw - 2 * var(--gut), var(--wrapw)) / 5.9); line-height: .9; color: #fff; white-space: nowrap; }
.ftr-word svg { width: 1em; height: 1em; flex: none; --sw: .9; color: #fff; }
.ftr-word .ftr-wsvg { width: auto; height: .668em; aspect-ratio: 916 / 132; transform: translateY(-.096em); } /* wordmark do brandkit */
.ftr-bot { display: flex; align-items: center; gap: 18px 32px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--soft); font-size: 13px; color: var(--t4); }
.ftr-bot a:hover { color: #fff; }
.ftr-badge img { width: 54px; height: auto; border-radius: 6px; }
.ftr-btc { height: 22px; width: auto; opacity: .75; filter: invert(1); }
.ftr-bot p { margin-left: auto; margin-right: 88px; }
.ftr-bot > a:not(.ftr-badge) { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- flutuantes ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 0; height: 48px; padding: 0 12px; --cut: 8px; clip-path: var(--chamfer); background: #1a1a1a; color: #25d366; transition: background-color .3s, gap .5s var(--ease), transform .3s var(--ease), opacity .3s; }
.wa-float svg { width: 24px; height: 24px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; color: #fff; font-size: 14px; font-weight: 500; transition: max-width .5s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; background: #232323; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 180px; }
.pause-fx { position: fixed; left: max(14px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; }
.pause-hdr { display: none !important; }
.pause { display: flex; align-items: center; gap: 0; height: 40px; min-width: 40px; padding: 0 14px; --cut: 7px; clip-path: var(--chamfer); background: rgba(30,30,30,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; letter-spacing: .06em; color: var(--t3); transition: color .3s, background-color .3s, gap .5s var(--ease); }
.pause:hover, .pause:focus-visible { color: #fff; background: rgba(44,44,44,.92); gap: 10px; }
.pause-t { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.pause:hover .pause-t, .pause:focus-visible .pause-t { max-width: 160px; }
.pause-i { position: relative; width: 10px; height: 10px; }
.pause-i::before, .pause-i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor; border-radius: 1px; }
.pause-i::before { left: 1px; } .pause-i::after { right: 1px; }
.is-paused .pause-i::before { left: 1px; width: 0; height: 0; background: none; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; border-radius: 0; }
.is-paused .pause-i::after { display: none; }
@media (max-width: 760px) {
  .pause-fx { display: none !important; }
  .pause-hdr { display: flex !important; width: 44px; height: 44px; padding: 0; justify-content: center; flex: none; background: transparent; border-color: transparent; }
  .ftr { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .ftr-bot p { margin-right: 0; }
  .hdr-cta { min-height: 44px; }
  .ftr-cta { font-size: clamp(20px, 5.6vw, 46px); gap: 10px; }
  .hero-foot { padding-bottom: 26px; }
  .pause:hover, .pause:focus-visible { gap: 0; }
  .pause .pause-t, .pause:hover .pause-t { position: absolute; width: 1px; height: 1px; max-width: none; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- canvas global do 3D ---------- */
.gl-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); }
.gl-canvas.is-on { opacity: 1; }

/* ---------- revelar ao rolar ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fadeup { to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@keyframes travel { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 70% { left: calc(100% - 83px); opacity: 1; } 76%, 100% { left: calc(100% - 83px); opacity: 0; } }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.is-paused .btn .dot, .is-paused .pulse, .is-paused .pulse::after, .is-paused .h1-node, .is-paused .wa-float::after, .is-paused .steps .pkt { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv, .js .case { opacity: 1; transform: none; }
}

/* ---------- rodada 2 ---------- */
body:has(.hdr.menu-open) .wa-float, body:has(.hdr.menu-open) .pause-fx { opacity: 0; pointer-events: none; }
.wa-hide .wa-float { transform: translateY(120%); opacity: 0; pointer-events: none; }
@media (max-width: 380px) { .hdr-cta { display: none; } }
@media (max-width: 760px) { .hdr-in { gap: 8px; } .brand { --s: 22px; } .hdr-cta { padding: 0 13px; font-size: 12px; } .contact-list a { min-height: 44px; display: inline-flex; align-items: center; } }
.contact-list a { min-height: 44px; display: inline-flex; align-items: center; }

/* sem JS */
html:not(.js) .hdr { background: #040404; }
html:not(.js) .pause { display: none !important; }
html:not(.js) .svc-grid { align-items: start; }
html:not(.js) .svc-stage { position: sticky; top: 100px; }

/* hero: os 6 serviços já no primeiro olhar */
.hero-svcs { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 26px; max-width: 640px; }
.hero-svcs a { --cut: 6px; display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 14px 0 12px; background: rgba(255,255,255,.07); clip-path: var(--chamfer); font-size: 13px; color: var(--t2); letter-spacing: .02em; transition: color .3s, background-color .3s; }
.hero-svcs a::before { content: ""; width: 6px; height: 6px; background: var(--c); transition: transform .4s var(--ease); }
.hero-svcs a:hover, .hero-svcs a:focus-visible { color: #fff; background: color-mix(in srgb, var(--c) 16%, rgba(255,255,255,.05)); }
.hero-svcs a:hover::before { transform: rotate(45deg); }
.hero-svcs a:focus-visible { box-shadow: inset 0 0 0 2px var(--c); }
.js .hero-svcs { opacity: 0; transform: translateY(14px); animation: fadeup .7s var(--ease) .26s forwards; }
@media (max-width: 760px) { .hero-svcs { margin: -14px 0 26px; gap: 6px; } .hero-svcs a { min-height: 44px; font-size: 12.5px; padding: 0 12px 0 10px; } }

/* como trabalhamos: o pacote segue até o CTA e o formulário */
.how .sec-head-split { align-items: end; }
.how-cta { justify-self: end; }
.steps-end { position: absolute !important; right: 74px; top: 0; width: 13px; height: 13px; padding: 0 !important; border: 1px solid #fff; background: var(--bg); z-index: 1; }
.steps-end::before { display: none; }
.steps.in .steps-end { animation: endflash 4.2s var(--ease) 1.1s infinite; }
.is-paused .steps .steps-end { animation-play-state: paused !important; }
@keyframes endflash { 0%, 64% { background: var(--bg); } 70% { background: #fff; } 100% { background: var(--bg); } }
.form-rail { position: absolute; left: -1px; bottom: 100%; width: 1px; height: clamp(72px, 8vw, 120px); background: linear-gradient(180deg, transparent, rgba(255,255,255,.22)); }
.form-rail b { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; background: #fff; opacity: 0; }
.form.in .form-rail b { animation: drop 1s var(--ease) .2s 1 both; }
@keyframes drop { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { top: calc(100% - 4px); opacity: 1; } 100% { top: calc(100% - 4px); opacity: 0; } }
.form.in::before { animation: nodeflash 1s var(--ease) 1.05s 1 both; }
@keyframes nodeflash { 0% { transform: scale(1); } 40% { transform: scale(2.4); } 100% { transform: scale(1); } }
@media (max-width: 900px) {
  .how-cta { justify-self: start; }
  .steps-end { display: none; }
  .form-rail { height: 64px; }
}

/* liderança: nós ligados por arestas que acendem */
.team { position: relative; padding-top: 22px; }
.team::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 1px; background: var(--soft); }
.team li { position: relative; }
.team li::before { content: ""; position: absolute; left: 0; top: -23px; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--line); z-index: 1; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.team li::after { content: ""; position: absolute; left: 4px; top: -20px; width: 1px; height: 20px; background: var(--line); transition: background-color .3s; }
.team li:hover::before { background: #fff; border-color: #fff; }
.team li:hover::after { background: #fff; }
.team li > figure { position: relative; }
.team li > figure::before { content: ""; position: absolute; left: 4px; right: calc(-100% - 16px); top: -20px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: 0; }
/* o último não tem vizinho à direita: o risco corre para trás, até o marcador do anterior */
.team li:last-child > figure::before { left: calc(-100% - 12px); right: calc(100% - 4px); transform-origin: right; }
.team li:hover > figure::before { transform: scaleX(1); }
@media (max-width: 900px) { .team li > figure::before { right: calc(-100% - 10px); } .team li:nth-child(3n) > figure::before { display: none; } .team::before { display: none; } .team li::after, .team li::before { display: none; } .team { padding-top: 0; } }

/* rodada 3 */
@media (max-width: 760px) {
  .hero { grid-template-rows: auto auto auto; }
  .hero-in { order: 1; padding-bottom: 8px; }
  .hero-cube { order: 2; position: relative; inset: auto; top: auto; right: auto; width: 100%; height: 280px; opacity: 1; margin: 0 0 8px; }
  .hero-foot { order: 3; }
  .pause-hdr, .pause-hdr:hover, .pause-hdr:active, .pause-hdr:focus-visible { background: transparent !important; border-color: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (hover: none) { .pause:hover, .pause:active { background: rgba(14,14,14,.82); } .pause-hdr:hover, .pause-hdr:active { background: transparent; } }

/* rodada 4 */
@media (max-width: 959px) { .js .svc-panels { transition: height .45s var(--ease); } }
@media (max-width: 760px) { .hero-cube { height: 240px; } }
/* FAQ: cada pergunta é um nó da rede */
.acc details { position: relative; }
.acc summary::before { content: ""; position: absolute; left: 0; top: calc(24px + .7em - 3.5px); width: 7px; height: 7px; border: 1px solid var(--t4); background: var(--bg); z-index: 1; transition: background-color .35s, border-color .35s, box-shadow .35s, transform .45s var(--ease); }
.acc details:not(:last-child)::after { content: ""; position: absolute; left: 3px; top: calc(24px + .7em * 1 + 4px); height: 100%; width: 1px; background: var(--line); font-size: clamp(17px, 1.4vw, 20px); }
.acc details[open] summary::before { background: #fff; border-color: #fff; transform: scale(1.25); }
.acc-b p { padding-left: 28px; }

/* celular: barra fixa de contato no lugar do círculo */
.mbar { display: none; }
@media (max-width: 1023px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .wa-float { display: none !important; }
  .mbar { display: flex; gap: 8px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(4,4,4,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--soft); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mbar-on .mbar { transform: none; }
  .mbar-cta { flex: 1; min-height: 48px; padding: 0 16px; font-size: 14.5px; }
  .mbar-wa { flex: none; width: 48px; height: 48px; display: grid; place-items: center; --cut: 8px; clip-path: var(--chamfer); background: #25d366; color: #04140a; }
  .mbar-wa svg { width: 24px; height: 24px; }
  body:has(.hdr.menu-open) .mbar { transform: translateY(110%); }
}
@media (min-width: 1024px) { .wa-float { right: max(8px, calc((100vw - var(--wrapw)) / 2 - 56px)); } }
@media (min-width: 1024px) and (max-width: 1399px) { .wa-float { right: 8px; height: 44px; min-width: 44px; padding: 0 10px; } .sec > .wrap { padding-right: 52px; }
  .pause-fx { left: 4px; width: 34px; height: 34px; min-width: 34px; padding: 0; justify-content: center; }
  .pause-fx:hover, .pause-fx:focus-visible { gap: 0; }
  .pause-fx .pause-t { position: absolute; width: 1px; height: 1px; max-width: none; overflow: hidden; clip: rect(0 0 0 0); } }

@media (max-width: 1023px) {
  .pause-fx { display: none !important; }
  .pause-hdr { display: flex !important; width: 44px; height: 44px; padding: 0; justify-content: center; flex: none; }
  .pause-hdr, .pause-hdr:hover, .pause-hdr:active, .pause-hdr:focus-visible { background: transparent !important; border-color: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 0; }
  .pause-hdr .pause-t, .pause-hdr:hover .pause-t { position: absolute; width: 1px; height: 1px; max-width: none; overflow: hidden; clip: rect(0 0 0 0); }
  .ftr { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) { .mbar-cta { font-size: 13.5px; padding: 0 12px; gap: 8px; } .mbar-cta svg { width: 16px; height: 16px; } }
.nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) { .hdr-in { gap: 20px; } .nav ul { gap: 0; } .nav a { padding: 10px 8px; font-size: 12.5px; letter-spacing: .06em; } }

/* ---------- bloco claro ----------
   Escuro onde o cubo vive (hero, serviços, clientes) e no fecho (contato, rodapé); claro no miolo de
   prova e leitura (portfólio até perguntas), com os tokens do tema claro do brandkit. O fundo branco
   cobre o canvas do cubo, que fica atrás do conteúdo. */
.tone-l {
  --bg: #FFFFFF;
  --s1: #F5F5F5; --s2: #EEEEEE; --s3: #F5F5F5;
  --line: #BFBFBF;
  --soft: rgba(4, 4, 4, .1);
  --t1: #040404; --t2: #1A1A1A; --t3: #595959; --t4: #8A8A8A;
  /* cor de serviço no claro: ciano e pink-red na versão ink do brandkit; as outras escurecidas
     até ler sobre branco (o limão puro some: 1,2:1) */
  --c1: #007987; --c2: #6F8000; --c3: #C70042; --c4: #B85400; --c5: #2F5BDB; --c6: #7046C9;
  /* lados e contorno do cubinho do portfólio */
  --cube-l: #D6D6D6; --cube-r: #C4C4C4; --cube-st: #BDBDBD; --cube-off: #ECECEC;
  position: relative; z-index: 1;
  background: var(--bg); color: var(--t2);
  color-scheme: light;
}
.tone-l ::selection { background: #040404; color: #fff; }
.tone-l :focus-visible { outline-color: #040404; }

/* a primeira seção clara carrega o padrão de cubos do brandkit, uma vez só, como marca d'água */
.tone-l .pf { isolation: isolate; }
.tone-l .pf::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/bg-pattern-light.webp") center top / max(100%, 1500px) auto no-repeat;
  -webkit-mask-image: linear-gradient(#000 35%, transparent 85%); mask-image: linear-gradient(#000 35%, transparent 85%);
}
.tone-l .sec:first-child::before { display: none; }

/* botões e controles */
.tone-l .btn-line { background: rgba(4, 4, 4, .06); color: #040404; }
.tone-l .btn-line:hover { background: rgba(4, 4, 4, .11); }
.tone-l .btn-line:focus-visible { box-shadow: inset 0 0 0 2px #040404; }
.tone-l .car-btn { background: rgba(4, 4, 4, .06); color: #040404; }
.tone-l .car-btn:hover:not(:disabled) { background: rgba(4, 4, 4, .12); }
.tone-l .car-prog { background: #DDDDDD; }
.tone-l .car-prog i { background: #040404; }

/* portfólio: o print da página ganha borda fina para não se fundir com o branco */
.tone-l .browser { border-color: #D6D6D6; box-shadow: 0 30px 60px -34px rgba(4, 4, 4, .35); }
.tone-l .case:hover .browser { border-color: #BFBFBF; }
.tone-l .browser-bar i { background: #D0D0D0; }
.tone-l .phone { box-shadow: 0 24px 50px -20px rgba(4, 4, 4, .45), 0 0 0 1px #3a3a3a; }
.tone-l .tags li { color: var(--t2); border-color: #D6D6D6; }
.tone-l .dna svg { --c: var(--cube-off); }
.tone-l .dna svg.on { filter: drop-shadow(0 2px 5px color-mix(in srgb, var(--c) 45%, transparent)); }

/* como trabalhamos */
.tone-l .steps h3 { color: var(--t1); }
.tone-l .steps .pkt { background: #040404; }
.tone-l .steps-end { border-color: #040404; }
.tone-l .steps.in .steps-end { animation-name: endflash-l; }
@keyframes endflash-l { 0%, 64% { background: #fff; } 70% { background: #040404; } 100% { background: #fff; } }

/* quem somos */
.tone-l .stat .num { color: var(--t1); }
.tone-l .team .ph { background: var(--s2); }
.tone-l .team li:hover .ph::after { border-color: rgba(4, 4, 4, .3); }
.tone-l .team li:hover::before { background: #040404; border-color: #040404; }
.tone-l .team li:hover::after, .tone-l .team li > figure::before { background: #040404; }

/* depoimentos: card em cinza 50, sem borda */
.tone-l .quote { border-color: transparent; }
.tone-l .quote:hover { border-color: #D6D6D6; }

/* perguntas */
.tone-l .acc summary h3 { color: var(--t1); }
.tone-l .acc summary i::before, .tone-l .acc summary i::after { background: #040404; }
.tone-l .acc details[open] summary::before { background: #040404; border-color: #040404; }

/* ---------- celular: escala de texto ----------
   No celular os rótulos de 11-12px com tracking largo e o texto de apoio de 13-14px ficavam pequenos
   demais. Rótulo vai a 13px, texto de apoio a 15px e texto corrido a 17px. */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .eyebrow, .sec-idx, .sub-t, .stat dt, .svc-count-of, .svc-count-name, .svc-n, .step-n { font-size: 13px; letter-spacing: .2em; }
  .plat-label, .svc-cols h4, .contact-list span, .case-seg { font-size: 12.5px; letter-spacing: .16em; }
  .sec-intro, .sec-text, .acc-b p, .hero-lead { font-size: 17px; }
  .svc-lead { font-size: 18px; }
  .svc-cols, .steps p, .acc summary { font-size: 16px; }
  .svc-tabs [role="tab"] { font-size: 15px; }
  .hero-svcs a { font-size: 14px; }
  .proof { font-size: 14.5px; }
  .btn:not(.btn-sm):not(.mbar-cta) { font-size: 16px; }
  .tags li { font-size: 12.5px; }
  .stat small { font-size: 15px; }
  .team figcaption b { font-size: 14.5px; }
  .who b { font-size: 15px; }
  .who span { font-size: 13.5px; }
  .field label, .field legend { font-size: 14.5px; }
  .opts span { font-size: 15px; }
  .contact-list address { font-size: 16px; }
  .ftr-nav a, .ftr-bot { font-size: 14px; }
}

/* celular: o hero aparece pronto, sem entrada animada. O texto escondido pela animação atrasava a LCP do PageSpeed */
@media (max-width: 760px) {
  .js .hero .ln > span, .js .hero-eyebrow, .js .hero-lead, .js .hero-ctas, .js .proof, .js .hero-foot, .js .hero-svcs { animation: none; opacity: 1; transform: none; }
}

/* ---------- aviso de cookies (js/consent.js) ---------- */
.ck { position: fixed; left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60; width: min(440px, calc(100% - 28px)); display: grid; gap: 14px; padding: 18px 20px 20px; --cut: 10px; clip-path: var(--chamfer); background: rgba(26,26,26,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--soft); }
.ck-t { font-size: 13.5px; line-height: 1.55; color: var(--t2); }
.ck-t a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ck-b { display: flex; gap: 8px; }
.ck-b .btn { flex: 1; min-height: 44px; }
.ck-on .pause-fx { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .ck { left: 0; right: 0; bottom: 0; width: auto; clip-path: none; padding: 16px max(16px, env(safe-area-inset-left)) calc(16px + env(safe-area-inset-bottom)); }
  .ck-on .mbar, .ck-on .wa-float { opacity: 0; pointer-events: none; }
}
.ftr-bot [data-consent-open] { cursor: pointer; }

/* ---------- página de texto (política de privacidade) ---------- */
.doc-hdr { border-bottom: 1px solid var(--soft); }
.doc-hdr .hdr-in { gap: 16px; }
.doc { padding-block: clamp(56px, 7vw, 96px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 300; letter-spacing: .1em; line-height: 1.1; text-transform: lowercase; color: var(--t1); margin-bottom: 14px; }
.doc-data { font-size: 13px; color: var(--t4); margin-bottom: 40px; }
.doc h2 { font-size: 19px; font-weight: 600; color: var(--t1); margin: 40px 0 12px; scroll-margin-top: 24px; }
.doc p, .doc li { color: var(--t2); font-size: 16px; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 12px; }
.doc ul { display: grid; gap: 8px; }
.doc li { position: relative; padding-left: 20px; }
.doc li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--c1); }
.doc a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.doc-ck { margin-top: 18px; }
.doc + .ftr { padding-top: 40px; }
