/* ============================================================
   GRU SOLUTIONS / Design System "Deep Tech Noturno" (2B)
   ============================================================ */
@property --cham-hue {
  syntax: '<number>';
  inherits: true;
  initial-value: 21;
}

:root {
  --navy-0: #0b1322;
  --navy-1: #131f33;
  --navy-2: #1a2942;
  --line: rgba(151, 180, 226, .12);
  --line-strong: rgba(151, 180, 226, .22);
  --ink: #e8eefb;
  --ink-dim: #93a3bf;
  --ink-faint: #5c6b87;
  --orange: #F26F21;
  --orange-soft: rgba(242, 111, 33, .14);
  --ok: #3ecf8e;
  --fail: #ff6b6b;
  --cham-hue: 21;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--navy-1);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: cham-cycle 24s linear infinite;
}

/* grade técnica de fundo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(151,180,226,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,180,226,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 0%, transparent 78%);
}

@keyframes cham-cycle {
  from { --cham-hue: 21; }
  to   { --cham-hue: 381; }
}

/* palavra camaleão: ciclo suave de 24s */
.cham { color: hsl(var(--cham-hue) 92% 62%); }

::selection { background: var(--orange); color: #0b1322; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap {
  width: min(var(--maxw), 100% - 3rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* micro-labels monoespaçadas */
.mlabel {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.mlabel::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(242,111,33,.8);
  flex: none;
}
.mlabel .idx { color: var(--orange); }

/* ============ HEADER ============ */
header.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 31, 51, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand .pill {
  background: #f6f8fc;
  border-radius: 10px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 18px rgba(0,0,0,.35);
}
.brand img { height: 34px; width: auto; }

.menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}
.menu a.link {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.menu a.link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(242,111,33,.9);
  transition: width .25s ease;
}
.menu a.link:hover { color: var(--ink); }
.menu a.link:hover::after { width: 100%; }
.menu a.link[aria-current="page"] { color: var(--ink); }
.menu a.link[aria-current="page"]::after { width: 100%; }

/* toggle de idioma */
.lang {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .55rem .7rem;
  color: var(--ink-faint);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: border-color .2s;
}
.lang:hover { border-color: var(--line-strong); }
.lang .sep { color: var(--ink-faint); opacity: .5; }
.lang span[data-l] { transition: color .2s; }
.lang span[data-l].on {
  color: var(--orange);
  text-shadow: 0 0 12px rgba(242,111,33,.55);
}

.socials { display: flex; align-items: center; gap: .35rem; }
.socials a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-dim);
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.socials a:hover {
  color: var(--orange);
  border-color: rgba(242,111,33,.5);
  box-shadow: 0 0 16px rgba(242,111,33,.25);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.cta-btn {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0b1322;
  background: var(--orange);
  padding: .72rem 1.25rem;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(242,111,33,.4), 0 8px 28px rgba(242,111,33,.28);
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(242,111,33,.6), 0 12px 36px rgba(242,111,33,.42);
}
.cta-btn:disabled { opacity: .6; cursor: wait; transform: none; }

.line-btn {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: none;
  border: 1px solid var(--line-strong);
  padding: .72rem 1.25rem;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.line-btn:hover {
  color: var(--ink);
  border-color: rgba(242,111,33,.55);
  box-shadow: 0 0 16px rgba(242,111,33,.2);
}

.burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO (home) ============ */
.hero {
  padding: clamp(4.5rem, 11vh, 8rem) 0 clamp(3.5rem, 8vh, 6rem);
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -12%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,111,33,.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { z-index: 1; }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.7rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 1.4rem 0 1.2rem;
  max-width: 15ch;
}
.hero .sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 44ch;
  margin-bottom: 2.2rem;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.ghost-link {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s;
}
.ghost-link::after { content: '\2193'; color: var(--orange); }
.ghost-link.back::after { content: '\2190'; }
.ghost-link:hover { color: var(--ink); }

/* ============ HERO (páginas internas) ============ */
.phero {
  padding: clamp(3.8rem, 9vh, 6.4rem) 0 clamp(2.6rem, 6vh, 4.2rem);
  position: relative;
}
.phero::after {
  content: '';
  position: absolute;
  top: -30%; right: -14%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,111,33,.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.phero .wrap { z-index: 1; }
.phero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 1.4rem 0 1.1rem;
  max-width: 20ch;
}
.phero .sub {
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  color: var(--ink-dim);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.phero-mark { margin-bottom: 1.6rem; display: flex; align-items: center; }
.phero-mark .logo-tile { height: 76px; padding: 12px 20px; }
.phero-mark .logo-tile img { max-height: 52px; }
.phero-mark .tmark { font-size: 2.5rem; }
.phero-mark .tmark-mono { font-size: 1.8rem; }
.phero-mark .pulso-wave svg { width: 96px; height: 38px; }
.phero-mark .osint-mark svg { width: 60px; height: 60px; }

/* faixa de números */
.stats {
  border-block: 1px solid var(--line);
  margin-top: clamp(3rem, 7vh, 5rem);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 1.8rem 1.6rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat b {
  display: block;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat b sup { font-size: .45em; color: var(--orange); }
.stat span {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-top: .55rem;
}

.stats.inpage { margin-top: 0; }
.stats-grid.four { grid-template-columns: repeat(4, 1fr); }

/* mosaico de screenshots */
.shot-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

/* ============ SEÇÕES ============ */
section { padding: clamp(3.6rem, 9vh, 6.5rem) 0; }
section.tight { padding: clamp(2.4rem, 6vh, 4.2rem) 0; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vh, 3.2rem);
  flex-wrap: wrap;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: .9rem;
}
.sec-head .lede {
  color: var(--ink-dim);
  max-width: 56ch;
  margin-top: .8rem;
  font-size: .98rem;
}

/* ============ CARDS DE PROJETO ============ */
.grid-proj {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card {
  grid-column: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.4rem;
  min-height: 218px;
  padding: 1.5rem 1.5rem 1.35rem;
  background: linear-gradient(160deg, var(--navy-2), rgba(26,41,66,.35));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card::before {
  content: attr(data-idx);
  position: absolute;
  top: 1.15rem;
  right: 1.3rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--ink-faint);
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(420px 220px at 20% 0%, rgba(242,111,33,.1), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(242,111,33,.55);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0,0,0,.42), 0 0 24px rgba(242,111,33,.14);
}
.card:hover::after { opacity: 1; }
.card:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.card.wide { grid-column: span 6; }

.card-mark { height: 58px; display: flex; align-items: center; }
.logo-tile {
  background: #f4f6fb;
  border-radius: 11px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  height: 58px;
}
.logo-tile img { max-height: 40px; width: auto; }

/* type-marks CSS */
.tmark {
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: .18rem;
}
.tmark .tick { color: var(--orange); }
.tmark-mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -.02em;
}
.pulso-wave { display: inline-flex; align-items: center; gap: .6rem; }
.pulso-wave svg { width: 74px; height: 30px; overflow: visible; }
.pulso-wave path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(242,111,33,.7));
}
.osint-mark svg { width: 46px; height: 46px; }
.osint-mark circle, .osint-mark line {
  stroke: var(--orange);
  stroke-width: 2;
  fill: none;
  filter: drop-shadow(0 0 5px rgba(242,111,33,.55));
}

.card-meta h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.card-meta h3 .arrow {
  color: var(--orange);
  font-family: var(--mono);
  font-size: .9rem;
  transition: transform .25s ease;
}
.card:hover .arrow { transform: translate(4px, -2px); }
.card-meta p {
  font-size: .84rem;
  color: var(--ink-dim);
  margin-top: .3rem;
}
.card-meta .tag {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: .5rem;
}

/* ============ BLOCOS DE FEATURE (páginas de projeto) ============ */
.blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.block {
  grid-column: span 4;
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: linear-gradient(160deg, var(--navy-2), rgba(26,41,66,.35));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.block.span6 { grid-column: span 6; }
.block .bidx {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--orange);
  display: block;
  margin-bottom: 1rem;
}
.block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: .45rem;
}
.block p { font-size: .86rem; color: var(--ink-dim); }

/* declaração grande "o que é" */
.state {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: start;
}
.state .big {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  max-width: 24ch;
}
.state .side { color: var(--ink-dim); font-size: .96rem; display: grid; gap: .9rem; }

/* chips "para quem" */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .6rem 1.1rem;
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(242,111,33,.5); color: var(--ink); }

