* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 22px var(--page-x);
  color: var(--white);
  background: transparent;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease, background .35s ease, color .35s ease;
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  color: var(--ink);
  background: rgba(243, 242, 238, 0.88);
  border-bottom-color: var(--line);
}

.brand, .site-nav a, .header-cta, .text-link, .footer-links a { text-decoration: none; }
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}
.brand-logo {
  width: clamp(116px, 9.4vw, 148px);
  height: auto;
  filter: invert(1);
  transition: filter .35s ease, opacity .35s ease;
}
.site-header.is-menu-open { background: var(--paper); }
.site-header.is-scrolled .brand-logo,
.site-header.is-menu-open .brand-logo { filter: none; }
.brand-wordmark, .footer-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: .9;
}
.brand-wordmark { font-size: 2rem; }
.footer-wordmark { font-size: clamp(4rem, 9vw, 9rem); }

.site-nav { display: flex; gap: 22px; align-items: center; }
.nav-list {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { position: relative; }
.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: inherit;
  background: none;
  border: 0;
  font-size: .94rem;
  text-decoration: none;
  cursor: pointer;
}
.nav-chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
  transition: transform .25s ease;
}
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-trigger:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.nav-globe {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.lang-code {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
}
.nav-lang {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.28);
  transition: border-color .35s ease;
}
.site-header.is-scrolled .nav-lang,
.site-header.is-menu-open .nav-lang { border-left-color: var(--line); }
.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 220px;
  display: grid;
  padding: 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(17,17,15,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav-item.is-open > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-menu a {
  padding: 10px 12px;
  color: var(--ink);
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s ease;
}
.nav-menu a:hover,
.nav-menu a:focus-visible { background: rgba(17,17,15,.05); outline: 0; }
.lang-menu {
  left: auto;
  right: -8px;
  min-width: 240px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: .9rem;
}
.lang-option .flag {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(17,17,15,.12);
}
.lang-option.is-soon { color: #85847d; cursor: not-allowed; }
.lang-option.is-soon .flag { opacity: .55; }
.lang-option em {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .56rem;
  font-style: normal;
  letter-spacing: .08em;
  white-space: nowrap;
}
.lang-check {
  width: 12px;
  height: 12px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.nav-cta { display: none; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: none;
  border: 1px solid currentColor;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.header-cta {
  justify-self: end;
  padding: 12px 16px;
  color: currentColor;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.42);
  font-size: .9rem;
  transition: color .35s ease, background .35s ease, border-color .35s ease;
}
.site-header.is-scrolled .header-cta,
.site-header.is-menu-open .header-cta {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: var(--section-y) var(--page-x);
}

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.light { color: rgba(255,255,255,.58); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}
h1 { font-size: var(--text-hero); line-height: var(--leading-display); max-width: 10.7ch; }
h2 { font-size: var(--text-h2); line-height: .98; max-width: 13ch; }
h3 { font-size: var(--text-h3); line-height: 1.04; }
p { font-size: var(--text-body); line-height: var(--leading-body); color: var(--ink-soft); }

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 150px var(--page-x) 96px;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform-origin: center;
}
.hero-overlay { pointer-events: none; }
.hero-overlay-side {
  z-index: -2;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.14) 0%, rgba(0,0,0,.25) 58%, rgba(0,0,0,.44) 100%),
    rgba(0,0,0,.38);
}
.hero-overlay-vertical {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.08) 36%, rgba(0,0,0,.12) 62%, rgba(0,0,0,.56) 100%);
}
.hero-copy {
  width: min(100%, 1280px);
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  max-width: 1280px;
  margin-bottom: 0;
  font-family: var(--font-hero);
  font-size: clamp(60px, 5.85vw, 96px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.05em;
  color: var(--white);
  text-wrap: balance;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero .eyebrow {
  margin: 0 0 38px;
  color: rgba(255,255,255,.64);
}
.hero .text-link { color: rgba(255,255,255,.86); }
.hero .eyebrow,
.hero h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: heroCopyIn 940ms var(--ease) forwards;
}
.hero .eyebrow { animation-delay: 120ms; }
.hero h1 { animation-delay: 230ms; }
.hero-meta {
  position: absolute;
  left: var(--page-x);
  right: var(--page-x);
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
}

@keyframes heroCopyIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: .94rem;
  transition: transform .25s var(--ease), opacity .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.button-ghost { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.58); }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: .95rem; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(3px,-3px); }

