/* Phase 1 visual layer. Existing styles and content remain in index.html. */
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #080a10;
  --paper: #f2f0e9;
  --blue: #2453ff;
  --orange: #ff7939;
  --muted: #a0a5b4;
  --line: rgba(255, 255, 255, 0.14);
}
html {
  scroll-padding-top: 100px;
}
body.homepage {
  font-family: Manrope, Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}
.homepage::before {
  display: none;
}
.homepage ::selection {
  background: #2453ff;
  color: #fff;
}
.homepage .container {
  width: min(1360px, calc(100% - 112px));
}
.homepage a:focus-visible,
.homepage button:focus-visible,
.softwares-carousel:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 200;
  padding: 14px 20px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
}
.skip-link:focus {
  top: 12px;
}
.homepage .topbar {
  background: rgba(8, 10, 16, 0.97);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.homepage .nav {
  height: 88px;
  gap: 20px;
}
.homepage .brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.homepage .brand img {
  height: 48px;
  width: 192px;
  object-fit: contain;
}
.homepage .nav-links {
  gap: 20px;
  font-size: 11px;
  font-weight: 600;
}
.homepage .nav-links a {
  white-space: nowrap;
}
.homepage .nav-cta {
  background: var(--paper);
  color: var(--ink) !important;
  box-shadow: none;
  border-radius: 4px;
  padding: 12px 18px;
}
.homepage .support-cta {
  padding: 0;
  border: 0;
  background: none;
  color: #c5c8d1 !important;
  font-size: 10px;
}
.homepage .support-icon,
.homepage .support-icon svg {
  width: 15px;
  height: 15px;
}
.homepage .btn {
  border-radius: 4px;
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 650;
  gap: 35px;
}
.homepage .btn-primary {
  background: var(--blue);
  box-shadow: none;
}
.homepage .btn-primary:hover {
  background: #3a66ff;
  box-shadow: 0 8px 30px #2453ff33;
}
.homepage .btn-secondary {
  background: transparent;
}
.homepage .kicker {
  font-family: Manrope, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
}
.homepage h2 {
  font-weight: 500;
  letter-spacing: -3px;
}
.homepage section {
  scroll-margin-top: 20px;
}
.homepage .hero {
  padding: 0;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 72% 30%, #10225b50, transparent 60%);
}
.homepage .hero::before,
.homepage .hero::after {
  display: none;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-halo {
  position: absolute;
  width: 800px;
  height: 800px;
  right: -12%;
  top: -120px;
  background: radial-gradient(circle, #1c3ff92e, transparent 66%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#889bdf08 1px, transparent 1px),
    linear-gradient(90deg, #889bdf08 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent 25%, #000);
}
.homepage .hero-inner {
  text-align: left;
}
.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 33px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a1a6b6;
}
.edition-label {
  display: flex;
  gap: 10px;
  align-items: center;
}
.edition-label i,
.tag-two i,
.terminal-bottom i {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}
.hero-coordinate {
  font-size: 9px;
  color: #7b849b;
}
.hero-composition {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 70px 0 65px;
  pointer-events: none;
}
.hero-copy a {
  pointer-events: auto;
}
.hero-overline {
  font-size: 11px;
  letter-spacing: 2px;
  color: #a6aec3;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.homepage .hero h1 {
  font-size: clamp(72px, 8.5vw, 138px);
  letter-spacing: -0.085em;
  line-height: 0.98;
  font-weight: 500;
  margin: 0 0 32px;
  max-width: none;
  white-space: nowrap;
}
.homepage .hero h1 span {
  background: none;
  color: var(--paper);
}
.homepage .hero h1 sup {
  display: inline-block;
  font-size: 0.43em;
  color: var(--orange);
  font-weight: 400;
  margin-left: 0.12em;
  vertical-align: top;
  line-height: 1.5;
}
.homepage .hero-text {
  font-size: 15px;
  line-height: 1.85;
  max-width: 420px;
  margin: 0 0 28px;
  color: #a9aebd;
}
.homepage .hero .actions {
  justify-content: flex-start;
  align-items: center;
  gap: 28px;
}
.hero-contact {
  font-size: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #626674;
  display: flex;
  gap: 22px;
}
.hero-contact:hover {
  border-color: var(--orange);
}
.hero-visual {
  position: absolute;
  right: -35px;
  top: 15px;
  width: 55%;
  height: 600px;
  perspective: 1100px;
}
.orb-position {
  position: absolute;
  z-index: 0;
  width: 570px;
  right: -40px;
  top: -30px;
  pointer-events: none;
}
.connection-orb {
  display: block;
  width: 100%;
  transform: rotate(-18deg);
}
.hero-terminal-position {
  position: absolute;
  width: 400px;
  right: 10px;
  top: 255px;
  perspective: 1000px;
  z-index: 2;
}
.hero-terminal {
  background: linear-gradient(145deg, #18213bf2, #0c1020fa);
  background-color: #0c1020;
  border: 1px solid #ffffff2e;
  border-radius: 10px;
  box-shadow: 0 40px 80px #0009;
  transform: rotate(-7deg);
  transform-style: preserve-3d;
}
.terminal-bar {
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #ffffff14;
  color: #929aaf;
  font-size: 8px;
  letter-spacing: 1.1px;
}
.terminal-bar > span:first-child {
  display: flex;
  gap: 4px;
}
.terminal-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6a7185;
}
.terminal-body {
  padding: 24px;
}
.terminal-kicker {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #929db5;
}
.terminal-title {
  font-size: 29px;
  letter-spacing: -1.1px;
  margin: 8px 0 21px;
  font-weight: 500;
}
.terminal-title > span {
  color: var(--orange);
}
.system-diagram {
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 1px;
}
.system-diagram > span {
  padding: 14px 10px;
  background: #2453ff15;
  border: 1px solid #5885ff40;
  text-align: center;
  border-radius: 3px;
}
.system-diagram > b {
  font-size: 17px;
  color: var(--orange);
  font-weight: 400;
  text-align: center;
}
.system-diagram > b:nth-of-type(2) {
  grid-column: 1/-1;
  line-height: 0.6;
  transform: rotate(-35deg);
}
.terminal-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #8f9db9;
  margin-top: 22px;
}
.terminal-bottom i {
  margin-right: 5px;
  background: #8bb7ff;
}
.floating-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111724e8;
  border: 1px solid #ffffff26;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 10px;
  box-shadow: 0 15px 40px #0004;
  white-space: nowrap;
}
.tag-one {
  top: 152px;
  right: -8px;
  transform: rotate(5deg);
}
.tag-icon {
  font-size: 20px;
  color: var(--orange);
}
.tag-two {
  top: 537px;
  left: 75px;
  transform: rotate(3deg);
  font-size: 9px;
}
.visual-index {
  position: absolute;
  top: 575px;
  right: 12px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #73829e;
}
.hero-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #939aad;
  font-size: 9px;
}
.hero-bottom p {
  font-size: 9px;
  letter-spacing: 0.4px;
}
.hero-bottom > a:last-child {
  color: #d1d4de;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.scroll-cue > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 38px;
  border: 1px solid #ffffff33;
  border-radius: 18px;
  color: var(--paper);
  font-size: 15px;
}
.connection-bridge {
  /* Keep this reading surface above the outgoing hero, including its backdrop. */
  position: relative;
  z-index: 2;
  overflow: clip;
  padding: 52px 0 60px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #080a10, #0d111b);
}
.bridge-track {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 45px);
  width: max-content;
  margin-inline: auto;
  font-size: clamp(12px, 4.8vw, 126px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
  white-space: nowrap;
}
.bridge-track b {
  font-size: 0.9em;
  color: var(--orange);
  font-weight: 400;
}
.bridge-outline {
  color: transparent;
  -webkit-text-stroke: 1px #798196;
}
.homepage .services-editorial {
  padding: 140px 0 150px;
  background: linear-gradient(180deg, #0d111b, var(--ink));
}
.services-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
  align-items: start;
}
.services-intro {
  position: sticky;
  top: 120px;
}
.services-intro h2 {
  font-size: clamp(56px, 6.2vw, 92px);
  letter-spacing: -0.07em;
  line-height: 1.04;
  margin: 29px 0;
}
.services-intro h2 em,
.projects-heading h2 em {
  font-style: normal;
  color: var(--orange);
}
.muted-word {
  color: #737986;
}
.services-intro > p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 320px;
  color: #a1a7b6;
}
.service-signature {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 42px;
}
.service-signature > span {
  color: var(--orange);
  font-size: 70px;
  line-height: 1;
}
.service-signature small {
  font-size: 9px;
  line-height: 1.9;
  color: #8f98ac;
  letter-spacing: 0.4px;
}
.service-row {
  display: grid;
  grid-template-columns: 30px 1fr 25px;
  gap: 18px;
  padding: 32px 0 34px;
  border-top: 1px solid #ffffff27;
  position: relative;
}
.service-row:last-child {
  border-bottom: 1px solid #ffffff27;
}
.service-number {
  color: var(--orange);
  font-size: 10px;
  padding-top: 8px;
}
.service-row h3 {
  font-size: clamp(19px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.3;
  margin-bottom: 13px;
}
.service-row p {
  font-size: 13px;
  line-height: 1.9;
  color: #a0a7b6;
  max-width: 370px;
}
.service-type {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 20px;
  color: #737d92;
}
.service-arrow {
  font-size: 25px;
  color: #6c7486;
  transition:
    color 0.3s,
    transform 0.3s;
}
.service-row:hover .service-arrow {
  color: var(--orange);
  transform: translate(3px, -3px);
}
.homepage .projects-section {
  padding: 125px 0 0;
  position: relative;
  background: #101420;
  border-top: 1px solid #ffffff12;
  isolation: isolate;
}
.projects-heading h2 {
  font-size: clamp(58px, 8vw, 122px);
  letter-spacing: -0.075em;
  line-height: 1.03;
  margin: 30px 0 40px;
  font-weight: 500;
}
.projects-heading-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 80px;
}
.projects-heading-bottom p {
  font-size: 15px;
  line-height: 1.8;
  color: #a6adbd;
}
.projects-heading-bottom > span {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #9ba4b9;
}
.project {
  --project-accent: #6790ff;
  padding: 0 0 95px;
  overflow: clip;
}
.project-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 23px 0;
  border-top: 1px solid #ffffff26;
}
.project-top > span:last-child {
  color: #959eb2;
  font-size: 8px;
}
.project-stage {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  perspective: 1400px;
  margin: 0 22px;
  background:
    radial-gradient(ellipse at 50% 80%, #4b75ff88, transparent 70%),
    linear-gradient(135deg, #1532b6, #1b4cf4 50%, #153ebc);
  overflow: clip;
  border-radius: 3px;
}
.project-backdrop {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(90px, 14vw, 215px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1.1;
  color: #ffffff13;
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
}
.stage-orbit {
  position: absolute;
  width: 900px;
  height: 900px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  top: -120px;
  right: -340px;
  pointer-events: none;
  z-index: -1;
}
.stage-orbit::before,
.stage-orbit::after {
  content: "";
  position: absolute;
  inset: 80px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
}
.stage-orbit::after {
  inset: 160px;
}
.project-device {
  width: min(900px, 74%);
  position: relative;
  transform: rotate(-4deg);
  perspective: 1200px;
  z-index: 1;
  margin: 90px 0;
}
.mockup {
  border-radius: 9px;
  overflow: hidden;
  box-shadow:
    0 60px 90px #0005,
    0 0 0 1px #ffffff40;
  transform-style: preserve-3d;
  position: relative;
  font-family: Manrope, Arial, sans-serif;
  font-size: 10px;
}
.mockup-dark {
  background: #0f1420;
  color: #dce2f0;
  --ui-line: #ffffff12;
  --ui-muted: #8894ac;
  --ui-box: #ffffff03;
  --ui-accent: #6892ff;
}
.mockup-light {
  background: #f7f8fb;
  color: #252e41;
  --ui-line: #26375e13;
  --ui-muted: #788198;
  --ui-box: #ffffff;
  --ui-accent: #2453ff;
}
.mockup-chrome {
  height: 35px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ui-line);
  font-size: 7px;
  letter-spacing: 1.3px;
  color: var(--ui-muted);
  background: var(--ui-box);
}
.window-dots {
  letter-spacing: 2px;
  font-size: 7px;
  opacity: 0.65;
}
.dashboard {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 380px;
}
.dashboard-sidebar {
  border-right: 1px solid var(--ui-line);
  padding: 24px 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--ui-muted);
  font-size: 8px;
}
.dashboard-sidebar strong {
  font-size: 33px;
  letter-spacing: -3px;
  color: inherit;
  padding: 0 12px 20px;
}
.dashboard-sidebar strong > span {
  color: var(--ui-accent);
}
.dashboard-sidebar > span {
  padding: 10px;
  border-radius: 4px;
}
.dashboard-sidebar > span.active {
  background: #2453ff18;
  color: var(--ui-accent);
}
.dashboard-sidebar > small {
  font-size: 6px;
  line-height: 1.9;
  letter-spacing: 1.3px;
  padding: 30px 10px 0;
  margin-top: auto;
}
.dashboard-content {
  padding: 28px;
  min-width: 0;
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.dashboard-heading small {
  display: block;
  font-size: 6px;
  letter-spacing: 1.6px;
  color: var(--ui-muted);
  margin-bottom: 9px;
}
.dashboard-heading h4 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.mockup-pill {
  font-size: 7px;
  padding: 7px 10px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  white-space: nowrap;
  color: var(--ui-accent);
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.metric-row > div {
  border: 1px solid var(--ui-line);
  padding: 13px 14px;
  border-radius: 5px;
  background: var(--ui-box);
}
.metric-row small {
  font-size: 7px;
  color: var(--ui-muted);
}
.metric-row strong {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 19px;
  font-weight: 500;
  margin: 7px 0;
}
.metric-row strong > span {
  color: var(--ui-accent);
  font-size: 15px;
}
.metric-row > div > span {
  font-size: 6px;
  color: var(--ui-muted);
}
.delivery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}
.route-map {
  border: 1px solid var(--ui-line);
  border-radius: 5px;
  position: relative;
  background: #12234033;
  overflow: hidden;
  min-height: 160px;
}
.route-map svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.route-map > span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 6px;
  letter-spacing: 1.4px;
  color: var(--ui-muted);
}
.delivery-list > b {
  display: block;
  font-size: 9px;
  font-weight: 500;
  margin: 3px 0 12px;
}
.delivery-list > div {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--ui-line);
  padding: 11px 0;
  font-size: 8px;
}
.delivery-list i {
  width: 6px;
  height: 6px;
  background: #628aff;
  border-radius: 50%;
}
.delivery-list small {
  display: block;
  font-size: 6px;
  color: var(--ui-muted);
  margin-top: 4px;
}
.delivery-list em {
  margin-left: auto;
  font-style: normal;
  font-size: 7px;
  color: var(--ui-muted);
}
.mockup-disclaimer {
  font-size: 6px;
  letter-spacing: 1.6px;
  color: var(--ui-muted);
  padding: 10px 15px;
  border-top: 1px solid var(--ui-line);
  text-align: right;
}
.project-float-label {
  position: absolute;
  right: 5%;
  bottom: 70px;
  background: var(--paper);
  color: #151924;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 26px;
  transform: rotate(5deg);
  font-size: 40px;
  box-shadow: 0 20px 35px #0002;
  z-index: 2;
  border-radius: 2px;
}
.project-float-label > span {
  font-size: 10px;
  line-height: 1.7;
}
.project-caption {
  display: grid;
  grid-template-columns: 1fr 0.65fr 60px;
  gap: 50px;
  padding-top: 35px;
  align-items: center;
}
.project-category {
  display: block;
  color: #8f9bb3;
  font-size: 8px;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}
