:root {
  --ink: #0C0C0C;
  --ink-2: #1F1E1B;
  --bone: #F2EDE4;
  --stone: #8A8580;
  --amber: #C8541F;
  --line: rgba(242, 237, 228, 0.12);
  --line-strong: rgba(242, 237, 228, 0.28);
  --muted: rgba(242, 237, 228, 0.55);
  --line-dark: rgba(12, 12, 12, 0.14);
  --line-dark-strong: rgba(12, 12, 12, 0.4);
  --pad: clamp(24px, 6vw, 96px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'General Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- GRAIN ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

::selection { background: var(--amber); color: var(--ink); }

.mono {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- WORDMARK ---------- */
.wordmark {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--bone);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.wordmark .dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  background: var(--amber);
  margin-left: 0.06em;
}

/* ---------- HEADER ---------- */
header.site {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  height: 72px;
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
header.site.scrolled {
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
header.site .wordmark { font-size: 22px; }
header.site nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
header.site nav a.nav-link {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color .25s;
}
header.site nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.7, 0, .2, 1);
}
header.site nav a.nav-link:hover { color: var(--bone); }
header.site nav a.nav-link:hover::after { transform: scaleX(1); }
header.site .header-cta {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--bone);
  text-decoration: none;
  padding: 11px 20px;
  transition: background .25s, color .25s;
}
header.site .header-cta:hover { background: var(--amber); }

/* ---------- BUTTONS ---------- */
.btn {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  cursor: pointer;
  border: none;
  transition: background .25s, color .25s, border-color .25s;
}
.btn .arr {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  transition: transform .3s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover .arr { transform: translateX(5px); }
.btn.primary { background: var(--bone); color: var(--ink); }
.btn.primary:hover { background: var(--amber); }
.btn.ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line-strong);
}
.btn.ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ---------- REVEAL ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.2, .6, .2, 1), transform .9s cubic-bezier(.2, .6, .2, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .reveal.in { opacity: 1; transform: none; }
  .rule-grow {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(.7, 0, .2, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .rule-grow.in { transform: scaleX(1); }
}

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 var(--pad);
  position: relative;
}
#hero .bg-grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(242,237,228,0.035) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%;
  pointer-events: none;
}
#hero .hero-top {
  padding-top: 104px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
#hero .hero-main {
  align-self: center;
  padding: 64px 0;
  position: relative;
}
#hero h1 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 9.4vw, 148px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--bone);
  text-wrap: balance;
}
#hero h1 .h-dot { color: var(--amber); }
#hero .hero-serif {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 32px;
  max-width: 620px;
}
#hero .hero-serif em { font-style: normal; font-weight: 500; color: var(--bone); }
#hero .hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}
#hero .hero-foot {
  position: relative;
  border-top: 1px solid var(--line-strong);
  padding: 24px 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
#hero .hero-foot .f .mono { display: block; margin-bottom: 8px; }
#hero .hero-foot .f p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--bone);
  max-width: 300px;
}

/* ---------- SECTION SCAFFOLD ---------- */
section.block {
  padding: clamp(96px, 12vw, 160px) var(--pad);
  border-top: 1px solid var(--line);
  position: relative;
}
.block-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: baseline;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.block-head .num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
  padding-top: 16px;
}
.block-head h2 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}
.block-head .lede {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 580px;
  margin-top: 22px;
}
.block-head .lede em { font-style: normal; font-weight: 500; color: var(--bone); }

/* ---------- MARKET METRICS ---------- */
#mercado .metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
#mercado .metric {
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
#mercado .metric:last-child { border-right: none; }
#mercado .metric .tick {
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--amber);
}
#mercado .metric .meta-row {
  display: flex;
  justify-content: space-between;
}
#mercado .metric .big {
  font-family: 'Clash Display', sans-serif;
  font-weight: 800;
  font-size: clamp(88px, 9.5vw, 150px);
  letter-spacing: -0.055em;
  line-height: 0.82;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