/* passos "como funciona" */
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 84px 1fr 1.6fr;
  gap: 1.4rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.step .num {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--orange);
}
.step h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.step p { font-size: .88rem; color: var(--ink-dim); }

/* nota de confidencialidade */
.nda {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--ink-dim);
  line-height: 1.7;
}
.nda .lock { color: var(--orange); flex: none; font-size: .9rem; }

/* screenshot / frame */
.shot {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f4f6fb;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  position: relative;
}
.shot .bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .9rem;
  background: var(--navy-0);
  border-bottom: 1px solid var(--line);
}
.shot .bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-faint);
  opacity: .55;
}
.shot .bar i:first-child { background: var(--orange); opacity: 1; }
.shot .bar em {
  font-family: var(--mono);
  font-style: normal;
  font-size: .64rem;
  letter-spacing: .1em;
  color: var(--ink-faint);
  margin-left: .5rem;
}
.shot img { width: 100%; }

/* demos de sites */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.demo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.6rem;
  min-height: 250px;
  padding: 1.8rem 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.demo.aurora { background: linear-gradient(160deg, #17293f, rgba(23,41,63,.4)); }
.demo.linha { background: linear-gradient(160deg, #241f33, rgba(36,31,51,.4)); }
.demo:hover {
  border-color: rgba(242,111,33,.55);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0,0,0,.42), 0 0 24px rgba(242,111,33,.14);
}
.demo::before {
  content: attr(data-idx);
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--ink-faint);
}
.demo .dm-name {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.demo .dm-name .tick { color: var(--orange); }
.demo .dm-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.demo .dm-meta p { font-size: .84rem; color: var(--ink-dim); max-width: 34ch; }
.demo .dm-open {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}

/* ============ CLIENTES (nuvem) ============ */
.clients { border-top: 1px solid var(--line); }
.cloud { display: flex; flex-wrap: wrap; gap: 16px; }
.cloud .tile {
  flex: 1 1 190px;
  background: #f4f6fb;
  border-radius: var(--radius);
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 1.8rem;
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cloud .tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 22px rgba(242,111,33,.16);
}
.cloud .tile img {
  max-height: 64px;
  max-width: 74%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.cloud .tile em {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--mono);
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9aa6ba;
}

/* ============ HISTÓRIA: fundador ============ */
.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}
.fcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-2), rgba(26,41,66,.35));
}
.fcard .fphoto {
  position: relative;
  aspect-ratio: 4 / 4.6;
  background: var(--navy-0);
  display: grid;
  place-items: center;
}
.fcard .fphoto::before {
  content: attr(data-initials);
  font-family: var(--mono);
  font-size: 2rem;
  letter-spacing: .2em;
  color: var(--ink-faint);
}
.fcard .fphoto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fcard .fplate { padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
.fcard .fplate b { display: block; font-size: 1rem; letter-spacing: -.01em; }
.fcard .fplate span {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.fbody blockquote {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
  border-left: 2px solid var(--orange);
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 30ch;
}
.fbody p { color: var(--ink-dim); font-size: .96rem; margin-bottom: 1rem; max-width: 68ch; }
.fbody p b { color: var(--ink); }
.fbody .in-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: .55rem .9rem;
  margin-top: .4rem;
  transition: color .2s, border-color .2s;
}
.fbody .in-link:hover { color: var(--orange); border-color: rgba(242,111,33,.5); }
.fbody .in-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ============ HISTÓRIA: organograma ============ */
.org { display: flex; flex-direction: column; align-items: center; }
.org .conn {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--line-strong), rgba(242,111,33,.5));
  flex: none;
}
.tier-label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .9rem;
}
.tier-label .idx { color: var(--orange); }
.tier {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.node {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: .95rem 1.25rem;
  min-width: 236px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-2), rgba(26,41,66,.35));
  transition: border-color .25s ease, box-shadow .25s ease;
}
.node:hover {
  border-color: rgba(242,111,33,.45);
  box-shadow: 0 0 20px rgba(242,111,33,.12);
}
.node.top { border-color: rgba(242,111,33,.5); box-shadow: 0 0 26px rgba(242,111,33,.14); }
.node .n { font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.node .r { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: .2rem; }
.node .lead-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(242,111,33,.4);
  border-radius: 999px;
  padding: .18rem .55rem;
  margin-top: .4rem;
}
.node.sm { min-width: 208px; padding: .8rem 1.05rem; }