.project-caption h3 {
  font-size: clamp(24px, 3.2vw, 48px);
  letter-spacing: -1.8px;
  font-weight: 500;
  line-height: 1.15;
}
.project-caption p {
  font-size: 13px;
  line-height: 1.8;
  color: #a1aabc;
  max-width: 360px;
}
.project-caption > a {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 26px;
  transition:
    background 0.25s,
    transform 0.25s;
}
.project-caption > a:hover {
  background: var(--blue);
  transform: rotate(8deg);
}
.project-encomendas .project-stage {
  background:
    radial-gradient(ellipse at 10% 60%, #e4e9ed, transparent 70%),
    linear-gradient(125deg, #aab9cc, #c7cfd8);
  min-height: 650px;
}
.project-encomendas .project-backdrop {
  color: #53688622;
}
.project-encomendas .project-device {
  transform: rotate(3deg);
  margin-right: -8%;
}
.project-encomendas .project-float-label {
  background: #182944;
  color: #fff;
  right: auto;
  left: 5%;
  transform: rotate(-5deg);
}
.project-encomendas .stage-orbit {
  border-color: #33445c25;
  left: -350px;
  right: auto;
}
.order-tabs {
  display: flex;
  gap: 25px;
  font-size: 8px;
  padding: 5px 0 15px;
  border-bottom: 1px solid var(--ui-line);
  color: var(--ui-muted);
}
.order-tabs b {
  font-weight: 600;
  color: var(--ui-accent);
}
.order-table > div {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 1fr;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--ui-line);
  padding: 15px 0;
  font-size: 8px;
}
.order-table > div.table-heading {
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--ui-muted);
  padding: 15px 0 10px;
}
.table-icon {
  font-style: normal;
  background: #e8edf7;
  color: #607391;
  margin-right: 6px;
  padding: 5px;
  border-radius: 3px;
}
.order-table b {
  font-size: 7px;
  font-weight: 500;
  padding: 5px 7px;
  justify-self: start;
  border-radius: 3px;
}
.status-blue {
  background: #2453ff0e;
  color: #4165b8;
}
.status-orange {
  background: #fff0e0;
  color: #9b652e;
}
.status-green {
  background: #e3f1e8;
  color: #38815f;
}
.order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 5px 5px;
  color: var(--ui-muted);
  font-size: 7px;
}
.order-summary b {
  font-weight: 500;
  color: #556077;
  margin-left: 5px;
}
.order-summary i {
  font-style: normal;
}
.project-rentabilidade .project-stage {
  background:
    radial-gradient(ellipse at 30% 30%, #94562a, transparent 65%),
    linear-gradient(135deg, #38251e, #a6542a);
  min-height: 630px;
}
.project-rentabilidade .project-backdrop {
  color: #ffb17b16;
}
.project-rentabilidade .project-device {
  transform: rotate(-3deg);
  margin-left: -6%;
}
.project-rentabilidade .mockup-dark {
  background: #161516;
  --ui-accent: #ff9957;
}
.project-rentabilidade .project-float-label {
  background: #ff8a48;
  color: #281b16;
}
.analytics-content,
.automation-content {
  padding: 30px 35px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 24px;
}
.chart-panel {
  border: 1px solid var(--ui-line);
  padding: 18px;
  border-radius: 5px;
}
.chart-panel > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
}
.chart-panel small {
  font-size: 5px;
  letter-spacing: 1px;
  color: var(--ui-muted);
}
.chart-panel svg {
  width: 100%;
  display: block;
  margin: 25px 0 10px;
}
.chart-legend {
  display: flex;
  gap: 20px;
  font-size: 7px;
  color: var(--ui-muted);
}
.chart-legend i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #ff7939;
  border-radius: 50%;
  margin-right: 5px;
}
.chart-legend > span:last-child i {
  background: #5686ff;
}
.insight-stack {
  display: grid;
  gap: 12px;
}
.insight-stack > div {
  border: 1px solid var(--ui-line);
  padding: 19px;
  border-radius: 5px;
}
.insight-stack small {
  font-size: 6px;
  letter-spacing: 1.3px;
  color: var(--ui-muted);
}
.insight-stack strong {
  font-size: 17px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}