#mercado .metric .big .unit {
  font-size: 0.42em;
  color: var(--stone);
  letter-spacing: -0.02em;
}
#mercado .metric .desc b {
  display: block;
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 8px;
}
#mercado .metric .desc p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 320px;
}
#mercado .metric .src {
  margin-top: 18px;
  display: block;
}
#mercado .metric-note {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- SOLUTIONS ---------- */
#solucoes .sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sol {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  transition: background .4s;
  cursor: default;
}
.sol::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.sol:hover { background: var(--ink-2); }
.sol:hover::before { transform: scaleX(1); }
.sol .sol-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
.sol .icon {
  width: 40px; height: 40px;
  color: var(--stone);
  transition: color .35s;
}
.sol:hover .icon { color: var(--amber); }
.sol .icon svg { width: 100%; height: 100%; display: block; }
.sol .n {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--stone);
  transition: color .35s;
}
.sol:hover .n { color: var(--amber); }
.sol h3 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 25px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 48px;
}
.sol p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 12px;
  max-width: 320px;
}
.sol .sol-arr {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--amber);
  margin-top: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s, transform .35s cubic-bezier(.7, 0, .2, 1);
}
.sol:hover .sol-arr { opacity: 1; transform: none; }

/* ---------- PROCESS (bone) ---------- */
#processo {
  background: var(--bone);
  color: var(--ink);
  border-top: none;
}
#processo .block-head .lede { color: rgba(12, 12, 12, 0.6); }
#processo .block-head .lede em { color: var(--ink); }
#processo .mono { color: rgba(12, 12, 12, 0.45); }
#processo .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark-strong);
}
.step {
  padding: 36px clamp(20px, 2.5vw, 36px) 12px 0;
  border-right: 1px solid var(--line-dark);
  position: relative;
}
.step:last-child { border-right: none; }
.step:not(:first-child) { padding-left: clamp(20px, 2.5vw, 36px); }
.step .marker {
  position: absolute;
  top: -1px;
  left: 0;
  width: 9px; height: 9px;
  background: var(--ink);
  transform: translateY(-50%);
}
.step:not(:first-child) .marker { left: clamp(20px, 2.5vw, 36px); }
.step:last-child .marker { background: var(--amber); }
.step .s-num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(12, 12, 12, 0.45);
}
.step h3 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-top: 16px;
}
.step .s-time {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 10px;
}
.step p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(12, 12, 12, 0.66);
  margin-top: 14px;
  max-width: 280px;
}
#processo .process-quote {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line-dark-strong);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(24px, 4vw, 56px);
}
#processo .process-quote blockquote {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 820px;
  text-wrap: pretty;
}
#processo .process-quote blockquote em {
  font-style: normal;
  font-weight: 500;
  color: var(--amber);
}

/* ---------- STACK ---------- */
.stack-list {
  border-top: 1px solid var(--line);
}
.stack-item {
  display: grid;
  grid-template-columns: clamp(180px, 22vw, 280px) 1fr;
  gap: clamp(24px, 5vw, 80px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .3s;
  position: relative;
}
.stack-item::before {
  content: "";
  position: absolute;
  left: -var(--pad);
  top: 0; bottom: 0;
  width: 2px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.stack-item:hover { background: var(--ink-2); }
.stack-item:hover::before { transform: scaleY(1); }
.stack-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}
.stack-num {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--stone);
}
.stack-name {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--bone);
}
.stack-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stack-desc {
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}
.stack-ex {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0.7;
}
.stack-note {
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: clamp(180px, 22vw, 280px) 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.stack-note blockquote {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 720px;
}
.stack-note blockquote em {
  font-style: normal;
  font-weight: 500;
  color: var(--bone);
}
@media (max-width: 720px) {
  .stack-item { grid-template-columns: 1fr; gap: 16px; }
  .stack-note { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- CASES ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.case {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background .35s;
}
.case::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.case:hover { background: var(--ink-2); }
.case:hover::before { transform: scaleX(1); }
.case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.case-sector {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.case-loc {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}
.case-title {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 480px;
}
.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.cm-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  flex-shrink: 0;
}
.cm-flow {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cm-before {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  color: var(--stone);
  text-decoration: line-through;
  text-decoration-color: rgba(138, 133, 128, 0.4);
}
.cm-arr {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--stone);
}
.cm-after {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.025em;
  color: var(--bone);
}
.case-desc {
  font-family: 'General Sans', sans-serif;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.case-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: auto;
  opacity: 0.7;
}
.cases-foot {
  margin-top: 24px;
  text-align: right;
}
@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* ---------- CONTACT ---------- */
#contato .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
#contato .contact-info h2 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4.8vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-top: 16px;
}
#contato .contact-info .lede {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  margin-top: 24px;
  max-width: 420px;
}
#contato .contact-info .channels {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
#contato .channels .ch {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
#contato .channels .ch a, #contato .channels .ch span.v {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--bone);
  text-decoration: none;
  position: relative;
  transition: color .25s;
}
#contato .channels .ch a:hover { color: var(--amber); }

