:root {
  --black: #050505;
  --black-soft: #101010;
  --graphite: #181818;
  --paper: #f4f0e6;
  --paper-dim: #d8d0bd;
  --red: #ef2b24;
  --red-dark: #a9120e;
  --line: rgba(244, 240, 230, 0.18);
  --muted: rgba(244, 240, 230, 0.68);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--black);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(239, 43, 36, 0.18), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(169, 18, 14, 0.18), transparent 26%);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 58px);
  color: var(--paper);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  width: 62px;
  height: 44px;
  padding: 4px 6px;
  background: rgba(244, 240, 230, 0.94);
  border: 1px solid rgba(239, 43, 36, 0.72);
  border-radius: 8px;
  box-shadow: 0 0 0 6px rgba(239, 43, 36, 0.14);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 10px 14px;
  color: var(--paper);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--black);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(18px, 4vw, 58px) 86px;
  background:
    linear-gradient(115deg, rgba(5, 5, 5, 0.96), rgba(15, 5, 5, 0.82) 52%, rgba(239, 43, 36, 0.26)),
    repeating-linear-gradient(-8deg, transparent 0 24px, rgba(239, 43, 36, 0.055) 24px 26px);
}

.hero::before {
  content: "DESENVOLVE";
  position: absolute;
  right: -0.08em;
  bottom: -0.22em;
  color: rgba(244, 240, 230, 0.045);
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
}

.signal-stage {
  position: absolute;
  inset: 76px 0 0 44%;
  overflow: hidden;
}

.signal-grid {
  position: absolute;
  inset: 0;
  opacity: 0.62;
  background:
    linear-gradient(rgba(239, 43, 36, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 43, 36, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 54% 48%, black 0%, transparent 72%);
  mask-image: radial-gradient(circle at 54% 48%, black 0%, transparent 72%);
}

.signal-map {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: min(70vw, 920px);
  height: auto;
}

.signal-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: square;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(239, 43, 36, 0.22));
}

.main-path {
  stroke: rgba(244, 240, 230, 0.78);
  stroke-width: 7;
}

.thin-path {
  stroke: rgba(244, 240, 230, 0.44);
  stroke-width: 2;
}

.signal-node {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--red);
  border: 3px solid var(--black);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(239, 43, 36, 0.28), 0 0 26px rgba(239, 43, 36, 0.44);
}

.node-a {
  top: 27%;
  left: 24%;
}

.node-b {
  top: 47%;
  left: 48%;
}

.node-c {
  top: 55%;
  left: 78%;
}

.node-d {
  top: 78%;
  left: 38%;
}

.pulse-core {
  position: absolute;
  top: 24%;
  left: 54%;
  width: 128px;
  aspect-ratio: 1;
  border: 2px solid rgba(244, 240, 230, 0.56);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  box-shadow: 12px 12px 0 rgba(239, 43, 36, 0.58), 0 0 58px rgba(239, 43, 36, 0.22);
}

.pulse-core span {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(239, 43, 36, 0.62);
  border-radius: 999px;
}

.pulse-core span:nth-child(2) {
  inset: 48px;
  background: var(--red);
}