.insight-stack strong > span {
  color: #ff7939;
}
.insight-stack p {
  font-size: 7px;
  margin-top: 8px;
  color: var(--ui-muted);
  line-height: 1.7;
}
.mini-bars {
  display: flex;
  gap: 6px;
  height: 43px;
  align-items: flex-end;
  margin-top: 15px;
}
.mini-bars i {
  flex: 1;
  background: #ff8a4866;
  height: 30%;
}
.mini-bars i:nth-child(2n) {
  height: 60%;
}
.mini-bars i:nth-child(3n) {
  height: 45%;
}
.mini-bars i:nth-child(4n) {
  height: 75%;
}
.mini-bars i:last-child {
  height: 95%;
  background: #ff8a48;
}
.project-automacao .project-stage {
  background:
    radial-gradient(ellipse at 70% 70%, #f8b57b, transparent 65%),
    linear-gradient(135deg, #e9854a, #efa975);
  min-height: 620px;
}
.project-automacao .project-backdrop {
  color: #793b241c;
}
.project-automacao .project-device {
  transform: rotate(3deg);
  margin-right: -5%;
}
.project-automacao .mockup-light {
  background: #faf7f1;
  --ui-accent: #b75c2e;
}
.project-automacao .project-float-label {
  left: 5%;
  right: auto;
  transform: rotate(-5deg);
  background: #192037;
  color: #fff;
}
.automation-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 245px;
  background-image: radial-gradient(#8e776a30 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--ui-line);
  margin: 25px 0;
}
.workflow-node {
  background: #fffdf9;
  border: 1px solid #e7e0d7;
  border-radius: 6px;
  width: 160px;
  padding: 20px 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 20px #59412208;
}
.workflow-node > i {
  font-style: normal;
  font-size: 22px;
  border-radius: 7px;
  background: #f1ebe4;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ba7449;
  margin-bottom: 15px;
}
.workflow-node > strong {
  font-size: 10px;
  font-weight: 600;
}
.workflow-node > small {
  font-size: 7px;
  margin-top: 7px;
  color: var(--ui-muted);
}
.workflow-core {
  border-color: #cf7449;
  box-shadow: 0 0 0 5px #e2966922;
}
.workflow-core > i {
  background: #f67e3e;
  color: white;
}
.workflow-link {
  height: 1px;
  width: 50px;
  background: #bca898;
  position: relative;
}
.workflow-link > span {
  position: absolute;
  right: 0;
  top: -8px;
  color: #b07950;
  font-size: 14px;
}
.automation-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--ui-muted);
  padding: 0 0 4px;
}
.projects-note {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0 0 75px;
  font-size: 10px;
  line-height: 1.8;
  color: #8b95aa;
}
.projects-note > span {
  max-width: 450px;
}
.projects-note > a {
  color: var(--paper);
  white-space: nowrap;
}
.ecosystem-bridge {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 95px max(56px, calc((100vw - 1360px) / 2));
  font-size: clamp(60px, 8.5vw, 132px);
  letter-spacing: -0.075em;
  line-height: 1.05;
  overflow: clip;
}
.ecosystem-bridge > span,
.ecosystem-bridge > em {
  display: block;
  font-style: normal;
}
.ecosystem-bridge > em {
  color: #2453ff;
  margin-left: 16%;
}
.ecosystem-bridge > b {
  position: absolute;
  top: 22%;
  right: 8%;
  font-size: 1.1em;
  font-weight: 400;
  color: #ff7939;
}
/* Retained content: lighter visual treatment to continue the editorial rhythm. */
.homepage .softwares-section {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  padding: 10px 0 95px;
}
.homepage .softwares-head h2 {
  font-size: 36px;
  letter-spacing: -1.5px;
}
.homepage .softwares-head p {
  color: #636b79;
  font-size: 14px;
}
.homepage .software-card {
  background: transparent;
  border-color: #161e3326;
  border-radius: 5px;
  box-shadow: none;
  min-height: 115px;
}
.homepage .software-logo-frame {
  background: #fff;
  border: 0;
  box-shadow: none;
  border-radius: 3px;
}
.homepage .software-card::before {
  display: none;
}
.homepage .softwares-carousel {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #acb3c1 transparent;
}
.homepage .softwares-track {
  animation: none;
  width: max-content;
  padding-bottom: 8px;
}
.homepage .software-card[aria-hidden="true"] {
  display: none;
}
.homepage .softwares-carousel:focus-within .softwares-track {
  animation-play-state: paused;
}
.homepage .clients-section {
  padding: 110px 0;
  background: var(--ink);
  border: 0;
}
.homepage .section-head h2 {
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -2.5px;
}
.homepage .section-head p {
  font-size: 14px;
  line-height: 1.9;
}
.homepage .client-card {
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
  padding: 16px;
  min-height: 165px;
}
.homepage .client-logo-bg {
  border-radius: 3px;
  box-shadow: none;
  background: #f2f0e9;
}
.homepage .client-name {
  font-size: 13px;
  font-weight: 600;
}
.homepage .client-domain {
  font-size: 10px;
}
.homepage .client-card::before,
.homepage .panel::before,
.homepage .contact-card::before {
  display: none;
}
.homepage #solucoes,
.homepage #porque {
  padding: 75px 0;
  background: var(--ink);
}
.homepage .panel {
  border-radius: 5px;
  background: #11151f;
  box-shadow: none;
  padding: 32px;
}
.homepage .panel p {
  font-size: 15px;
}
.homepage .flow-row {
  border-radius: 3px;
  background: transparent;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid #ffffff1a;
}
.homepage .flow-row:last-child {
  border: 0;
}
.homepage .flow-num {
  border-radius: 3px;
  background: #2453ff20;
  color: #849fff;
  font-size: 12px;
}
.homepage .flow-row strong {
  font-size: 14px;
  font-weight: 600;
}
.homepage .flow-row span {
  font-size: 12px;
  line-height: 1.7;
  display: block;
}
.homepage .check-list {
  gap: 23px;
}
.homepage .check-list li {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}
.homepage .check-list li::before {
  background: transparent;
  color: var(--orange);
  font-size: 18px;
}
.homepage #contacto {
  padding: 85px 0 100px;
  background: var(--ink);
}
.homepage .contact-card {
  padding: 60px;
  border-radius: 5px;
  background: linear-gradient(130deg, #153ab9, #2453ff);
  box-shadow: none;
  border: 0;
  grid-template-columns: 1.1fr 0.9fr;
}
.homepage .contact-card .kicker {
  color: #c4d3ff;
}
.homepage .contact-card h2 {
  font-size: clamp(38px, 4.4vw, 66px);
  letter-spacing: -3px;
  font-weight: 500;
}
.homepage .contact-card p {
  color: #ccd8ff;
  font-size: 14px;
}
.homepage .contact-card::after {
  background: #3e65ed;
  opacity: 0.4;
}
.homepage .contact-card .btn-primary {
  background: var(--paper);
  color: #182b60;
}
.homepage .info-item {
  border: 1px solid #ffffff26;
  border-radius: 3px;
  background: #ffffff08;
}
.homepage .info-item small {
  color: #bacdff;
  font-size: 9px;
}
.homepage .info-item strong {
  font-size: 16px;
  font-weight: 600;
}
.homepage .info-icon {
  background: transparent;
  border: 0;
  color: #d1deff;
}
.homepage .footer {
  background: #07090d;
}
.homepage .footer-inner {
  flex-direction: row;
  justify-content: space-between;
}
.homepage .footer-copy {
  text-align: right;
  font-size: 10px;
}
.homepage .footer-links {
  justify-content: flex-end;
  font-size: 10px;
}
.homepage .empowered {
  font-size: 10px;
}
.homepage .footer-logo {
  width: 165px;
  height: auto;
}
.homepage .menu-btn {
  border-radius: 4px;
  background: none;
  backdrop-filter: none;
}
/* Ambient movement is gated by visibility and reduced-motion preferences. */
.motion-ready .orb-float {
  animation: orb-drift 12s ease-in-out infinite;
  animation-play-state: paused;
}

/* Independent transform owners: scroll on the outside, cursor on the inside.
   These wrappers do not alter the approved layout or the static fallback. */
.hero-terminal-inertia,
.orb-position,
.orb-pointer,
.hero-tag-plane {
  transform-style: preserve-3d;
}
/* Project each object in 3D, then paint it as a separate surface. The card's
   fade must not switch it from a shared 3D scene to a flattened one. */
.hero-visual,
.hero-terminal-position {
  transform-style: flat;
  overflow: visible;
}
.hero-terminal-inertia,
.orb-pointer {
  position: relative;
  width: 100%;
}
.hero-tag-plane {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.tag-two-plane {
  z-index: 4;
}
.project-depth-background {
  position: absolute;
  inset: 0;
  overflow: clip;
  border-radius: inherit;
  isolation: isolate;
  pointer-events: none;
  z-index: 0;
}
.project-continuity {
  display: none;
}
.network-world,
.network-midground,
.network-foreground,
.converging-data {
  display: none;
}
.homepage .projects-section {
  /* Keep horizontal decoration at the viewport edge, while allowing vertical
     continuity between projects. overflow: hidden would flatten the 3D scene. */
  overflow-x: clip;
  overflow-y: visible;
}

@media (prefers-reduced-motion: no-preference) {
  .homepage.spatial-ready {
    isolation: isolate;
  }
  .spatial-ready main,
  .spatial-ready .footer {
    position: relative;
    z-index: 1;
  }
  .spatial-ready .network-world,
  .spatial-ready .network-midground,
  .spatial-ready .network-foreground {
    display: block;
    position: fixed;
    inset: 0;
    overflow: clip;
    pointer-events: none;
    z-index: 0;
  }
  .spatial-ready .network-foreground {
    z-index: 4;
  }
  .spatial-ready .network-midground {
    z-index: 2;
  }
  .network-background,
  .network-starfield,
  .network-perspective,
  .network-camera,
  .network-focus,
  .network-mid-camera,
  .network-mid-pointer,
  .network-near-camera,
  .network-near-pointer {
    position: absolute;
    inset: 0;
  }
  .network-perspective,
  .network-midground,
  .network-foreground {
    perspective: 1200px;
    perspective-origin: 73% 40%;
  }
  .network-camera,
  .network-focus,
  .network-mid-camera,
  .network-mid-pointer,
  .network-near-camera,
  .network-near-pointer {
    transform-style: preserve-3d;
    transform-origin: 73% 40%;
  }
  .network-focus {
    mask-image: linear-gradient(90deg, transparent, #000 52%);
  }
  .network-background::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-image:
      linear-gradient(#628aff0c 1px, transparent 1px),
      linear-gradient(90deg, #628aff0c 1px, transparent 1px);
    background-size: 110px 110px;
    mask-image: radial-gradient(ellipse at 73% 40%, #000, transparent 70%);
  }
  .network-routes {
    width: 100%;
    height: 100%;
    opacity: 0.95;
  }
  .network-routes > g[stroke] {
    stroke-width: 1.25;
  }
  .network-starfield i {
    position: absolute;
    left: var(--px);
    top: var(--py);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: #aac4ff;
    opacity: 0.45;
    animation: network-drift 28s ease-in-out var(--delay) infinite paused;
  }
  .network-focus-core {
    transform-box: fill-box;
    transform-origin: center;
    animation: network-breathe 13s ease-in-out infinite paused;
  }
  .network-active .network-starfield i,
  .network-active .network-focus-core,
  .network-active .near-particle {
    animation-play-state: running;
  }
  .near-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #aec8ff 8%, #6c97ff80 35%, #6c97ff00 72%);
    pointer-events: none;
  }
  .near-particle-one { left: 8%; top: 28%; }
  .near-particle-two { right: 8%; top: 64%; width: 22px; height: 22px; }
  .near-particle-three { left: 42%; top: 86%; width: 12px; height: 12px; }
  .homepage.spatial-ready .services-editorial,
  .homepage.spatial-ready .projects-section {
    background: transparent;
  }
  .spatial-ready .project-depth-background {
    /* Preserve each project's colour, dissolve the rectangular section boundary. */
    mask-image: linear-gradient(
      180deg,
      transparent,
      #000 14%,
      #000 79%,
      transparent
    );
    transform-origin: 50% 45%;
  }
  .spatial-ready .project-device {
    pointer-events: none;
  }
  .spatial-ready .hero {
    overflow: visible;
    overflow-x: clip;
  }
  .spatial-ready .converging-data {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transform: translateZ(240px);
    transform-style: preserve-3d;
  }
  .converging-data svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .data-route {
    stroke: #ffc093;
    stroke-width: 1;
    transform-origin: 50% 50%;
  }
  .route-a,
  .route-c {
    stroke: #628aff;
  }
  .data-packet {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 42px;
    padding: 10px;
    border: 1px solid #ffc09380;
    border-radius: 5px;
    background: #1a2035;
  }
  .data-packet i {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #799cff;
  }
  .data-packet i:last-child {
    width: 60%;
    background: #ff8a48;
  }
  .spatial-ready .hero-visual {
    perspective: 1100px;
    perspective-origin: 65% 42%;
  }
  .spatial-ready .hero-terminal-position {
    perspective: 1100px;
  }
  .spatial-ready .hero-terminal .terminal-body {
    transform: translateZ(9px);
  }
  .spatial-ready .hero-terminal .terminal-bar {
    transform: translateZ(3px);
  }
  .spatial-ready .hero-grid {
    inset: -20px;
    animation: grid-drift 22s ease-in-out infinite paused;
  }
  .spatial-ready .hero.is-in-view .hero-grid {
    animation-play-state: running;
  }
  .spatial-ready .hero.is-in-view .hero-terminal-inertia,
  .spatial-ready .hero.is-in-view .orb-pointer,
  .spatial-ready .project.is-station-visible {
    will-change: transform;
  }
  .spatial-ready .project {
    position: relative;
    overflow: visible;
    /* The child stage owns the projection; this outer plane has no Z children. */
    perspective: none;
  }
  /* These surfaces contain only flat artwork (or already flatten via masking /
     overflow). Keep preserve-3d on the actual camera and mockup carriers. */
  .spatial-ready .network-focus,
  .spatial-ready .mockup {
    transform-style: flat;
  }
  .spatial-ready .project-stage {
    overflow: visible;
    isolation: auto;
    perspective: 1200px;
    /* Independent 2D paint order for background and projected mockup. Rotated
       corners can no longer intersect the background's Z=0 plane. */
    transform-style: flat;
  }
  .spatial-ready .project-device {
    overflow: visible;
    perspective: none;
    transform-style: flat;
    transform-origin: 50% 55%;
  }
  .spatial-ready .mockup-pointer {
    overflow: visible;
    perspective: none;
    transform-style: flat;
    transform-origin: 50% 50%;
  }
  .spatial-ready .mockup {
    /* Rounded clipping is local and static, inside both motion carriers. */
    transform: none;
    perspective: none;
  }
  .spatial-ready .project-encomendas .project-device {
    transform-origin: 32% 50%;
  }
  .spatial-ready .project-rentabilidade .project-device {
    transform-origin: 50% 72%;
  }
  .spatial-ready .project-automacao .project-device {
    transform-origin: 50% 50%;
  }
  .spatial-ready .project-caption {
    position: relative;
    z-index: 4;
  }
  .spatial-ready .project-float-label {
    pointer-events: none;
  }
  /* A continuation of the existing orbit motif crosses only the outer gutter.
     Content stays above it, and the root already clips horizontal decoration. */
  .spatial-ready .project-continuity {
    display: block;
    position: absolute;
    bottom: -110px;
    right: -105px;
    width: 285px;
    height: 350px;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
  }
  .project-continuity > span,
  .project-continuity > span::before {
    position: absolute;
    inset: 0;
    border: 1px solid #9cb4ff;
    border-radius: 50%;
    transform: rotate(24deg) scaleX(0.68);
  }
  .project-continuity > span::before {
    content: "";
    inset: 25px;
    transform: none;
  }
  .project-encomendas .project-continuity {
    left: -105px;
    right: auto;
    bottom: -85px;
  }
  .project-encomendas .project-continuity > span,
  .project-encomendas .project-continuity > span::before,
  .project-rentabilidade .project-continuity > span,
  .project-rentabilidade .project-continuity > span::before {
    border-color: #e8a77e;
  }
}

@keyframes network-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(9px, -16px, 0);
  }
}
@keyframes network-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
@keyframes grid-drift {
  0%,
  100% {
    transform: translate3d(-3px, 2px, 0) scale(1.015);
  }
  50% {
    transform: translate3d(5px, -5px, 0) scale(1.025);
  }
}
.motion-ready .hero.is-in-view .orb-float {
  animation-play-state: running;
}
@keyframes orb-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}
@media (min-width: 1700px) {
  .hero-composition {
    min-height: 730px;
  }
  .hero-visual {
    top: 35px;
  }
  .hero-copy {
    padding-top: 85px;
  }
}
@media (max-width: 1250px) {
  .homepage .container {
    width: calc(100% - 72px);
  }
  .homepage .nav-links {
    gap: 13px;
    font-size: 10px;
  }
  .homepage .brand img {
    width: 150px;
    height: auto;
  }
  .homepage .support-cta {
    font-size: 0;
    gap: 0;
  }
  .homepage .support-icon,
  .homepage .support-icon svg {
    width: 20px;
    height: 20px;
  }
  .hero-composition {
    min-height: 630px;
  }
  .hero-visual {
    right: -10px;
    top: 40px;
  }
  .orb-position {
    width: 490px;
    right: -85px;
  }
  .hero-terminal-position {
    width: 345px;
    right: -5px;
    top: 245px;
  }
  .terminal-title {
    font-size: 25px;
  }
  .tag-one {
    right: -5px;
    top: 135px;
  }
  .tag-two {
    left: 30px;
    top: 520px;
  }
  .visual-index {
    top: 575px;
  }
  .services-layout {
    gap: 60px;
  }
  .project-stage {
    min-height: 580px;
  }
  .project-encomendas .project-stage,
  .project-rentabilidade .project-stage,
  .project-automacao .project-stage {
    min-height: 570px;
  }
  .project-device {
    width: 80%;
  }
  .project-caption {
    gap: 35px;
  }
  .ecosystem-bridge {
    padding-left: 36px;
    padding-right: 36px;
  }
}
@media (max-width: 1000px) {
  .homepage .nav {
    height: 76px;
  }
  .homepage .menu-btn {
    display: inline-flex;
  }
  .homepage .nav-links {
    display: flex;
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 0;
  }
  .homepage:not(.js-ready) .nav {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
  }
  .homepage:not(.js-ready) .menu-btn {
    display: none;
  }
  .homepage.js-ready .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: #101522;
    border: 1px solid #ffffff26;
    border-radius: 5px;
    padding: 22px;
    box-shadow: 0 25px 40px #0008;
    backdrop-filter: none;
  }
  .homepage.js-ready .nav-links.open {
    display: flex;
  }
  .homepage .nav-links a {
    padding: 10px;
    font-size: 13px;
  }
  .homepage .support-cta {
    font-size: 13px;
    gap: 10px;
  }
  .homepage .hero h1 {
    font-size: clamp(66px, 9vw, 94px);
  }
  .hero-copy {
    padding: 60px 0 70px;
  }
  .hero-composition {
    min-height: 630px;
  }
  .hero-visual {
    width: 51%;
    top: 30px;
    right: -20px;
  }
  .hero-terminal-position {
    width: 310px;
    top: 290px;
    right: 0;
  }
  .orb-position {
    width: 450px;
    right: -100px;
    top: 15px;
  }
  .tag-one {
    top: 200px;
    right: 0;
    font-size: 8px;
  }
  .tag-two {
    left: 0;
    top: 540px;
    font-size: 8px;
  }
  .visual-index {
    display: none;
  }
  .homepage .hero-text {
    max-width: 330px;
    font-size: 13px;
  }
  .hero-bottom p {
    display: none;
  }
  .services-layout {
    gap: 45px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .services-intro h2 {
    font-size: 65px;
  }
  .service-row {
    gap: 12px;
    grid-template-columns: 20px 1fr 20px;
  }
  .service-row h3 {
    font-size: 22px;
  }
  .project-stage,
  .project-encomendas .project-stage,
  .project-rentabilidade .project-stage,
  .project-automacao .project-stage {
    min-height: 490px;
  }
  .project-device {
    width: 86%;
  }
  .mockup {
    font-size: 8px;
  }
  .dashboard {
    grid-template-columns: 110px 1fr;
    min-height: 330px;
  }
  .dashboard-sidebar {
    padding: 20px 7px;
    font-size: 6px;
  }
  .dashboard-content {
    padding: 20px;
  }
  .dashboard-heading h4 {
    font-size: 17px;
  }
  .metric-row strong {
    font-size: 15px;
  }
  .metric-row > div {
    padding: 10px;
  }
  .project-float-label {
    padding: 15px 18px;
    bottom: 35px;
    font-size: 30px;
  }
  .project-float-label > span {
    font-size: 8px;
  }
  .analytics-content,
  .automation-content {
    padding: 25px;
  }
  .workflow-node {
    width: 140px;
    padding: 15px 8px;
  }
  .workflow-link {
    width: 30px;
  }
  .project-caption {
    grid-template-columns: 1fr 0.7fr 45px;
    gap: 25px;
  }
  .project-caption > a {
    width: 44px;
    height: 44px;
  }
  .project-caption h3 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .project-caption p {
    font-size: 12px;
  }
  .homepage .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .homepage .contact-card {
    padding: 40px;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .homepage .info-item {
    padding: 12px;
    gap: 8px;
  }
  .homepage .info-item strong {
    font-size: 13px;
  }
  .homepage .contact-card h2 {
    font-size: 40px;
    letter-spacing: -2px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }
  .homepage .container {
    width: calc(100% - 40px);
  }
  .homepage .nav {
    height: 70px;
  }
  .homepage .brand img {
    width: 148px;
    height: 38px;
  }
  .homepage.js-ready .nav-links {
    top: 70px;
  }
  .homepage .nav-links::before {
    display: none;
  }
  .homepage .nav-links a {
    border: 0;
    background: none;
    border-radius: 3px;
  }
  .homepage .nav-links .nav-cta {
    background: var(--paper) !important;
    color: var(--ink) !important;
  }
  .homepage .nav-links .support-cta {
    background: none !important;
  }
  .hero-topline {
    padding-top: 23px;
    font-size: 8px;
  }
  .hero-coordinate {
    display: none;
  }
  .hero-composition {
    display: block;
    min-height: 0;
  }
  .hero-copy {
    padding: 48px 0 0;
  }
  .hero-overline {
    font-size: 8px;
    letter-spacing: 1.7px;
    margin-bottom: 22px;
  }
  .homepage .hero h1 {
    font-size: clamp(54px, 12.5vw, 94px);
    letter-spacing: -0.075em;
    line-height: 1.05;
    margin-bottom: 25px;
  }
  .homepage .hero h1 sup {
    font-size: 0.44em;
    margin-left: 0.1em;
  }
  .homepage .hero-text {
    font-size: 13px;
    max-width: 420px;
    line-height: 1.85;
    margin-bottom: 24px;
  }
  .homepage .hero .actions {
    flex-direction: row;
    gap: 23px;
    align-items: center;
  }
  .homepage .hero .btn {
    width: auto;
    font-size: 11px;
    padding: 16px 18px;
    gap: 20px;
  }
  .hero-contact {
    font-size: 10px;
    gap: 12px;
  }
  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 395px;
    margin-top: 10px;
  }
  .orb-position {
    width: 400px;
    right: -50px;
    top: -15px;
  }
  .hero-terminal-position {
    width: 300px;
    right: 25px;
    top: 122px;
  }
  .terminal-body {
    padding: 20px;
  }
  .terminal-title {
    font-size: 24px;
  }
  .terminal-kicker {
    font-size: 7px;
  }
  .system-diagram {
    font-size: 7px;
    gap: 6px;
  }
  .system-diagram > span {
    padding: 11px 7px;
  }
  .terminal-bottom {
    margin-top: 17px;
    font-size: 7px;
  }
  .tag-one {
    right: -5px;
    top: 73px;
    font-size: 8px;
    padding: 9px 12px;
  }
  .tag-two {
    left: 0;
    top: 337px;
    font-size: 8px;
    padding: 10px 12px;
  }
  .hero-bottom {
    padding: 17px 0 20px;
    font-size: 8px;
  }
  .connection-bridge {
    padding: 35px 0;
  }
  .homepage .services-editorial {
    padding: 75px 0 85px;
  }
  .services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-intro {
    position: static;
  }
  .services-intro h2 {
    font-size: clamp(52px, 11vw, 80px);
    margin: 25px 0;
    line-height: 1.05;
  }
  .services-intro h2 br:nth-of-type(2) {
    display: none;
  }
  .services-intro h2 .muted-word {
    margin-left: 0.12em;
  }
  .services-intro > p {
    max-width: 420px;
    font-size: 13px;
  }
  .service-signature {
    display: none;
  }
  .service-row {
    padding: 25px 0;
    grid-template-columns: 22px 1fr 22px;
    gap: 12px;
  }
  .service-row h3 {
    font-size: 23px;
  }
  .service-row p {
    font-size: 12px;
  }
  .service-type {
    font-size: 7px;
    margin-top: 14px;
  }
  .homepage .projects-section {
    padding-top: 70px;
  }
  .projects-heading h2 {
    font-size: clamp(48px, 10vw, 76px);
    letter-spacing: -0.075em;
    margin: 25px 0;
  }
  .projects-heading-bottom {
    display: block;
    padding-bottom: 45px;
  }
  .projects-heading-bottom p {
    font-size: 13px;
    margin-bottom: 23px;
  }
  .projects-heading-bottom > span {
    font-size: 7px;
  }
  .project {
    padding-bottom: 55px;
  }
  .project-top {
    font-size: 8px;
    padding: 17px 0;
    letter-spacing: 1px;
  }
  .project-top > span:last-child {
    font-size: 6px;
  }
  .project-stage,
  .project-encomendas .project-stage,
  .project-rentabilidade .project-stage,
  .project-automacao .project-stage {
    min-height: 370px;
    margin: 0 8px;
  }
  .project-backdrop {
    font-size: 80px;
    top: 18px;
    letter-spacing: -5px;
  }
  .project-device {
    width: 90%;
    margin: 85px 0;
    transform: rotate(-3deg);
  }
  .project-encomendas .project-device,
  .project-rentabilidade .project-device,
  .project-automacao .project-device {
    margin-left: 0;
    margin-right: 0;
  }
  .mockup {
    border-radius: 5px;
  }
  .mockup-chrome {
    height: 25px;
    padding: 0 10px;
    font-size: 4px;
    letter-spacing: 0.7px;
  }
  .window-dots {
    font-size: 4px;
  }
  .dashboard {
    grid-template-columns: 52px 1fr;
    min-height: 225px;
  }
  .dashboard-sidebar {
    padding: 14px 5px;
    gap: 10px;
    font-size: 0;
  }
  .dashboard-sidebar > span {
    font-size: 0;
    padding: 6px 4px;
  }
  .dashboard-sidebar > span::first-letter {
    font-size: 11px;
  }
  .dashboard-sidebar strong {
    font-size: 23px;
    letter-spacing: -2px;
    padding: 0 5px 10px;
  }
  .dashboard-sidebar > small {
    display: none;
  }
  .dashboard-content {
    padding: 15px 12px;
  }
  .dashboard-heading {
    gap: 7px;
    margin-bottom: 14px;
  }
  .dashboard-heading small {
    font-size: 4px;
    letter-spacing: 0.7px;
    margin-bottom: 6px;
  }
  .dashboard-heading h4 {
    font-size: 11px;
    letter-spacing: -0.3px;
  }
  .mockup-pill {
    font-size: 4px;
    padding: 5px;
    letter-spacing: 0;
  }
  .metric-row {
    gap: 6px;
    margin-bottom: 12px;
  }
  .metric-row > div {
    padding: 8px 6px;
  }
  .metric-row small {
    font-size: 4px;
  }
  .metric-row strong {
    font-size: 10px;
    margin: 4px 0;
  }
  .metric-row strong > span {
    font-size: 9px;
  }
  .metric-row > div > span {
    font-size: 4px;
  }
  .delivery-grid {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }
  .route-map {
    min-height: 108px;
  }
  .route-map > span {
    font-size: 4px;
    left: 7px;
    bottom: 7px;
    letter-spacing: 0.5px;
  }
  .delivery-list > b {
    font-size: 5px;
    margin-bottom: 5px;
  }
  .delivery-list > div {
    gap: 5px;
    padding: 8px 0;
    font-size: 5px;
  }
  .delivery-list i {
    width: 3px;
    height: 3px;
  }
  .delivery-list small {
    font-size: 4px;
    margin-top: 3px;
  }
  .delivery-list em {
    font-size: 4px;
  }
  .mockup-disclaimer {
    font-size: 4px;
    letter-spacing: 0.7px;
    padding: 7px 9px;
  }
  .project-float-label {
    bottom: 24px;
    right: 5%;
    padding: 11px 15px;
    font-size: 25px;
    gap: 10px;
  }
  .project-float-label > span {
    font-size: 7px;
  }
  .project-caption {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 20px;
    padding-top: 25px;
    align-items: start;
  }
  .project-caption h3 {
    font-size: 28px;
    letter-spacing: -1.2px;
  }
  .project-caption > p {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
    max-width: 400px;
  }
  .project-caption > a {
    grid-column: 2;
    grid-row: 1;
    width: 39px;
    height: 39px;
    font-size: 23px;
    margin-top: 17px;
  }
  .project-category {
    font-size: 7px;
    margin-bottom: 9px;
  }
  .order-tabs {
    font-size: 5px;
    gap: 15px;
    padding: 0 0 10px;
  }
  .order-table > div {
    font-size: 4px;
    gap: 7px;
    padding: 12px 0;
    grid-template-columns: 1.7fr 0.65fr 1fr;
  }
  .order-table > div.table-heading {
    font-size: 4px;
    letter-spacing: 0.2px;
    padding: 10px 0;
  }
  .table-icon {
    padding: 3px;
    margin-right: 3px;
  }
  .order-table b {
    font-size: 4px;
    padding: 4px;
  }
  .order-summary {
    font-size: 4px;
    padding: 18px 0 0;
    gap: 5px;
  }
  .order-summary b {
    margin-left: 2px;
  }
  .analytics-content,
  .automation-content {
    padding: 17px 14px;
  }
  .analytics-grid {
    gap: 10px;
    grid-template-columns: 1.5fr 0.8fr;
  }
  .chart-panel {
    padding: 9px;
  }
  .chart-panel > div:first-child {
    font-size: 5px;
    gap: 5px;
  }
  .chart-panel small {
    display: none;
  }
  .chart-panel svg {
    margin: 28px 0 14px;
  }
  .chart-legend {
    font-size: 4px;
    gap: 10px;
  }
  .chart-legend i {
    width: 3px;
    height: 3px;
    margin-right: 3px;
  }
  .insight-stack {
    gap: 7px;
  }
  .insight-stack > div {
    padding: 10px 8px;
  }
  .insight-stack small {
    font-size: 4px;
    letter-spacing: 0.5px;
  }
  .insight-stack strong {
    font-size: 9px;
    gap: 3px;
    margin-top: 5px;
  }
  .insight-stack p {
    font-size: 4px;
    margin-top: 5px;
  }
  .mini-bars {
    height: 25px;
    gap: 4px;
    margin-top: 10px;
  }
  .project-rentabilidade .project-stage {
    min-height: 340px;
  }
  .automation-canvas {
    min-height: 175px;
    margin: 15px 0;
    background-size: 10px 10px;
  }
  .workflow-node {
    width: 82px;
    padding: 12px 5px;
    border-radius: 4px;
  }
  .workflow-node > i {
    width: 26px;
    height: 26px;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .workflow-node > strong {
    font-size: 6px;
  }
  .workflow-node > small {
    font-size: 4px;
    margin-top: 5px;
  }
  .workflow-link {
    width: 16px;
  }
  .workflow-link > span {
    font-size: 10px;
    top: -6px;
  }
  .automation-bottom {
    font-size: 3.5px;
    letter-spacing: 0.3px;
    gap: 5px;
  }
  .projects-note {
    display: block;
    padding-bottom: 40px;
    font-size: 9px;
  }
  .projects-note > a {
    display: block;
    margin-top: 18px;
    white-space: normal;
  }
  .ecosystem-bridge {
    padding: 65px 20px;
    font-size: clamp(47px, 11vw, 80px);
  }
  .ecosystem-bridge > em {
    margin-left: 5%;
  }
  .ecosystem-bridge > b {
    top: 22px;
    right: 20px;
    font-size: 50px;
  }
  .homepage .softwares-section {
    padding: 10px 0 60px;
  }
  .homepage .softwares-head h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .homepage .softwares-head p {
    font-size: 12px;
  }
  .homepage .software-card {
    flex-basis: 140px;
    min-height: 95px;
  }
  .homepage .clients-section {
    padding: 65px 0;
  }
  .homepage .section-head h2 {
    font-size: 35px;
    letter-spacing: -1.6px;
  }
  .homepage .section-head p {
    font-size: 13px;
  }
  .homepage .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .homepage .client-card {
    padding: 11px;
    min-height: 145px;
  }
  .homepage .client-logo-bg {
    height: 75px;
    padding: 10px;
    margin-bottom: 10px;
  }
  .homepage .client-name {
    font-size: 11px;
  }
  .homepage .client-domain {
    font-size: 8px;
  }
  .homepage .client-card::after {
    display: none;
  }
  .homepage #solucoes,
  .homepage #porque {
    padding: 40px 0;
  }
  .homepage .panel {
    padding: 25px;
  }
  .homepage .panel h2 {
    font-size: 35px;
    letter-spacing: -1.8px;
  }
  .homepage .panel p {
    font-size: 13px;
  }
  .homepage .check-list li {
    font-size: 13px;
  }
  .homepage #contacto {
    padding: 55px 0;
  }
  .homepage .contact-card {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .homepage .contact-card h2 {
    font-size: 37px;
    letter-spacing: -2px;
  }
  .homepage .contact-card p {
    font-size: 13px;
  }
  .homepage .contact-card .btn {
    font-size: 12px;
    padding: 15px;
  }
  .homepage .info-item {
    padding: 13px;
  }
  .homepage .info-item strong {
    font-size: 14px;
  }
  .homepage .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
  .homepage .footer-copy {
    text-align: center;
    font-size: 9px;
  }
  .homepage .footer-links {
    justify-content: center;
    font-size: 9px;
  }
  .homepage .empowered {
    font-size: 9px;
  }
  .homepage .footer-logo {
    width: 150px;
  }
  .homepage:not(.js-ready) .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 5px 0 15px;
    gap: 4px;
    box-shadow: none;
    border: 0;
    max-height: none;
    background: none;
  }
  .homepage:not(.js-ready) .nav-links a {
    font-size: 10px;
    padding: 8px;
  }
  .homepage:not(.js-ready) .topbar {
    position: relative;
  }
}
@media (max-width: 380px) {
  .homepage .container {
    width: calc(100% - 32px);
  }
  .homepage .hero h1 {
    font-size: 12.7vw;
  }
  .hero-terminal-position {
    width: 270px;
    right: 8px;
  }
  .hero-visual {
    height: 385px;
  }
  .orb-position {
    width: 370px;
    right: -62px;
  }
  .tag-two {
    top: 330px;
  }
  .hero-contact {
    font-size: 9px;
    gap: 8px;
  }
  .homepage .hero .actions {
    gap: 17px;
  }
  .homepage .hero .btn {
    font-size: 10px;
    gap: 14px;
  }
  .services-intro h2 {
    font-size: 49px;
  }
  .service-row h3 {
    font-size: 21px;
  }
  .dashboard-heading h4 {
    font-size: 9px;
  }
  .mockup-pill {
    font-size: 3.5px;
  }
  .metric-row strong {
    font-size: 9px;
  }
  .metric-row > div > span {
    font-size: 3.5px;
  }
  .workflow-node {
    width: 72px;
  }
  .workflow-link {
    width: 12px;
  }
  .project-caption h3 {
    font-size: 25px;
  }
  .projects-heading h2 {
    font-size: 43px;
  }
}
/* One viewport-sized stage: the four existing articles are stations along Z.
   Without the enhancement class their original document layout is untouched. */