form.contact-form { display: flex; flex-direction: column; }
.field {
  position: relative;
  padding: 26px 0 14px;
  border-bottom: 1px solid var(--line);
}
.field::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.field.focused::after { transform: scaleX(1); }
.field label {
  position: absolute;
  top: 26px;
  left: 0;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--stone);
  pointer-events: none;
  transition: top .3s cubic-bezier(.2, .6, .2, 1), font-size .3s, color .3s, letter-spacing .3s;
}
.field.focused label, .field.filled label {
  top: 4px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.field.focused label { color: var(--amber); }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--bone);
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 0;
  caret-color: var(--amber);
}
.field textarea { resize: none; min-height: 72px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-foot {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.form-foot .hint {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--stone);
  line-height: 1.7;
  text-transform: uppercase;
}
.form-success {
  display: none;
  border: 1px solid var(--line-strong);
  padding: 48px;
}
.form-success .mono { color: var(--amber); display: block; margin-bottom: 16px; }
.form-success p {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--bone);
  max-width: 420px;
}
form.contact-form.sent { display: none; }
form.contact-form.sent + .form-success { display: block; }
.form-error {
  margin-top: 16px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- FOOTER ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad) 40px;
}
footer.site .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
}
footer.site .wordmark { font-size: 28px; }
footer.site .foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
footer.site .foot-links a {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color .25s;
}
footer.site .foot-links a:hover { color: var(--bone); }
footer.site .foot-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- CUSTOM CURSOR ---------- */
@media (pointer: fine) {
  * { cursor: none !important; }
  .cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--bone);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width .25s cubic-bezier(.2, .6, .2, 1), height .25s cubic-bezier(.2, .6, .2, 1), opacity .25s;
    mix-blend-mode: difference;
  }
  .cursor.hover {
    width: 36px;
    height: 36px;
  }
  .cursor.hidden { opacity: 0; }
}

/* ---------- MARQUEE ---------- */
.marquee-strip {
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
  padding-right: 56px;
}
.marquee-item .hi { color: var(--amber); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- PROJETOS TEASER ---------- */
.projetos-teaser-cta {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.projetos-teaser-note { color: var(--stone); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--pad) clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero .bg-grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(242,237,228,0.035) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%;
  pointer-events: none;
}
.page-hero .ph-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 28px;
  position: relative;
}
.page-hero h1 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 112px);
  letter-spacing: -0.04em;
  line-height: 0.93;
  color: var(--bone);
  text-wrap: balance;
  position: relative;
  max-width: 1080px;
}
.page-hero h1 .h-dot { color: var(--amber); }
.page-hero .ph-sub {
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 600px;
  margin-top: 28px;
  position: relative;
}
.page-hero .ph-sub em { font-style: normal; font-weight: 500; color: var(--bone); }
.page-hero .ph-cta { margin-top: 40px; position: relative; }