.hero-media {
  position: relative;
  overflow: hidden;
  background: #d7d5cf;
}
.hero-media { aspect-ratio: 4 / 5; }
.media-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px;
  background:
    linear-gradient(to top, rgba(17,17,15,.72), rgba(17,17,15,.06) 65%),
    radial-gradient(circle at 68% 22%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(135deg, #bebdb7 0%, #ecebe7 45%, #a7a69f 100%);
  color: var(--white);
}
.media-placeholder.soft {
  background:
    linear-gradient(to top, rgba(17,17,15,.64), rgba(17,17,15,.05) 65%),
    linear-gradient(135deg, #c9c7c0 0%, #efeee9 48%, #b4b2ab 100%);
}
.media-placeholder strong { font-size: clamp(1.7rem, 3vw, 3.6rem); max-width: 9ch; line-height: 1; letter-spacing: -.04em; }
.media-placeholder small { max-width: 320px; color: rgba(255,255,255,.72); }
.media-kicker { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; }
.hero-caption {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .08em;
}

.intelligence {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 98svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 4vw, 58px);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: clamp(72px, 7vw, 96px) var(--page-x) clamp(102px, 9vw, 138px);
  isolation: isolate;
}
.section-heading { margin-bottom: clamp(72px, 9vw, 130px); }
.section-heading h2 { margin-bottom: 0; }
.intelligence-label {
  position: absolute;
  top: clamp(82px, 6.5vw, 104px);
  left: var(--page-x);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.42);
}
.intelligence-core {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .49fr) minmax(0, .51fr);
  gap: clamp(28px, 4.8vw, 86px);
  align-items: center;
}
.operation-visual {
  position: relative;
  width: min(60vw, 930px);
  justify-self: start;
  margin-top: -22px;
  margin-left: calc(var(--page-x) * -0.34);
  transform-origin: center left;
  background: transparent;
  mix-blend-mode: screen;
  animation: operationImageDrift 11s var(--ease) infinite alternate;
  -webkit-mask-image:
    linear-gradient(90deg, #000 0%, #000 82%, rgba(0,0,0,.72) 91%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.86) 5%, #000 13%, #000 90%, rgba(0,0,0,.9) 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, #000 0%, #000 82%, rgba(0,0,0,.72) 91%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.86) 5%, #000 13%, #000 90%, rgba(0,0,0,.9) 96%, transparent 100%);
  mask-composite: intersect;
}
.operation-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(64svh, 690px);
  object-fit: contain;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(2.35) brightness(1.12);
}
.intelligence-title {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-hero);
  font-size: clamp(58px, 5.3vw, 92px);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.055em;
}
.intelligence-title span {
  display: block;
}
.intelligence-title span:nth-child(n+2) {
  color: rgba(255,255,255,.54);
}
.question-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(34px, 5vw, 72px);
  width: 100%;
  display: grid;
  gap: 14px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-display);
  font-size: clamp(21px, 1.85vw, 28px);
  line-height: 1.1;
  overflow: hidden;
}
.marquee-row {
  display: flex;
  width: max-content;
}
.marquee-track {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(72px, 9vw, 156px);
  padding-right: clamp(72px, 9vw, 156px);
  animation: marqueeMove 72s linear infinite;
}
.marquee-row-alt .marquee-track {
  animation-duration: 86s;
  animation-direction: reverse;
  color: rgba(255,255,255,.3);
}
.marquee-track span:nth-child(3n+1) { color: rgba(255,255,255,.62); }
.marquee-track span:nth-child(3n+2) { color: rgba(255,255,255,.36); }

@keyframes marqueeMove {
  to { transform: translateX(-100%); }
}