.avatar {
  position: relative;
  width: 52px; height: 52px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-0);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.avatar::before {
  content: attr(data-initials);
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--ink-faint);
}
.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ CONTATO ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}
.aside-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.aside-item .k {
  display: block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .3rem;
}
.aside-item .v { font-size: .95rem; color: var(--ink); }
.aside-item a.v { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.aside-item a.v:hover { color: var(--orange); border-color: rgba(242,111,33,.5); }

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-2), rgba(26,41,66,.3));
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.contact-form h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 1.6rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .45rem;
}
.field .req { color: var(--orange); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: rgba(11, 19, 34, .55);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(242,111,33,.6);
  box-shadow: 0 0 0 3px rgba(242,111,33,.14);
}
.field .err {
  display: none;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--fail);
  margin-top: .4rem;
}
.field.invalid input, .field.invalid textarea { border-color: rgba(255,107,107,.65); }
.field.invalid .err { display: block; }

.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  align-items: center;
  gap: .7rem;
  border-radius: 10px;
  padding: .85rem 1rem;
  margin: .4rem 0 1rem;
  font-size: .88rem;
}
.form-status.show { display: flex; }
.form-status svg { width: 20px; height: 20px; flex: none; display: none; }
.form-status.ok { background: rgba(62,207,142,.1); border: 1px solid rgba(62,207,142,.4); color: var(--ok); }
.form-status.ok .ic-ok { display: block; }
.form-status.fail { background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.4); color: var(--fail); }
.form-status.fail .ic-fail { display: block; }
.form-status a { color: inherit; text-decoration: underline; }