/* Authority block */
.authority {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5vw, 72px) 0;
  display: grid;
  grid-template-columns: clamp(140px, 22vw, 240px) 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.authority .auth-content h3 {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.authority .auth-content h3 em { font-style: normal; color: var(--amber); }
.authority .auth-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
}

/* Problem list */
.prob-list { border-top: 1px solid var(--line); }
.prob-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.prob-item .pi-num {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--stone);
  flex-shrink: 0;
  min-width: 28px;
}
.prob-item p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Solution features grid (inner pages) */
.sol-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sol-feature {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sol-feature .sf-num {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.sol-feature h3 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.sol-feature p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* Prototype showcase block */
.proto-block {
  border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 56px);
  position: relative;
}
.proto-block::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
}
.proto-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  margin-bottom: 24px;
}
.proto-block h3 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 52px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 16px;
}
.proto-block .proto-sector {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.proto-block .proto-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}
.proto-block .proto-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.proto-block .proto-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--line);
  padding: 5px 12px;
}
.proto-block .proto-link {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  transition: color .25s;
}
.proto-block .proto-link:hover { color: var(--amber); }

/* Project cards (projetos.html) */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: clamp(48px, 6vw, 88px);
}
.proj-card--cta { border-top: 2px solid var(--amber); }
.proj-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .35s;
}
.proj-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.proj-card:hover { background: var(--ink-2); }
.proj-card:hover::before { transform: scaleX(1); }
.proj-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  width: fit-content;
}
.proj-sector {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.proj-name {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.5vw, 38px);
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.proj-desc { font-size: 14px; line-height: 1.65; color: var(--muted); flex: 1; }
.proj-link {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s;
  margin-top: auto;
  padding-top: 8px;
}
.proj-link:hover { color: var(--amber); }

.proj-card--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 4vw, 60px) clamp(28px, 3vw, 48px);
  position: relative;
  transition: background .35s;
}
.proj-card--full::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
}
.proj-card--full:hover { background: var(--ink-2); }
.proj-card--full .proj-name { font-size: clamp(32px, 3.5vw, 52px); }
@media (max-width: 720px) {
  .proj-card--full { grid-template-columns: 1fr; gap: 28px; }
}

/* CTA section (inner pages) */
.cta-section {
  background: var(--bone);
  color: var(--ink);
  text-align: center;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  border-top: none;
}
.cta-section h2 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  max-width: 700px;
  margin: 0 auto 24px;
}
.cta-section p {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(12, 12, 12, 0.6);
  max-width: 540px;
  margin: 0 auto 48px;
}
.cta-section .btn.primary { background: var(--ink); color: var(--bone); }
.cta-section .btn.primary:hover { background: var(--amber); color: var(--ink); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  #mercado .metric-row { grid-template-columns: 1fr; }
  #mercado .metric { border-right: none; border-bottom: 1px solid var(--line); min-height: 0; gap: 28px; }
  #mercado .metric:last-child { border-bottom: none; }
  #solucoes .sol-grid { grid-template-columns: 1fr 1fr; }
  .sol { min-height: 280px; }
  #processo .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(2) { border-right: none; }
  #contato .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  header.site nav a.nav-link { display: none; }
  #hero .hero-top { flex-direction: column; gap: 8px; }
  #hero .hero-foot { grid-template-columns: 1fr; gap: 20px; }
  .block-head { grid-template-columns: 1fr; gap: 12px; }
  .block-head .num { padding-top: 0; }
  #solucoes .sol-grid { grid-template-columns: 1fr; }
  .sol { min-height: 0; }
  .sol h3 { margin-top: 32px; }
  #processo .steps { grid-template-columns: 1fr; }
  .step { border-right: none; padding-left: 0 !important; }
  .step .marker { left: 0 !important; }
  #processo .process-quote { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .authority { grid-template-columns: 1fr; gap: 16px; }
  .sol-features { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; padding-top: 120px; }
}