@keyframes operationImageDrift {
  to { transform: translate3d(0, -8px, 0) scale(1.015); }
}

.product {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: clamp(72px, 8vw, 110px);
}
.product-heading {
  max-width: 1080px;
  margin-bottom: clamp(34px, 4.5vw, 58px);
}
.product-heading h2 {
  max-width: 1120px;
  margin-bottom: 18px;
  font-family: var(--font-hero);
  font-size: clamp(3.4rem, 5.25vw, 6.25rem);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.06em;
}
.product-heading > p {
  max-width: 620px;
  margin: 0;
  color: #63625d;
}
.product-shell {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.38);
}
.product-interface-top,
.event-timeline span,
.event-timeline small,
.product-capabilities {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-interface-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  color: #73726c;
  border-bottom: 1px solid var(--line);
}
.evidence-area {
  min-width: 0;
}
.camera-frame {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.34);
}
.camera-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: #66655f;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
}
.camera-head strong {
  color: var(--ink);
  font-weight: 400;
}
.camera-scene {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  background:
    linear-gradient(rgba(17,17,15,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,15,.045) 1px, transparent 1px),
    rgba(243,242,238,.46);
  background-size: 26px 26px;
}
.scene-line,
.scene-block,
.area-marker,
.event-marker,
.evidence-stamp {
  position: absolute;
}
.scene-line {
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(17,17,15,.22);
}
.scene-line-a { top: 58%; }
.scene-line-b { top: 72%; }
.scene-block {
  bottom: 24%;
  border: 1px solid rgba(17,17,15,.28);
  background: rgba(255,255,255,.36);
}
.scene-block-a { left: 9%; width: 18%; height: 42px; }
.scene-block-b { left: 37%; width: 24%; height: 72px; background: rgba(17,17,15,.08); }
.scene-block-c { right: 11%; width: 18%; height: 52px; }
.area-marker {
  left: 32%;
  top: 25%;
  width: 36%;
  height: 42%;
  display: grid;
  place-items: start center;
  padding-top: 12px;
  border: 1px dashed rgba(17,17,15,.38);
  color: #66655f;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
}
.event-marker {
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  transform: translate(-50%, -50%);
}
.event-marker::before,
.event-marker::after {
  content: "";
  position: absolute;
  background: rgba(17,17,15,.5);
}
.event-marker::before {
  left: 50%;
  top: -18px;
  width: 1px;
  height: 44px;
}
.event-marker::after {
  left: -18px;
  top: 50%;
  width: 44px;
  height: 1px;
}
.evidence-stamp {
  left: 12px;
  bottom: 10px;
  color: #4f4e49;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  line-height: 1.5;
}
.moment-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.moment {
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(17,17,15,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,15,.04) 1px, transparent 1px),
    rgba(255,255,255,.24);
  background-size: 18px 18px;
}
.moment.is-selected {
  border-color: rgba(17,17,15,.5);
  background-color: rgba(17,17,15,.045);
}
.moment span,
.moment strong,
.selected-context > span,
.selected-context dt {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
}
.moment span {
  display: block;
  margin-bottom: 10px;
  color: #77766f;
}
.moment strong {
  color: var(--ink);
  font-weight: 400;
}
.selected-context { min-width: 0; }
.selected-context > span {
  color: #6d6c66;
}
.selected-context h3 {
  margin: 12px 0 20px;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 1.45vw, 1.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.selected-context dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.selected-context div {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.selected-context dt {
  color: #74736d;
}
.selected-context dd {
  margin: 0;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.35;
}
.event-timeline::before {
  content: "HISTÓRICO DA OPERAÇÃO";
  padding: 0 0 12px;
  color: #73726c;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
}
.event-timeline {
  display: grid;
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.timeline-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(120px, auto);
  gap: 20px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-row.is-selected {
  padding-inline: 12px;
  background: rgba(17,17,15,.045);
}
.timeline-row strong {
  font-size: .9rem;
  font-weight: 500;
}
.timeline-row span,
.timeline-row small { color: #73726c; }
.feature-blocks { border-top: 1px solid var(--line); }
.feature-block {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
  padding: clamp(56px, 7vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}
.feature-block.is-reversed { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.feature-block.is-reversed .feature-copy { order: 2; }
.feature-copy { min-width: 0; }
.feature-index {
  display: block;
  margin-bottom: 26px;
  color: #73726c;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
}
.feature-copy h3 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-family: var(--font-hero);
  font-size: clamp(2.2rem, 3.4vw, 3.9rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.05em;
}
.feature-copy p {
  max-width: 460px;
  margin: 0;
  color: #5f5e59;
}
.feature-demo { min-width: 0; }
.feature-window { padding: clamp(18px, 2vw, 28px); }
.feature-window-body { padding-top: 22px; }
.feature-window .event-timeline { border-top: 0; }
.feature-window .selected-context dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.product-footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 30px; }
.product-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #4f4e49;
}
.product-capabilities span { font-size: .7rem; }

.machine-view {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 76svh;
  display: grid;
  grid-template-columns: minmax(320px, .4fr) minmax(0, .6fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) var(--page-x);
  color: var(--white);
  background:
    radial-gradient(ellipse at 82% 46%, rgba(255,255,255,.075), transparent 48%),
    linear-gradient(180deg, #151513 0%, #0f0f0d 100%);
  isolation: isolate;
}
.machine-view::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.42), #000 58%, rgba(0,0,0,.78));
}
.machine-view-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.machine-view-copy h2 {
  max-width: 11.5ch;
  margin-bottom: 26px;
  font-family: var(--font-hero);
  font-size: clamp(3.4rem, 5vw, 6.3rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.058em;
}
.machine-view-copy h2 span {
  display: block;
}
.machine-view-copy p {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.62);
}
.machine-viewer {
  position: relative;
  z-index: 1;
  min-height: clamp(480px, 70vh, 820px);
  margin-right: calc(var(--page-x) * -1.25);
  cursor: grab;
  touch-action: pan-y;
}
.machine-viewer:active {
  cursor: grabbing;
}
.machine-canvas {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  outline: 0;
  /* Soft edge fade so the model never shows a hard canvas cut when zoomed. */
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
  mask-composite: intersect;
}
.machine-viewer-ui {
  position: absolute;
  left: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 36px);
  bottom: clamp(12px, 2vw, 28px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .13em;
  color: rgba(255,255,255,.38);
}
.machine-zoom {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.machine-zoom button {
  width: 34px;
  height: 34px;
  padding: 0;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.machine-zoom button:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
}

.solutions { border-top: 1px solid var(--line); }
.question-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.question-card { min-height: 320px; padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.question-card:nth-child(odd) { padding-right: 48px; border-right: 1px solid var(--line); }
.question-card:nth-child(even) { padding-left: 48px; }
.question-card span { font-family: var(--font-mono); font-size: .7rem; }
.question-card h3 { margin: 82px 0 20px; max-width: 11ch; font-size: clamp(2rem, 4vw, 4.4rem); }
.question-card p { max-width: 470px; }
.section-link { margin-top: 36px; }

.human { border-top: 1px solid var(--line); }
.human-heading { margin-bottom: clamp(44px, 5vw, 76px); }
.human-heading h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-family: var(--font-hero);
  font-size: clamp(2.4rem, 4.2vw, 4.6rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}
.human-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
}
.context-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
/* Placeholder até a imagem real entrar; um <img class="context-card-image"> ocupa o mesmo espaço. */
.context-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #c9c7c0 0%, #efeee9 48%, #b4b2ab 100%);
  transition: transform .9s var(--ease);
}
.context-card:hover .context-card-image { transform: scale(1.025); }
.context-card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 72px clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
  color: var(--white);
  background: linear-gradient(to top, rgba(17,17,15,.74) 0%, rgba(17,17,15,.42) 55%, rgba(17,17,15,0) 100%);
}
/* Imagens com muito detalhe (ex.: screenshot de interface): overlay mais denso para o texto. */
.context-card-media.is-dense .context-card-overlay {
  padding-top: 110px;
  background: linear-gradient(to top, rgba(17,17,15,.94) 0%, rgba(17,17,15,.78) 45%, rgba(17,17,15,0) 100%);
}
.context-card-overlay h3 {
  margin: 0;
  font-family: var(--font-hero);
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.context-card-overlay .text-link {
  font-size: .875rem;
  color: rgba(255,255,255,.82);
  transition: color .25s ease;
}
.context-card-overlay .text-link:hover { color: var(--white); }
.context-card-overlay .text-link:hover span { transform: translateX(3px); }
.context-card > p {
  max-width: 38ch;
  margin: 18px 0 0;
  font-size: .95rem;
  line-height: 1.5;
}

.logo-cloud { border-top: 1px solid var(--line); }
.logo-cloud-heading { margin-bottom: clamp(48px, 6vw, 88px); }
.logo-cloud-heading h2 {
  max-width: 17ch;
  margin-bottom: 0;
  font-family: var(--font-hero);
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}
.logo-cloud-heading p {
  max-width: 520px;
  margin: 24px 0 0;
}
.logo-cloud-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: clamp(36px, 4vw, 56px) 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-cloud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 8px 6px;
  text-align: center;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.logo-cloud-item:hover { transform: scale(1.07); }
.logo-cloud-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  color: var(--ink);
}
.logo-cloud-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Logos de marca (Simple Icons) são sólidos e ocupam o viewBox inteiro;
   um pouco menores para igualar o peso óptico dos ícones outline. */
.logo-cloud-icon svg.is-brand {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}
.logo-cloud-item strong {
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.25;
}
.logo-cloud-item small {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #85847d;
}

.outcomes {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ink);
  color: var(--white);
  padding-inline: max(var(--page-x), calc((100vw - var(--max-width))/2 + var(--page-x)));
}
.outcomes-heading { margin-bottom: clamp(52px, 6vw, 88px); }
.outcomes-heading h2 {
  max-width: 17ch;
  margin-bottom: 0;
  font-family: var(--font-hero);
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}
.outcomes-heading p {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.58);
}
/* Como funciona — sequência de 4 etapas */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 4.4vw, 72px);
  width: 100%;
  margin: 0;
  padding: clamp(36px, 4vw, 52px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.14);
}
.flow-step {
  position: relative;
  min-width: 0;
}
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: -6px;
  right: calc(clamp(40px, 4.4vw, 72px) / -2);
  transform: translateX(50%);
  color: rgba(255,255,255,.38);
  font-family: var(--font-hero);
  font-size: 1.25rem;
}
.flow-index {
  display: block;
  margin-bottom: clamp(28px, 3vw, 44px);
  color: rgba(255,255,255,.42);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
}
.flow-step h3 {
  margin-bottom: 16px;
  font-family: var(--font-hero);
  font-size: clamp(1.9rem, 2.6vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.05em;
}
.flow-step p {
  max-width: 30ch;
  margin: 0 0 24px;
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255,255,255,.58);
}
.flow-tags,
.results-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.flow-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-tags li {
  padding: 5px 9px;
  color: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .04em;
  line-height: 1.2;
}