@media (prefers-reduced-motion: no-preference) {
  .station-mode .project-voyage {
    position: relative;
    height: calc(100svh - 88px);
    min-height: 0;
    perspective: 1100px;
    perspective-origin: 58% 44%;
    transform-style: preserve-3d;
  }
  .station-mode .project-voyage > .project {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 42px minmax(0, 1fr) 170px;
    padding: 0;
    /* The station has one camera projection. Its internal mockup perspective
       is composited here, avoiding a second Z projection at opacity: 1. */
    transform-style: flat;
    transform-origin: 58% 44%;
    pointer-events: none;
    visibility: hidden;
  }
  .station-mode .project-voyage > .project.is-station-visible { visibility: visible; }
  .station-mode .project-top {
    padding: 12px 0;
    border-top: 0;
  }
  .station-mode .project-stage {
    min-height: 0;
    height: 100%;
    margin: 0 20px;
    overflow: visible;
  }
  .station-mode .project-device {
    width: min(900px, 82%);
    margin: 0;
  }
  .station-mode .project-caption {
    align-self: center;
    padding: 18px 0;
    opacity: 1;
  }
  .station-mode .project-caption h3 {
    font-size: clamp(26px, 3.4vw, 46px);
  }
  .station-mode .project-caption p {
    font-size: 12px;
  }
  .station-mode .project.is-station-current .project-caption a {
    pointer-events: auto;
  }
  .station-mode .project-float-label {
    bottom: 15%;
  }
  .station-mode .project-continuity {
    display: none;
  }
  .station-mode .projects-note {
    position: relative;
    z-index: 8;
    padding-top: 40px;
  }
}
/* The touch journey keeps depth and scale; only decoration density is reduced. */
@media (max-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .spatial-mobile .network-perspective,
  .spatial-mobile .network-midground,
  .spatial-mobile .network-foreground,
  .spatial-mobile .project-stage {
    perspective: 900px;
  }
  .spatial-mobile .hero-visual {
    perspective: 900px;
  }
  .spatial-mobile .near-particle-two {
    width: 20px;
    height: 20px;
  }
  .spatial-mobile .network-starfield i:nth-child(2n),
  .spatial-mobile .near-particle-three,
  .spatial-mobile .project-continuity {
    display: none;
  }
  .spatial-mobile .network-routes {
    opacity: 0.72;
  }
  .spatial-mobile .converging-data {
    transform: translateZ(210px);
  }
  .spatial-mobile .data-packet {
    width: 44px;
    height: 30px;
    padding: 5px;
  }
  .spatial-mobile .project-device {
    transform-origin: 50% 50%;
    /* No cursor rotation on its flat child; the stage still projects the device. */
    perspective: none;
  }
  .spatial-mobile .project-depth-background {
    mask-image: linear-gradient(
      180deg,
      transparent,
      #000 12%,
      #000 83%,
      transparent
    );
  }
  .station-mode.spatial-mobile .project-voyage {
    height: calc(100svh - 70px);
    perspective: 850px;
    perspective-origin: 50% 42%;
  }
  .station-mode.spatial-mobile .project-voyage > .project {
    grid-template-rows: 35px minmax(0, 1fr) 185px;
    transform-origin: 50% 42%;
  }
  .station-mode.spatial-mobile .project-stage {
    margin: 0 8px;
  }
  .station-mode.spatial-mobile .project-device {
    width: 90%;
  }
  .station-mode.spatial-mobile .project-caption {
    padding: 10px 0;
  }
  .station-mode.spatial-mobile .project-caption h3 {
    font-size: clamp(23px, 5.8vw, 34px);
  }
  .station-mode.spatial-mobile .project-caption p {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.5;
  }
  .station-mode.spatial-mobile .project-float-label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .homepage *,
  .homepage *::before,
  .homepage *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-terminal,
  .project-device {
    transform: none;
  }
  .homepage .softwares-track {
    animation: none !important;
  }
  .homepage .client-card:hover,
  .homepage .software-card:hover,
  .homepage .btn:hover {
    transform: none;
  }
}