.data-chip {
  position: absolute;
  min-width: 178px;
  padding: 13px 14px;
  color: var(--paper);
  background: rgba(16, 16, 16, 0.78);
  border: 1px solid rgba(239, 43, 36, 0.34);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.data-chip strong,
.data-chip span {
  display: block;
}

.data-chip strong {
  color: var(--red);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.data-chip span {
  color: var(--muted);
  font-size: 0.78rem;
}

.chip-a {
  top: 18%;
  right: 12%;
}

.chip-b {
  right: 25%;
  bottom: 18%;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 280px;
  gap: clamp(28px, 7vw, 110px);
  align-items: end;
}

.hero-content {
  max-width: 760px;
}

.hero-logo {
  display: block;
  width: min(360px, 74vw);
  margin: 0 0 24px;
  padding: 16px 18px;
  background: rgba(244, 240, 230, 0.94);
  border: 1px solid rgba(239, 43, 36, 0.42);
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  display: grid;
  gap: 0.04em;
  margin: 0;
  max-width: min(100%, 12.5ch);
  color: var(--paper);
  font-size: clamp(3.25rem, 8.8vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.2rem, 5vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: clamp(1.32rem, 2.5vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  color: var(--black);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(239, 43, 36, 0.28);
}

.button.secondary {
  color: var(--paper);
  background: rgba(244, 240, 230, 0.04);
  border-color: rgba(239, 43, 36, 0.52);
}

.hero-index {
  padding: 20px;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  background: rgba(5, 5, 5, 0.48);
}

.hero-index span,
.hero-index strong,
.hero-index small {
  display: block;
}

.hero-index span,
.hero-index small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-index strong {
  margin: 16px 0;
  color: var(--red);
  font-size: 1.35rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.marquee-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  gap: 28px;
  padding: 10px 0;
  color: var(--black);
  background: var(--red);
  border-top: 2px solid rgba(244, 240, 230, 0.18);
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-strip span {
  padding-left: 28px;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-panel {
  color: var(--paper);
  background:
    linear-gradient(115deg, rgba(239, 43, 36, 0.18), rgba(5, 5, 5, 0.94) 42%),
    var(--black-soft);
}

.manifest-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
}

.section-kicker {
  display: grid;
  gap: 12px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.manifest h2,
.manifest p {
  color: var(--paper);
}

.manifest p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.operations {
  background:
    linear-gradient(180deg, var(--black) 0%, var(--graphite) 100%);
  border-top: 1px solid var(--line);
}

.split-heading {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
  margin-bottom: 44px;
}

.operation-board {
  border-top: 1px solid var(--line);
}

.operation-row {
  display: grid;
  grid-template-columns: 90px minmax(190px, 0.75fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
}

.operation-row:nth-child(2) {
  margin-left: 7%;
}

.operation-row:nth-child(3) {
  margin-left: 14%;
}

.row-number {
  color: var(--red);
  font-size: 2.2rem;
  font-weight: 950;
}

.operation-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.clients-section {
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(239, 43, 36, 0.24), rgba(5, 5, 5, 0.92) 55%),
    var(--black);
}

.clients-band {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(220px, 2fr) minmax(180px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--paper);
  background: var(--red);
  text-transform: uppercase;
}

.clients-band strong {
  color: var(--paper);
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.88;
}

.clients-band span {
  font-size: 0.78rem;
  font-weight: 950;
}

.clients-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 7vw, 90px);
  color: var(--paper);
}

.clients-grid .eyebrow {
  color: var(--red);
}

.clients-grid h2 {
  color: var(--paper);
}

.clients-notes p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.client-list {
  display: grid;
  gap: 14px;
}

.client-item {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(244, 240, 230, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(239, 43, 36, 0.18), rgba(244, 240, 230, 0.035)),
    rgba(5, 5, 5, 0.44);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

a.client-item:hover {
  border-color: rgba(239, 43, 36, 0.58);
  transform: translateY(-2px);
}

.client-item span,
.client-item small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.client-item strong {
  color: var(--red);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.client-item.is-empty {
  border-style: dashed;
  opacity: 0.72;
}

.contact-terminal {
  background:
    linear-gradient(90deg, rgba(239, 43, 36, 0.18), transparent 44%),
    var(--black);
}

.terminal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.contact-links a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-links a:hover {
  color: var(--red);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: var(--muted);
  background: var(--black);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .signal-stage {
    inset: 76px -18% 0 28%;
    opacity: 0.62;
  }

  .hero-layout,
  .manifest-grid,
  .split-heading,
  .clients-grid,
  .terminal-grid {
    grid-template-columns: 1fr;
  }

  .hero-index {
    max-width: 360px;
  }

  .operation-row,
  .operation-row:nth-child(2),
  .operation-row:nth-child(3) {
    grid-template-columns: 70px 1fr;
    margin-left: 0;
    padding: 24px 0;
  }

  .operation-row p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 54px;
    height: 38px;
    box-shadow: 0 0 0 5px rgba(239, 43, 36, 0.14);
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .signal-stage {
    inset: 68px -82% 0 10%;
    opacity: 0.28;
  }

  .data-chip {
    display: none;
  }

  .pulse-core {
    width: 96px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, 1160px);
    padding: 68px 0;
  }

  .operation-row,
  .operation-row:nth-child(2),
  .operation-row:nth-child(3) {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .operation-row p {
    grid-column: auto;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.3rem);
    line-height: 0.9;
  }

  .clients-band {
    grid-template-columns: 1fr;
  }
}