/* Um sistema. Diferentes resultados. */
.results-block {
  width: 100%;
  margin-top: clamp(96px, 11vw, 170px);
  padding-top: clamp(56px, 6vw, 88px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.results-title {
  max-width: 16ch;
  margin-bottom: clamp(32px, 3.4vw, 48px);
  font-family: var(--font-hero);
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}
.results-tabs {
  gap: 8px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.results-tab {
  padding: 12px 18px;
  color: rgba(255,255,255,.62);
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.results-tab:hover { color: var(--white); border-color: rgba(255,255,255,.42); }
.results-tab:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }
.results-tab.is-active {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}
.results-panel { transition: opacity .2s ease; }
.results-panel.is-fading { opacity: 0; }
.results-list {
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.1);
}
.results-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-hero);
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: rgba(255,255,255,.9);
}
.results-list li::before {
  content: "—";
  flex-shrink: 0;
  color: rgba(255,255,255,.3);
  font-size: .7em;
}
.outcomes-close { margin-top: clamp(72px, 8vw, 120px); }

.site-footer { background: var(--ink); color: var(--white); padding: 0 var(--page-x) 34px; }
.footer-brand { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding: 80px 0 70px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { max-width: 280px; margin: 0 0 6px; color: rgba(255,255,255,.5); }
.footer-identity {
  --footer-mark: clamp(4rem, 9vw, 9rem);
  display: flex;
  align-items: center;
  gap: calc(var(--footer-mark) * .2);
  min-width: 0;
}
/* Mostra só o símbolo do campex-logo.png (bbox 292×292 em x15/y25 de 1567×354). */
.footer-symbol {
  --s: calc(var(--footer-mark) * .78);
  flex-shrink: 0;
  width: var(--s);
  height: var(--s);
  overflow: hidden;
}
.footer-symbol img {
  display: block;
  width: calc(var(--s) * 1567 / 292);
  max-width: none;
  height: auto;
  margin: calc(var(--s) * -25 / 292) 0 0 calc(var(--s) * -15 / 292);
  filter: invert(1);
}
.footer-meta { display: flex; flex-direction: column; gap: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.42);
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 58px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 10px; font-size: .75rem; color: rgba(255,255,255,.48); text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { color: rgba(255,255,255,.82); font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; font-size: .76rem; color: rgba(255,255,255,.42); }

.reveal-up, .reveal-scale { will-change: transform, opacity; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100svh - 100%);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--page-x) 28px;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 1.05rem;
  }
  .nav-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 14px;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-item.is-open > .nav-menu { display: grid; }
  .nav-menu a { padding: 10px 0; color: #4f4e49; }
  .nav-lang { padding-left: 0; border-left: 0; }
  .nav-lang .nav-trigger { justify-content: flex-start; }
  .nav-lang .nav-chevron { margin-left: auto; }
  .lang-option { padding: 10px 0; }
  .hero { min-height: 90svh; padding-top: 130px; }
  .hero-overlay-side { background: radial-gradient(ellipse at center, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 58%, rgba(0,0,0,.48) 100%), rgba(0,0,0,.38); }
  .intelligence-core {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .operation-visual {
    width: min(84vw, 620px);
    justify-self: start;
    margin-left: 0;
  }
  .intelligence-title { max-width: 720px; }
  .machine-view {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 82px;
  }
  .machine-view-copy {
    max-width: 720px;
  }
  .machine-view-copy h2 {
    max-width: 12ch;
  }
  .machine-viewer {
    width: calc(100% + var(--page-x));
    min-height: clamp(380px, 55vh, 560px);
    margin-right: calc(var(--page-x) * -1);
  }
  .human-cards { grid-template-columns: 1fr; gap: 40px; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .flow-step:not(:last-child)::after { display: none; }
  .logo-cloud-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
  .context-card-media { aspect-ratio: 4 / 3; }
  .feature-block,
  .feature-block.is-reversed { grid-template-columns: 1fr; gap: 36px; }
  .feature-block.is-reversed .feature-copy { order: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .logo-cloud-grid { row-gap: 34px; }
  .logo-cloud-item strong { font-size: .72rem; }
  .flow-steps { grid-template-columns: 1fr; row-gap: 0; }
  .flow-step { padding-bottom: 0; }
  .flow-step:not(:last-child) { margin-bottom: 88px; }
  .flow-step:not(:last-child)::after {
    display: block;
    content: "↓";
    top: auto;
    right: auto;
    bottom: -58px;
    left: 0;
    transform: none;
  }
  .flow-index { margin-bottom: 18px; }
  :root { --page-x: 20px; --section-y: 92px; }
  .site-header { gap: 14px; padding: 16px 20px; }
  .brand-logo { width: 112px; }
  .header-actions > .header-cta { display: none; }
  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 24px;
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
  }
  .hero { min-height: 85svh; padding: 118px 20px 72px; }
  h1 { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  h2 { font-size: clamp(2.6rem, 12vw, 4.4rem); }
  .hero h1 {
    max-width: min(100%, 8.4ch);
    margin-inline: auto;
    font-size: clamp(2.65rem, 10.4vw, 3.35rem);
    line-height: .96;
  }
  .hero h1 span {
    display: inline;
    white-space: normal;
  }
  .hero-copy { justify-self: center; width: min(100%, 320px); max-width: calc(100vw - 40px); }
  .hero .eyebrow {
    max-width: 240px;
    margin: 0 auto 26px;
    font-size: .66rem;
    line-height: 1.45;
    letter-spacing: .11em;
  }
  .hero-meta { display: none; }
  .hero-overlay-side { background: radial-gradient(ellipse at center, rgba(0,0,0,.18) 0%, rgba(0,0,0,.38) 58%, rgba(0,0,0,.58) 100%), rgba(0,0,0,.42); }
  .hero-overlay-vertical { background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 34%, rgba(0,0,0,.2) 58%, rgba(0,0,0,.68) 100%); }
  .intelligence {
    min-height: 96svh;
    justify-content: flex-start;
    gap: 34px;
    padding-top: 94px;
  }
  .intelligence-label {
    position: relative;
    top: auto;
    left: auto;
  }
  .intelligence-core {
    margin-top: 18px;
    gap: 38px;
  }
  .operation-visual {
    width: 100%;
    margin-left: 0;
    -webkit-mask-image:
      linear-gradient(90deg, #000 0%, #000 78%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 9%, #000 88%, transparent 100%);
    mask-image:
      linear-gradient(90deg, #000 0%, #000 78%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 9%, #000 88%, transparent 100%);
  }
  .operation-visual img {
    max-height: 34svh;
  }
  .intelligence-title {
    font-size: clamp(44px, 13.2vw, 58px);
    line-height: .96;
  }
  .question-marquee {
    margin-top: auto;
    left: 0;
    right: 0;
    bottom: 44px;
    width: 100%;
    font-size: clamp(18px, 5.8vw, 24px);
    gap: 9px;
  }
  .marquee-track {
    gap: 58px;
    padding-right: 58px;
    animation-duration: 68s;
  }
  .machine-view {
    padding: 86px 20px 74px;
    gap: 28px;
  }
  .machine-view-copy h2 {
    font-size: clamp(3rem, 13vw, 4.6rem);
    line-height: .98;
  }
  .machine-view-copy p {
    margin-bottom: 26px;
  }
  .machine-viewer {
    width: calc(100% + 20px);
    min-height: 390px;
  }
  .machine-viewer-ui {
    align-items: flex-end;
    font-size: .58rem;
  }
  .machine-viewer-ui span {
    max-width: 190px;
    line-height: 1.4;
  }
  .product-heading { margin-bottom: 42px; }
  .product-heading h2 { font-size: clamp(3.25rem, 14vw, 4.7rem); }
  .product,
  .product-shell,
  .evidence-area,
  .selected-context {
    min-width: 0;
  }
  .product {
    overflow-x: hidden;
  }
  .product-shell {
    width: 100%;
    overflow: hidden;
  }
  .feature-window { padding: 16px; }
  .feature-window .selected-context dl { grid-template-columns: 1fr; }
  .product-interface-top { align-items: flex-start; flex-direction: column; }
  .camera-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .camera-head span,
  .camera-head strong,
  .selected-context dd,
  .timeline-row strong,
  .timeline-row small {
    overflow-wrap: anywhere;
  }
  .camera-scene { min-height: 210px; }
  .moment-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline-row {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }
  .timeline-row small {
    grid-column: 2;
  }
  .product-footer { align-items: flex-start; flex-direction: column; }
  .question-grid { grid-template-columns: 1fr; }
  .question-card, .question-card:nth-child(odd), .question-card:nth-child(even) { padding: 26px 0; border-right: 0; }
  .question-card h3 { margin-top: 54px; }
  .footer-brand { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .marquee-row {
    width: 100%;
    flex-wrap: wrap;
  }
  .marquee-track {
    width: 100%;
    flex-wrap: wrap;
    transform: none !important;
  }
  .marquee-track[aria-hidden="true"] { display: none; }
}