/* Quiet desktop-only balance. No panels, filters or extra input listeners. */
.hero-left-space { display: none; }
.hero-space-extra { display: none; }
@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  .spatial-ready .hero-left-space {
    display: block;
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
  }
  .hero-space-bit {
    position: absolute;
    left: var(--x);
    top: var(--y);
    color: #8aaaff;
    opacity: var(--alpha);
    animation: hero-space-drift var(--drift-time, 38s) ease-in-out var(--delay) infinite paused;
  }
  .hero-space-plane {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
  }
  .hero-space-particle {
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: currentColor;
  }
}
/* Stronger desktop presence, without inheriting into large touch tablets. */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .spatial-ready .network-midground { perspective-origin: 25% 40%; }
  .hero-space-extra { display: block; }
  .hero-space-plane { transform-origin: 25% 40%; }
  .hero-space-far { --drift-time: 48s; --drift-x: 4px; --drift-y: -6px; }
  .hero-space-mid { --drift-time: 38s; --drift-x: 9px; --drift-y: -12px; }
  .hero-space-near { --drift-time: 32s; --drift-x: 14px; --drift-y: -18px; }
  .hero-space-bit { color: #a7c4ff; }
  .hero-space-far .hero-space-particle { opacity: .52; }
  .hero-space-mid .hero-space-particle { opacity: .56; }
  .hero-space-near .hero-space-particle {
    width: calc(var(--size) + 1px);
    height: calc(var(--size) + 1px);
    opacity: .44;
    background: radial-gradient(circle, #c1d4ff 15%, #7ea1ff 48%, #7ea1ff00 74%);
  }
  .hero-space-node { opacity: .4; }
  .hero-space-node:not(.hero-space-extra) { width: 120px; height: auto; }
  .hero-space-node-small:not(.hero-space-extra) { width: 84px; left: 9%; top: 14%; }
}
@keyframes hero-space-drift {
  0%, 100% { transform: translate3d(0, 0, var(--depth)); }
  50% { transform: translate3d(var(--drift-x, 5px), var(--drift-y, -8px), var(--depth)); }
}

/* UI has its own short CSS response; it never inherits camera inertia. */
.homepage a,
.homepage button,
.homepage .nav-links a,
.homepage .btn,
.homepage .menu-btn,
.homepage .hero-contact,
.homepage .project-caption a {
  transition-property: background-color, color, border-color, transform;
  transition-duration: 140ms;
  transition-timing-function: ease-out;
  transition-delay: 0ms;
}
.homepage .nav-links .support-cta {
  position: relative;
  isolation: isolate;
  padding: 10px 12px;
  border: 1px solid rgba(255, 106, 0, .44);
  border-radius: 999px;
  background: rgba(255, 106, 0, .09) !important;
  color: #ffbe91 !important;
  box-shadow: inset 0 0 12px rgba(255, 106, 0, .06), 0 0 14px rgba(255, 106, 0, .16);
}
/* The glow is painted once; hover only fades its extra intensity in. */
.homepage .nav-links .support-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(255, 106, 0, .3), 0 0 25px rgba(255, 106, 0, .22);
  opacity: 0;
  transition: opacity 140ms ease-out;
}
.homepage .nav-links .support-cta:is(:hover, :focus-visible) {
  background: rgba(255, 106, 0, .17) !important;
  border-color: rgba(255, 143, 65, .8) !important;
  color: #fff4eb !important;
  transform: translateY(-1px);
}
.homepage .nav-links .support-cta:is(:hover, :focus-visible)::before { opacity: 1; }
.homepage .btn:is(:hover, :focus-visible),
.homepage .nav-cta:is(:hover, :focus-visible) { box-shadow: none; }
.homepage .nav-links a:focus-visible,
.homepage .btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.voyage-route { display: none; }
.station-mode .voyage-route {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
  /* Match the stage's perspective origin and compensate its projection.
     This keeps both bitmaps viewport-sized while their Z ordering remains
     beyond the stations' centre positions (-1650px ... 400px), including passage. */
  transform-origin: 58% 44%;
  transform: translateZ(450px) scale(.59090909);
}
.station-mode .voyage-route-back {
  z-index: 0;
  transform: translateZ(-1850px) scale(2.68181818);
}
.station-mode.spatial-mobile .voyage-route {
  transform-origin: 50% 42%;
  transform: translateZ(350px) scale(.58823529);
}
.station-mode.spatial-mobile .voyage-route-back {
  transform: translateZ(-1850px) scale(3.17647059);
}
/* A stable image surface: replacing its demo with a screenshot changes no
   station/pointer/camera wrapper, projected size or route anchor. */
