/* DBAI · site 2026 */

:root {
  --ink: #09090a;
  --ink-2: #111113;
  --ink-3: #18181b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f0ea;
  --mute: #a39f98;
  --dim: #6f6b65;
  --orange: #fe521f;
  --orange-2: #ff8a5c;
  --on-orange: #140600;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 24px;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.9s var(--ease);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3 { text-wrap: balance; }
p, li, figcaption, blockquote, dt { text-wrap: pretty; }

::selection { background: var(--orange); color: var(--on-orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--orange); color: var(--on-orange); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }

.nw { white-space: nowrap; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 12px; vertical-align: 1px; }

.display {
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 15ch;
}
.display em, .cta-title em, .hero-title em {
  background: linear-gradient(100deg, var(--orange) 10%, var(--orange-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.1em;
  margin-right: -0.16em;
}
.hero-title em { margin-right: -0.1em; }
.display--sm { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: var(--mute); max-width: 54ch; margin-top: 26px; line-height: 1.55; }

/* botões */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn-orange { background: linear-gradient(180deg, #fe5a28 0%, #ec4612 100%); color: #fff; text-shadow: 0 1px 1px rgba(120, 30, 0, 0.35); box-shadow: 0 10px 40px -12px rgba(254, 82, 31, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-orange:hover { background: linear-gradient(180deg, #ff6a3a 0%, #f2511c 100%); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 20px 32px; font-size: 16px; }
.btn-arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateY(3px); }

/* textura e cursor */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 150;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    position: fixed;
    left: 0; top: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    width: 12px; height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--orange);
    pointer-events: none;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.3s, opacity 0.3s;
    opacity: 0;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-big { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: rgba(254, 82, 31, 0.92); }
  .cursor-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-orange); opacity: 0; transition: opacity 0.2s; }
  .cursor.is-big .cursor-label { opacity: 1; }
  /* em cima das telas: bolinha pequena de vidro com setas subindo (arraste para cima) */
  .cursor-drag { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: #fff; opacity: 0; transition: opacity 0.2s; overflow: visible; }
  .cursor.is-scroll { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(12, 12, 14, 0.62); box-shadow: 0 0 0 1.5px var(--orange), 0 10px 30px -8px rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .cursor.is-scroll .cursor-drag { opacity: 1; }
  .cursor.is-scroll .drag-a, .cursor.is-scroll .drag-b { animation: drag-up 1.3s var(--ease) infinite; }
  .cursor.is-scroll .drag-b { animation-delay: 0.18s; }
  @keyframes drag-up { 0% { transform: translateY(5px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-5px); opacity: 0; } }
}

/* abertura */
.loader {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  background: var(--ink);
  pointer-events: none;
  animation: loader-failsafe 0.6s 4.5s forwards;
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader-mark { animation: loader-pulse 1.2s var(--ease) infinite alternate; }
.loader-mark img { width: 76px; height: 76px; border-radius: 20px; }
.loader-count { position: absolute; right: var(--gutter); bottom: var(--gutter); font-family: var(--mono); font-size: 13px; color: var(--mute); letter-spacing: 0.1em; }
.loader-count::after { content: "%"; }
@keyframes loader-pulse { from { transform: scale(0.94); opacity: 0.7; } to { transform: scale(1); opacity: 1; } }
html:not(.js) .loader, html.no-motion .loader { display: none; }

/* navegação */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter);
  transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(9, 9, 10, 0.62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.on-light .nav.is-scrolled { background: rgba(9, 9, 10, 0.9); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-word { font-weight: 600; font-size: 20px; letter-spacing: 0.32em; color: var(--text); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--mute); transition: color 0.3s, background-color 0.3s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px var(--gutter) 40px;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-links a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; padding: 4px 0; }
.menu-links span { font-family: var(--mono); font-size: 12px; color: var(--orange); letter-spacing: 0.1em; }
.menu-foot { display: flex; flex-direction: column; gap: 10px; color: var(--mute); font-size: 15px; }

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.wall { position: absolute; inset: 0; z-index: -2; perspective: 1400px; overflow: hidden; filter: saturate(0.9) brightness(0.62); }
.wall-inner {
  position: absolute;
  left: 50%; top: 50%;
  width: max(1500px, 125vw);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
  transform: translate(-36%, -50%) rotateX(24deg) rotateZ(-16deg) scale(1.08);
  transform-origin: center;
}
.wall-col { overflow: visible; }
.wall-track { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 22px); animation: wall-up var(--dur, 48s) linear infinite; will-change: transform; }
.wall-col:nth-child(even) .wall-track { animation-direction: reverse; }
.wall-track img {
  width: 100%;
  aspect-ratio: 300 / 650;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  background: var(--ink-3);
}
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 72% 85% at 20% 55%, rgba(9, 9, 10, 0.97) 0%, rgba(9, 9, 10, 0.88) 42%, rgba(9, 9, 10, 0.5) 76%, rgba(9, 9, 10, 0.3) 100%),
    linear-gradient(to bottom, rgba(9, 9, 10, 0.5) 0%, transparent 25%, transparent 70%, var(--ink) 100%);
}
.hero-content { padding-top: 120px; padding-bottom: 40px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(17, 17, 19, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d27b; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #34d27b; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero-title {
  margin-top: 30px;
  font-size: clamp(3.3rem, 10.4vw, 10.2rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-size: 1.06em; letter-spacing: -0.03em; }
.hero-sub { margin-top: 30px; max-width: 44ch; font-size: clamp(1.08rem, 1.5vw, 1.32rem); color: #d4d0c9; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; width: 1px; height: 34px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--orange); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* faixa de marcas */
.ticker { padding: clamp(48px, 7vw, 96px) 0; border-block: 1px solid var(--line); overflow: hidden; }
.ticker-row { display: flex; white-space: nowrap; }
.ticker-row + .ticker-row { margin-top: 8px; }
.ticker-track { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); flex-shrink: 0; will-change: transform; }
.ticker-track span { font-size: clamp(2rem, 5.6vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; }
.ticker-row--alt .ticker-track span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(243, 240, 234, 0.42); }
.ticker-track i { font-style: normal; color: var(--orange); font-size: clamp(1rem, 2vw, 1.6rem); }

/* manifesto */
.manifesto { padding: clamp(110px, 16vw, 220px) 0 clamp(80px, 10vw, 140px); }
.manifesto-text { font-size: clamp(1.9rem, 4.3vw, 4.1rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; max-width: 24ch; }
.manifesto-text .w { color: rgba(243, 240, 234, 0.14); transition: color 0.2s linear; }
.no-motion .manifesto-text .w, html:not(.js) .manifesto-text .w { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dd { font-size: clamp(3rem, 6.4vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.stat dd sup { font-size: 0.5em; color: var(--orange); vertical-align: top; margin-left: 2px; }
.stat dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); max-width: 22ch; }

/* cabeçalhos de seção */
.section-head { padding-top: clamp(110px, 14vw, 190px); padding-bottom: clamp(50px, 7vw, 90px); }

/* capítulos */
.chapter {
  --fg: var(--text);
  --fg-mute: #b3afa8;
  --bezel: #0b0b0c;
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(70px, 9vw, 130px);
  color: var(--fg);
}
.chapter--light { --fg: #1b1416; --fg-mute: #5c5254; }
.chapter-grid { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.chapter-index { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); }
.chapter-index b { color: var(--c); font-weight: 500; }
.chapter-name { margin-top: 18px; font-size: clamp(3rem, 6.6vw, 6.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.95; }
.chapter-head { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--c); max-width: 20ch; }
.chapter--light .chapter-head { color: #a32e55; }
.chapter-body { margin-top: 20px; color: var(--fg-mute); font-size: 1.04rem; max-width: 46ch; }
.facts { margin-top: 26px; display: grid; gap: 10px; }
.facts li { position: relative; padding-left: 30px; font-size: 0.98rem; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent);
}
.facts li::after { content: ""; position: absolute; left: 6px; top: calc(0.3em + 5px); width: 6px; height: 4px; border-left: 1.5px solid var(--c); border-bottom: 1.5px solid var(--c); transform: rotate(-45deg); }
.chapter--light .facts li::after { border-color: #a32e55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); color: var(--fg-mute); }
.chapter-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; font-size: 1.05rem; color: var(--fg); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px; transition: background-size 0.5s var(--ease); }
.chapter-link span { color: var(--c); transition: transform 0.4s var(--ease); }
.chapter--light .chapter-link span { color: #a32e55; }
.chapter-link:hover { background-size: 100% 1px; }
.chapter-link:hover span { transform: translate(3px, -3px); }

.stage { position: relative; aspect-ratio: 16 / 11.4; }
.stage::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 34%, transparent), transparent);
  filter: blur(30px);
}
.laptop { position: absolute; left: 0; top: 4%; width: 86%; }
.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10.2;
  padding: 1.5% 1.5% 0;
  border-radius: 14px 14px 0 0;
  background: #0a0a0b;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}
.laptop-screen::before { content: ""; position: absolute; top: 0.55%; left: 50%; z-index: 3; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #26262a; }
.laptop-screen .screen-scroll { border-radius: 5px 5px 0 0; }
.laptop-base {
  position: relative;
  height: clamp(9px, 1.15vw, 15px);
  margin: 0 -6%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(to bottom, #45454b 0%, #26262a 45%, #121214 100%);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.8);
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; margin-left: -8%; border-radius: 0 0 8px 8px; background: #19191c; }

/* celular: aro de metal fino, quase sem borda preta */
.phone {
  position: absolute;
  right: 0; bottom: 2%;
  width: 26%;
  aspect-ratio: 9 / 19.4;
  padding: 1.1%;
  border-radius: 17% / 7.9%;
  background: linear-gradient(150deg, #5a5a60 0%, #2a2a2e 22%, #1b1b1e 55%, #3a3a3f 100%);
  box-shadow: 0 44px 80px -26px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 1.4%; border-radius: 2px; background: #3a3a3f; }
.phone::before { right: -1.1%; top: 22%; height: 11%; }
.phone::after { left: -1.1%; top: 18%; height: 7%; }
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 15.5% / 7.2%;
  border: clamp(2px, 0.28vw, 4px) solid #000;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.phone-screen::before { content: ""; position: absolute; top: 1.6%; left: 50%; z-index: 3; width: 30%; height: 3%; margin-left: -15%; border-radius: 999px; background: #000; pointer-events: none; }

/* a tela só rola quando o visitante rola em cima dela */
.screen-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #fff;
  outline: none;
}
.screen-scroll::-webkit-scrollbar { display: none; }
.screen-scroll img { width: 100%; height: auto; }
.screen-scroll:focus-visible { box-shadow: inset 0 0 0 2px var(--c); }

.stage-hint {
  position: absolute;
  left: 2%;
  bottom: -2%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.stage.is-touched .stage-hint { opacity: 0; }
.hint-icon { position: relative; width: 14px; height: 21px; border: 1.5px solid currentColor; border-radius: 8px; }
.hint-icon::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: var(--c); animation: hint 1.6s var(--ease) infinite; }
.chapter--light .hint-icon::after { background: #a32e55; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(7px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hint-touch { display: none; }
@media (hover: none) {
  .hint-desk { display: none; }
  .hint-touch { display: inline; }
}

/* laboratório e clientes: cartões */
.swipe-hint { display: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.swipe-hint span { color: var(--orange); }
.lab-grid, .client-grid { display: grid; gap: 20px; }
.lab-grid { grid-template-columns: repeat(4, 1fr); }
.client-grid { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.4s, background-color 0.4s;
}
a.card:hover { transform: translateY(-6px); border-color: rgba(254, 82, 31, 0.45); background: #151517; }
.card--wide { grid-column: span 2; }
.browser { background: #0d0d0f; border-bottom: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c31; }
.browser-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-view { aspect-ratio: 16 / 10; overflow: hidden; }
.card--wide .browser-view { aspect-ratio: 16 / 8.2; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: object-position 3.2s cubic-bezier(0.45, 0, 0.2, 1); }
a.card:hover .browser-view img, .card.is-live .browser-view img { object-position: 50% 100%; }
.shot { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card--static:hover .shot img { transform: scale(1.04); }
.card-meta { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.card-meta h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.card-meta p { color: var(--mute); font-size: 0.96rem; line-height: 1.5; }
.tag { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.tag--soon { color: #e7b95a; }

.names { padding-top: clamp(80px, 10vw, 130px); }
.names-list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; }
.names-list li { font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.25; color: #c9c5be; transition: color 0.3s; }
.names-list li:hover { color: var(--orange); }
.names-list li:not(:last-child)::after { content: "/"; margin: 0 0.42em; color: var(--dim); font-weight: 300; }

.quote { padding-top: clamp(100px, 12vw, 160px); }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.5vw, 3.2rem); line-height: 1.15; letter-spacing: -0.01em; max-width: 30ch; }
.quote figcaption { margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.quote figcaption b { color: var(--text); font-weight: 500; }

/* serviços */
.service-list { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 260px;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.service::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: linear-gradient(90deg, rgba(254, 82, 31, 0.08), transparent 70%); opacity: 0; transition: opacity 0.5s; }
.service:hover::before { opacity: 1; }
.service-num { font-family: var(--mono); font-size: 13px; color: var(--orange); letter-spacing: 0.1em; }
.service-main h3 { font-size: clamp(1.6rem, 3vw, 2.7rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.service-main p { margin-top: 12px; color: var(--mute); max-width: 56ch; }
.service-proof { position: relative; height: 150px; }
.service-proof img {
  position: absolute;
  top: 0;
  width: 70px;
  aspect-ratio: 300 / 650;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.6s var(--ease);
}
.service-proof img:nth-child(1) { right: 150px; transform: rotate(-8deg) translateY(10px); }
.service-proof img:nth-child(2) { right: 80px; z-index: 2; }
.service-proof img:nth-child(3) { right: 10px; transform: rotate(8deg) translateY(10px); }
.service:hover .service-proof img:nth-child(1) { transform: rotate(-14deg) translate(-16px, 4px); }
.service:hover .service-proof img:nth-child(2) { transform: translateY(-8px); }
.service:hover .service-proof img:nth-child(3) { transform: rotate(14deg) translate(16px, 4px); }

/* método */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -54px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--orange); }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--orange); letter-spacing: 0.1em; }
.step h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 600; letter-spacing: -0.035em; }
.step p { margin-top: 12px; color: var(--mute); font-size: 0.98rem; }

/* fundador */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding-top: clamp(120px, 15vw, 200px); }
.founder-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.founder-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 9, 10, 0.55), transparent 45%); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1.4s var(--ease); }
.founder-photo.is-in img { filter: grayscale(0) contrast(1); }
.founder-text p:not(.eyebrow) { margin-top: 22px; color: var(--mute); font-size: 1.08rem; max-width: 52ch; }
/* título do fundador: cada papel numa linha, no mesmo itálico laranja */
.founder-title { max-width: none; }
.founder-title em { display: block; margin-top: 0.08em; line-height: 1.04; }
.founder-title em span { display: block; white-space: nowrap; }
.founder-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.text-link { font-weight: 600; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; transition: color 0.3s; }
.text-link:hover { color: var(--orange); }

/* chamada final */
.cta { position: relative; overflow: hidden; margin-top: clamp(120px, 15vw, 200px); padding: clamp(110px, 14vw, 200px) 0; border-top: 1px solid var(--line); isolation: isolate; }
.cta-glow {
  position: absolute;
  left: 50%; top: 55%;
  z-index: -1;
  width: min(1200px, 140vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(254, 82, 31, 0.32), rgba(254, 82, 31, 0.08) 55%, transparent);
  filter: blur(20px);
  animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: translate(-50%, -50%) scale(0.9); } to { transform: translate(-46%, -54%) scale(1.08); } }
.cta-title { font-size: clamp(2.8rem, 8vw, 8rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.055em; max-width: 13ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.cta-wrap { position: relative; }
.badge {
  position: absolute;
  right: 2%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(180px, 18vw, 250px);
  aspect-ratio: 1;
  margin-top: calc(clamp(180px, 18vw, 250px) / -2);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(17, 17, 19, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.badge:hover { transform: scale(1.05); border-color: rgba(254, 82, 31, 0.6); }
.badge img { width: 28%; border-radius: 14px; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-ring text { fill: var(--text); font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* rodapé */
.footer { border-top: 1px solid var(--line); padding-top: 70px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 18px; color: var(--mute); max-width: 28ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #cfcbc4; transition: color 0.3s; width: fit-content; }
.footer-col a:hover { color: var(--orange); }
.footer-base { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 60px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.footer-giant { display: block; width: 100%; height: auto; margin-top: 10px; user-select: none; }
.footer-giant text { font-family: var(--sans); font-size: 312px; font-weight: 700; }

/* estados de animação (só com JS e movimento liberado) */
.js-motion [data-reveal], .js-motion [data-batch] > * { opacity: 0; transform: translateY(42px); }
.js-motion [data-hero] { opacity: 0; transform: translateY(24px); }
.js-motion [data-hero-line] { transform: translateY(105%); }

/* responsivo */
@media (max-width: 1180px) {
  .lab-grid { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: 70px 1fr 220px; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .chapter { min-height: 0; }
  .chapter-grid { grid-template-columns: 1fr; gap: 44px; }
  .stage { order: -1; width: 100%; max-width: 720px; margin-inline: auto; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .service-proof { height: 120px; order: 3; }
  .service-proof img { width: 56px; }
  .service-proof img:nth-child(1) { right: auto; left: 0; }
  .service-proof img:nth-child(2) { right: auto; left: 60px; }
  .service-proof img:nth-child(3) { right: auto; left: 120px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .founder { grid-template-columns: 1fr; }
  .badge { position: relative; right: auto; top: auto; margin: 0 0 40px; width: 150px; }
  .founder-photo { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { justify-content: flex-end; }
  .hero-content { padding-top: 110px; }
  .hero-shade {
    background:
      linear-gradient(to bottom, rgba(9, 9, 10, 0.88) 0%, rgba(9, 9, 10, 0.5) 14%, rgba(9, 9, 10, 0.55) 30%, rgba(9, 9, 10, 0.9) 58%, var(--ink) 100%);
  }
  .wall-inner { width: 900px; transform: translate(-40%, -62%) rotateX(22deg) rotateZ(-16deg) scale(1); }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-foot .scroll-cue { display: none; }
  .stage { aspect-ratio: 16 / 12.4; }
  .laptop { left: 2%; width: 78%; }
  .phone { width: 33%; bottom: 0; }
  .stage-hint { bottom: -7%; }

  .swipe-hint { display: block; }
  .lab-grid, .client-grid {
    width: 100%;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 14px;
    overflow-x: auto;
    padding: 0 var(--gutter) 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .lab-grid::-webkit-scrollbar, .client-grid::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card--wide { grid-column: auto; }
  .card--wide .browser-view { aspect-ratio: 16 / 10; }
  .js-motion [data-batch] > .card { opacity: 1; transform: none; }

  .names-list li { font-size: 1.45rem; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 30px; row-gap: 40px; }
  .steps-line { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .steps-line span { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .step::before { top: 4px; left: -30px; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* faixa de marcas com logos: em cinza e translúcidas, ganham cor no mouse; a faixa para no mouse */
.ticker { padding: clamp(36px, 5vw, 64px) 0; }
.ticker-row + .ticker-row { margin-top: 14px; }
.ticker-track { gap: 14px; padding-right: 14px; }
.ticker .marca-logo {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 220 / 92;
  border-radius: 18px;
  background: var(--fundo, #141416);
  border: 1px solid var(--line);
  font-size: 0;
  -webkit-text-stroke: 0;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.ticker .marca-logo.claro { background: #f6f3ee; border-color: transparent; }
.ticker .marca-logo img { position: absolute; left: 12%; top: 22%; width: 76%; height: 56%; object-fit: contain; filter: grayscale(1); opacity: 0.5; transition: filter 0.35s, opacity 0.35s; }
.ticker .marca-logo.alto img { top: 10%; height: 80%; }
.ticker .marca-logo.esc img { filter: grayscale(1) brightness(0); }
.ticker .marca-logo:hover { transform: translateY(-4px); border-color: rgba(254, 82, 31, 0.5); }
.ticker .marca-logo:hover img { filter: none; opacity: 1; }
.ticker .marca-logo.esc:hover img { filter: brightness(0); opacity: 0.9; }
@media (hover: none) {
  .ticker .marca-logo img { filter: none; opacity: 0.92; }
  .ticker .marca-logo.esc img { filter: brightness(0); }
}