.form-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-foot .note { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; color: var(--ink-faint); max-width: 34ch; }

.spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(11,19,34,.35);
  border-top-color: #0b1322;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.cta-btn.loading .spinner { display: inline-block; }
.cta-btn.loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ CTA FINAL ============ */
.final {
  text-align: center;
  border-top: 1px solid var(--line);
  position: relative;
}
.final::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: min(760px, 90%);
  height: 100%;
  background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(242,111,33,.09), transparent 70%);
  pointer-events: none;
}
.final h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 1.2rem auto 2rem;
  max-width: 18ch;
}
.final .mlabel { justify-content: center; }
.final .mlabel::before { display: none; }

/* ============ FOOTER ============ */
footer.site-foot {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--ink-faint);
}
.foot .dot { color: var(--orange); }

/* ============ REVEAL ============ */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ============ RESPONSIVO ============ */
@media (max-width: 960px) {
  .card, .card.wide { grid-column: span 6; }
  .block, .block.span6 { grid-column: span 6; }
  .state { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .fcard { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .burger { display: block; }
  .menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(11, 19, 34, .97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }
  .menu.open { opacity: 1; visibility: visible; }
  .menu a.link { font-size: 1rem; }
  .socials { margin-top: .6rem; }
  .stats-grid, .stats-grid.four { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .shot-duo { grid-template-columns: 1fr; }
  .stat:first-child { border-top: none; }
  .cloud .tile { flex-basis: 160px; min-height: 120px; }
  .step { grid-template-columns: 64px 1fr; }
  .step p { grid-column: 2; }
  .demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card, .card.wide { grid-column: span 12; min-height: 190px; }
  .block, .block.span6 { grid-column: span 12; }
  .cloud { gap: 12px; }
  .cloud .tile { flex: 1 1 44%; min-height: 140px; padding: 1.2rem; }
  .cloud .tile img { max-height: 84px; max-width: 76%; }
  .brand img { height: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .node, .node.sm { min-width: 100%; }
}

/* ============ MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  .cham { color: var(--orange); }
  .rv { opacity: 1; transform: none; transition: none; }
  .spinner { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== Ajustes: sem numerais, scrollbar tematizada, organograma em camadas ===== */
.idx, .cloud .tile em { display: none !important; }
.card::before { content: none !important; }

html { background: var(--navy-1); scrollbar-width: thin; scrollbar-color: #2c3d5e var(--navy-1); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-1); }
::-webkit-scrollbar-thumb { background: #2c3d5e; border-radius: 8px; border: 2px solid var(--navy-1); }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

.node.t0 { padding: 1.25rem 1.6rem; min-width: 300px; border-color: rgba(242,111,33,.5); box-shadow: 0 0 26px rgba(242,111,33,.14); }
.node.t0 .avatar { width: 86px; height: 86px; }
.node.t0 .n { font-size: 1.18rem; }
.node.t1 { min-width: 250px; max-width: 330px; align-items: flex-start; }
.node.t1 .avatar { width: 62px; height: 62px; }
.node .desc { font-family: var(--sans); font-size: .8rem; line-height: 1.5; color: var(--ink-dim); margin-top: .45rem; text-transform: none; letter-spacing: 0; }
.node.t2 { min-width: 205px; }
.node.t2 .avatar { width: 46px; height: 46px; }
.node.t3 { min-width: 178px; padding: .6rem .95rem; opacity: .85; }
.node.t3 .avatar { width: 38px; height: 38px; }
.node.t3 .n { font-size: .85rem; }
@media (max-width: 560px) { .node.t0, .node.t1 { min-width: 100%; max-width: 100%; } }

/* sem numerais nos passos e blocos; respiro entre label e logo no hero interno */
.step .num, .block .bidx { display: none !important; }
.step { grid-template-columns: 1fr 1.6fr; }
.phero .mlabel { margin-bottom: 1.5rem; }
@media (max-width: 700px) { .step { grid-template-columns: 1fr; } }

/* foto do fundador: container maior e enquadramento pelo topo (nao corta a cabeca) */
.fcard .fphoto { aspect-ratio: 4 / 5.4; }
.fcard .fphoto img { object-position: top center; }

/* avatares do organograma: enquadrar pelo topo (nao cortar cabecas) */
.avatar img { object-position: top center; }

/* card do app Magav na pagina de sites */
.demo.magav { background: linear-gradient(160deg, #1a3328, rgba(26,51,40,.4)); }

/* 24/7 do Pulso: barra laranja no meio, digitos no mesmo corpo */
.stat b .slash { color: var(--orange); font-weight: 300; font-size: .75em; margin: 0 .22em; position: relative; top: -.05em; }

/* logos maiores: resto ~1.5x, Genesis Group (1o tile) ~3x com destaque */
.cloud .tile img { max-height: 96px; max-width: 82%; }
.cloud .tile:first-child { flex: 2.4 1 360px; min-height: 200px; }
.cloud .tile:first-child img { max-height: 150px; max-width: 88%; }
.cloud .tile:nth-child(2) img,
.cloud .tile:nth-child(5) img,
.cloud .tile:nth-child(7) img { max-height: 144px; max-width: 88%; }
@media (max-width: 560px) {
  .cloud .tile img { max-height: 84px; }
  .cloud .tile:first-child { flex-basis: 100%; }
  .cloud .tile:first-child img { max-height: 120px; }
}