.solution-screen { aspect-ratio: 16 / 9; container-type: inline-size; }
.solution-demo { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.solution-demo > .mockup-chrome,
.solution-demo > .mockup-disclaimer { flex: 0 0 auto; }
.solution-demo > .dashboard,
.solution-demo > .analytics-content,
.solution-demo > .automation-content { flex: 1; min-height: 0; }
/* Demo interfaces scale within the same 16:9 surface as the future captures. */
.solution-demo .dashboard { grid-template-columns: 17% 1fr; }
.solution-demo .dashboard-sidebar { padding: 2.6cqw 1.4cqw; gap: 1cqw; font-size: .9cqw; }
.solution-demo .dashboard-sidebar strong { font-size: 3.7cqw; padding: 0 1.2cqw 2.2cqw; letter-spacing: -.3cqw; }
.solution-demo .dashboard-sidebar > span { padding: 1cqw; }
.solution-demo .dashboard-sidebar > small { font-size: .65cqw; padding: 3cqw 1cqw 0; letter-spacing: .1cqw; }
.solution-demo .dashboard-content,
.solution-demo .analytics-content,
.solution-demo .automation-content { padding: 3cqw; }
.solution-demo .dashboard-heading { gap: 1.6cqw; margin-bottom: 2.4cqw; }
.solution-demo .dashboard-heading h4 { font-size: 2.4cqw; letter-spacing: -.07cqw; }
.solution-demo .dashboard-heading small { font-size: .7cqw; margin-bottom: 1cqw; letter-spacing: .12cqw; }
.solution-demo .mockup-pill { font-size: .8cqw; padding: .8cqw 1cqw; }
.solution-demo .metric-row { gap: 1.3cqw; margin-bottom: 2.2cqw; }
.solution-demo .metric-row > div { padding: 1.4cqw; }
.solution-demo .metric-row small { font-size: .8cqw; }
.solution-demo .metric-row strong { font-size: 2.1cqw; margin: .8cqw 0; }
.solution-demo .metric-row strong > span { font-size: 1.6cqw; }
.solution-demo .metric-row > div > span { font-size: .7cqw; }
.solution-demo .delivery-grid { gap: 2cqw; }
.solution-demo .route-map { min-height: 19cqw; }
.solution-demo .delivery-list > b { font-size: 1cqw; margin-bottom: 1cqw; }
.solution-demo .delivery-list > div { padding: 1.2cqw 0; font-size: .9cqw; gap: .8cqw; }
.solution-demo .delivery-list small { font-size: .7cqw; margin-top: .6cqw; }
.solution-demo .order-tabs { font-size: .9cqw; padding: .5cqw 0 1.6cqw; gap: 2.7cqw; }
.solution-demo .order-table > div { padding: 1.6cqw 0; font-size: .9cqw; gap: 1.6cqw; }
.solution-demo .order-table > .table-heading { padding: 1.6cqw 0 1.1cqw; font-size: .65cqw; letter-spacing: .1cqw; }
.solution-demo .order-table b { font-size: .8cqw; padding: .5cqw .7cqw; }
.solution-demo .table-icon { padding: .5cqw; margin-right: .6cqw; }
.solution-demo .order-summary { padding: 3cqw .5cqw .5cqw; font-size: .8cqw; }
.solution-demo .analytics-grid { gap: 2cqw; }
.solution-demo .chart-panel { padding: 2cqw; }
.solution-demo .chart-panel svg { margin: 2.7cqw 0 1.1cqw; }
.solution-demo .chart-panel > div:first-child { font-size: .9cqw; }
.solution-demo .chart-legend { font-size: .8cqw; gap: 2cqw; }
.solution-demo .insight-stack { gap: 1.3cqw; }
.solution-demo .insight-stack > div { padding: 2cqw; }
.solution-demo .insight-stack small { font-size: .7cqw; }
.solution-demo .insight-stack strong { font-size: 1.9cqw; margin-top: 1cqw; }
.solution-demo .insight-stack p { font-size: .8cqw; margin-top: .8cqw; }
.solution-demo .mini-bars { height: 4.7cqw; margin-top: 1.6cqw; gap: .6cqw; }
.solution-demo .automation-canvas { min-height: 25cqw; margin: 1.6cqw 0; }
.solution-screenshot,
.solution-screen > picture { display: block; width: 100%; height: 100%; }
.solution-screenshot { object-fit: contain; object-position: center; }
.delivery-screen { touch-action: pan-y pinch-zoom; }
.delivery-view { position: absolute; inset: 0; }
.delivery-view[hidden], .delivery-controls[hidden] { display: none; }
.delivery-view img { user-select: none; }
.delivery-controls {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: flex; justify-content: center; gap: 4px;
}
.delivery-controls button {
  min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 6px;
  background: #0b1224; color: #bdc7db; font: 500 11px/1.3 Manrope, sans-serif;
  cursor: pointer; transition: color 140ms ease, border-color 140ms ease;
}
.delivery-controls button > span { margin-right: 5px; font-size: 9px; opacity: .65; }
.delivery-controls button[aria-selected="true"] { border-color: #ff995799; color: #fff3e9; }
.delivery-controls button:hover { color: white; border-color: #ffffff55; }
.delivery-controls button:focus-visible { outline: 2px solid #ff9957; outline-offset: 3px; }
.station-mode .project.is-station-current .delivery-screen,
.station-mode .project.is-station-current .delivery-controls { pointer-events: auto; }
.delivery-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.delivery-fallback { position: absolute; top: 100%; width: 100%; text-align: center; font-size: 12px; }
@media (max-width: 600px) {
  .delivery-controls { gap: 3px; }
  .delivery-controls button { padding: 7px 8px; font-size: 10px; }
  .delivery-controls button > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .delivery-controls button { transition: none; }
}
.solution-demo-body { padding: 3.1cqw 4cqw; flex: 1; min-height: 0; }
.solution-demo-body .dashboard-heading h4 { font-size: 2.7cqw; }
.solution-demo-body .dashboard-heading small,
.solution-demo-body .mockup-pill { font-size: 1.1cqw; }
.solution-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin: 2.7cqw 0; }
.solution-metrics > div { padding: 1.8cqw; background: var(--ui-box); border: 1px solid var(--ui-line); border-radius: 5px; }
.solution-metrics small { display: block; font-size: 1.2cqw; color: var(--ui-muted); }
.solution-metrics strong { display: block; margin-top: .8cqw; font-size: 3.2cqw; font-weight: 500; }
.solution-table { font-size: 1.3cqw; }
.solution-table > div { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; min-height: 4.8cqw; border-bottom: 1px solid var(--ui-line); }
.solution-table .solution-table-head { min-height: 3.2cqw; font-size: 1cqw; color: var(--ui-muted); letter-spacing: .07em; }
.solution-table b { font-size: 1.05cqw; padding: .5cqw .8cqw; border-radius: 3px; font-weight: 500; }
.solution-flow { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; padding-top: 2.6cqw; font-size: 1.2cqw; }
.solution-flow i { font-style: normal; color: var(--ui-accent); margin-right: .8cqw; }
.solution-flow > b { color: var(--ui-muted); font-weight: 400; }
.project-rececoes .project-stage { background: linear-gradient(135deg, #142646, #3264a4 55%, #172e56); }
.project-rastreabilidade .project-stage { background: linear-gradient(135deg, #192441, #36517b 50%, #152441); }
.project-expedicao .project-stage { background: linear-gradient(135deg, #8b452b, #c76e38 55%, #75402b); }
.project-rececoes .project-device { transform: rotate(-3deg); }
.project-rastreabilidade .project-device { transform: rotate(3deg); }
.project-expedicao .project-device { transform: rotate(-2deg); }
.project-index { text-transform: uppercase; }

/* The client gallery is deliberately calm and independent of the camera. */
.homepage .clients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.homepage .client-card { display: flex; flex-direction: column; min-height: 180px; padding: 14px; transition: border-color 160ms ease, background-color 160ms ease; }
.homepage .client-card[hidden], .clients-pagination[hidden] { display: none; }
.homepage .client-card:hover,
.homepage .client-card:focus-visible { transform: none; background: #ffffff04; box-shadow: none; border-color: #ff793966; }
.homepage .client-card:focus-visible,
.clients-page:focus-visible { outline: 2px solid #ff9957; outline-offset: 4px; }
.homepage .client-card::after { display: none; }
.homepage .client-logo-bg,
.homepage .client-card:hover .client-logo-bg { height: 108px; min-height: 108px; margin-bottom: 12px; padding: 18px; background: #f2f0e9; transform: none; box-shadow: none; transition: none; }
.homepage .client-logo-bg img,
.homepage .client-card:hover .client-logo-bg img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; opacity: 1; filter: none; transform: none; transition: none; }
.homepage .client-name { font-size: 11px; font-weight: 400; color: #aab1c1; line-height: 1.5; }
.homepage .client-domain { display: none; }
.homepage .client-card[data-client-logo="basikoceano"] .client-logo-bg { background: #000; }
.homepage .client-card[data-client-logo="maxiplas"] .client-logo-bg,
.homepage .client-card[data-client-logo="higibase"] .client-logo-bg { background: #172334; }
.homepage .client-card[data-client-logo="traplda"] .client-logo-bg,
.homepage .client-card[data-client-logo="civilria"] .client-logo-bg { background: #fff; }
.clients-pagination { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: 22px; }
.clients-page { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.clients-page > span { width: 8px; height: 8px; border: 1px solid #818ca3; border-radius: 50%; transition: background-color 140ms ease, border-color 140ms ease; }
.clients-page[aria-current="page"] > span { background: #ff9957; border-color: #ff9957; }
.clients-page:hover > span { border-color: #ffb380; }
.clients-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 601px) and (max-width: 1000px) {
  .homepage .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .homepage .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .homepage .client-card { min-height: 148px; padding: 10px; }
  .homepage .client-logo-bg,
  .homepage .client-card:hover .client-logo-bg { height: 85px; min-height: 85px; padding: 10px; }
  .homepage .client-logo-bg img { max-height: 60px; }
  .homepage .client-name { font-size: 10px; }
  .solution-demo .mockup-chrome { font-size: 1.35cqw; height: 4.2cqw; padding: 0 2cqw; }
  .solution-demo .mockup-disclaimer { font-size: 1.2cqw; padding: 1cqw 2cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage .nav-links a, .homepage .btn, .homepage .menu-btn { transition: none; }
  .homepage .nav-links .support-cta::before { transition: none; }
}
