/* ==========================================================================
   Arbória — arboria.tech
   Direção de design: editorial claro e moderno (ref. Wonderful + Comp),
   imagem de produto em destaque (ref. Palantir). IDV como tinta e acento:
   navy #031341 · laranja #ff8400 · off-white frio, cartões com sombra suave.
   ========================================================================== */

:root {
  --paper: #f5f6fa;
  --paper-card: #ffffff;
  --ink: #0e1330;
  --navy: #031341;
  --navy-2: #0c1d52;
  --navy-deep: #020d33;
  --muted: #5a6178;
  --muted-light: #9fa7c4;
  --line: #e4e7f0;
  --line-strong: #d4d9e6;
  --line-dark: #21306b;
  --orange: #ff8400;
  --orange-dark: #e07300;
  --orange-soft: rgba(255, 132, 0, 0.08);
  --white: #ffffff;

  /* superfícies mais planas: a separação vem das hairlines de 1px (ref. Palantir) */
  --shadow-card: 0 1px 2px rgba(8, 15, 52, 0.04), 0 8px 22px -12px rgba(8, 15, 52, 0.08);
  --shadow-card-hover: 0 1px 3px rgba(8, 15, 52, 0.05), 0 18px 40px -18px rgba(8, 15, 52, 0.13);

  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* geometria mais precisa, menos "bolha" (ref. Palantir) */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Tipografia display: grande, leve, apertada ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
strong { font-weight: 600; }
a { color: inherit; }

.br-desktop { display: none; }
@media (min-width: 720px) { .br-desktop { display: inline; } }

/* ---------- Rótulo mono ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow--dark { color: var(--muted); }
.section--navy .eyebrow { color: var(--muted-light); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 20px -8px rgba(8, 15, 52, 0.45);
}
.btn--primary:hover {
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(255, 132, 0, 0.45);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); }
.section--navy .btn--primary { background: var(--paper); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5); }
.section--navy .btn--primary:hover { background: var(--orange); }
.section--navy .btn--ghost { border-color: rgba(255,255,255,0.28); color: var(--white); }
.section--navy .btn--ghost:hover { border-color: var(--white); }
.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn__icon { width: 21px; height: 21px; flex: none; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo__img { height: 26px; width: auto; display: block; }
.logo--footer .logo__img { height: 30px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 250, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 9px 20px; font-size: 0.88rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease;
}

@media (max-width: 860px) {
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 8px 0 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 28px; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  /* laranja ambiente mais contido: cor cirúrgica, campo mais sóbrio (ref. Palantir) */
  background:
    radial-gradient(52% 64% at 92% -12%, rgba(255, 132, 0, 0.05), transparent 60%),
    radial-gradient(46% 58% at -6% 24%, rgba(3, 19, 65, 0.05), transparent 58%),
    var(--paper);
}
.hero__inner { padding: clamp(88px, 13vw, 170px) 28px clamp(72px, 9vw, 120px); }
.hero h1 { max-width: 34ch; }
.hero__ia {
  font-weight: 400;
  background: linear-gradient(100deg, var(--orange-dark), var(--orange) 60%, #ffab52);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--orange-dark);
}
.hero__sub {
  margin-top: 32px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.proof-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--paper-card);
  box-shadow: 0 1px 2px rgba(8, 15, 52, 0.04);
}
.proof-pill--badge { padding: 4px 6px; }
.proof-pill--badge img { display: block; height: 32px; width: auto; }

/* ==========================================================================
   TICKER — o que já construímos
   ========================================================================== */
.ticker {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.ticker__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  padding: 18px 28px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 1;
}
.ticker__viewport {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__list {
  display: flex;
  flex: none;
  align-items: center;
  list-style: none;
  animation: ticker-scroll 42s linear infinite;
}
.ticker:hover .ticker__list { animation-play-state: paused; }
.ticker__list li {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 0;
  white-space: nowrap;
}
.ticker__list li::after {
  content: "·";
  color: var(--orange);
  margin: 0 22px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__list { animation: none; }
}
@media (max-width: 720px) {
  .ticker__label { display: none; }
}

/* ==========================================================================
   SEÇÕES
   ========================================================================== */
.section--light {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(76px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
}
.section--navy {
  background:
    radial-gradient(55% 45% at 88% 0%, rgba(255, 132, 0, 0.045), transparent 58%),
    linear-gradient(180deg, #041649 0%, var(--navy) 40%, var(--navy-deep) 100%);
  color: var(--white);
  padding: clamp(76px, 10vw, 130px) 0;
}
.section__lead {
  margin-top: 26px;
  max-width: 60ch;
  font-size: 1.08rem;
  color: var(--muted);
}
.section__lead--light { color: var(--muted-light); }
.section__lead a { color: var(--ink); font-weight: 600; }
.section__lead strong { color: var(--ink); }
.section--navy .section__lead strong { color: var(--white); }

/* ==========================================================================
   NOSSA TESE — scrollytelling (a faixa move o grafo)
   ========================================================================== */
.thesis { overflow: clip; padding-bottom: clamp(40px, 6vw, 72px); }
.thesis__lead {
  margin-top: 26px;
  color: var(--muted-light);
  max-width: 56ch;
  font-size: 1.05rem;
}
.thesis__stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  margin-top: clamp(20px, 3vw, 44px);
  align-items: start;
}
.thesis__visual {
  position: sticky;
  /* centraliza o grafo verticalmente na janela */
  top: clamp(84px, calc(50vh - 290px), 34vh);
  align-self: start;
}
.thesis__visual svg {
  width: 100%;
  max-width: 490px;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
  transform: translateY(calc(var(--p, 0) * -28px));
  will-change: transform;
}

/* -- grafo: elementos base -- */
.tg__node rect { fill: var(--navy-2); stroke: var(--line-dark); stroke-width: 1.5; }
.tg__node text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--white);
  text-anchor: middle;
}
.tg__node--sm text { font-size: 11.5px; fill: var(--muted-light); }
.tg__node--ia rect { fill: rgba(255, 132, 0, 0.08); stroke: var(--orange); stroke-dasharray: 5 4; }
.tg__node--ia text { fill: var(--orange); font-size: 12px; }
.tg__vers { animation: tg-blink 2.4s ease-in-out infinite; }
@keyframes tg-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.tg__edge {
  fill: none;
  stroke: var(--line-dark);
  stroke-width: 1.5;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}
.tg__edge--thin { stroke-width: 1; opacity: 0.75; }
.tg__edge--dash { stroke-dasharray: 5 5; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s ease .3s; }
.tg__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  fill: var(--muted-light);
  text-anchor: middle;
}

.tg-center rect { fill: var(--paper); }
.tg-center text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--ink);
  font-weight: 500;
  text-anchor: middle;
}

/* -- nascimento por passo (classes s1..s7 acumulam na section) -- */
.tg-era1 .tg__edge,
.tg-era2 .tg__edge { transition: stroke-dashoffset 1.1s ease calc(var(--i) * .14s); }
.tg-era1 .tg__node,
.tg-era2 .tg__node,
.tg-cto .tg__node,
.tg-cto .tg__hint {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease calc(var(--i, 0) * .12s), transform .5s ease calc(var(--i, 0) * .12s);
}
.thesis.s1 .tg-era1 .tg__edge { stroke-dashoffset: 0; }
.thesis.s1 .tg-era1 .tg__node { opacity: 1; transform: none; }
.thesis.s2 .tg-era2 .tg__edge { stroke-dashoffset: 0; }
.thesis.s2 .tg-era2 .tg__node { opacity: 1; transform: none; }
.thesis.s2 .tg-cto .tg__node,
.thesis.s2 .tg-cto .tg__hint { opacity: 1; transform: none; }
.thesis.s2 .tg-cto .tg__edge--dash { opacity: 0.8; }

/* -- coluna dos passos -- */
.thesis__steps { min-width: 0; }
.thesis-step {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity .45s ease;
}
.thesis--js .thesis-step { opacity: 0.32; }
.thesis-step.is-active { opacity: 1; }
.thesis-step__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.thesis-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--white);
  max-width: 28ch;
}
.thesis-step > p:not(.thesis-step__label) {
  margin-top: 16px;
  color: var(--muted-light);
  font-size: 1rem;
  max-width: 48ch;
}
.thesis-step__note { color: var(--white) !important; font-weight: 500; }

@media (max-width: 860px) {
  .thesis__stage { grid-template-columns: 1fr; }
  .thesis__visual { display: none; }
  .thesis--js .thesis-step { opacity: 1; }
  .thesis-step { min-height: 0; margin-top: 48px; }
}

/* ==========================================================================
   AS SAÍDAS CONHECIDAS — continuação da tese, noutro padrão (navy claro)
   ========================================================================== */
.section--navy2 {
  background:
    radial-gradient(48% 42% at 10% 0%, rgba(255, 132, 0, 0.035), transparent 56%),
    linear-gradient(180deg, #0a1c55 0%, #081642 100%);
  color: var(--white);
  padding: clamp(76px, 10vw, 130px) 0;
  border-top: 1px solid var(--line-dark);
}
.section--navy2 .eyebrow { color: var(--muted-light); }

.paths__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.path-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 26px 24px;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.path-card:hover {
  border-color: rgba(255, 132, 0, 0.55);
  background: rgba(255, 132, 0, 0.05);
  transform: translateY(-3px);
}
.path-card__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.path-card__tag::before { content: "✕"; margin-right: 8px; }
.path-card h3 { font-size: 1.08rem; color: var(--white); }
.path-card p { margin-top: 10px; color: var(--muted-light); font-size: 0.93rem; }

.paths__punch {
  margin-top: clamp(56px, 7vw, 80px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line-dark);
}
.paths__conclusion {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--white);
  max-width: 36ch;
}
.paths__role {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.paths__note {
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 1rem;
  max-width: 58ch;
}

.fit {
  margin-top: clamp(40px, 6vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.fit__col h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
}
.fit__col p {
  color: var(--muted-light);
  font-size: 0.93rem;
  max-width: 46ch;
}

/* ==========================================================================
   ARBÓRIA OS — diagrama de orquestração da operação com IA
   ========================================================================== */
.aos { margin-top: clamp(48px, 7vw, 84px); --aos-blue: #3350c8; }

/* moldura tipo painel de produto (ecoa as telas em .browser-frame) */
.aos__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle, rgba(3, 19, 65, 0.045) 1px, transparent 1.6px) 0 0 / 26px 26px,
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  box-shadow: var(--shadow-card);
  padding: clamp(16px, 2.4vw, 30px) clamp(16px, 2.6vw, 34px) clamp(20px, 3vw, 36px);
  overflow: hidden;
}
.aos__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: clamp(10px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
}
.aos__caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.aos__panel-dots { display: inline-flex; gap: 6px; flex: none; }
.aos__panel-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }

.aos__svg { width: 100%; max-width: 1040px; height: auto; display: block; margin: 0 auto; overflow: visible; }

/* -- conexões -- */
.aos__edge {
  fill: none;
  stroke: rgba(3, 19, 65, 0.20);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  transition: stroke-dashoffset 1.2s ease calc(.15s + var(--i) * .06s);
}
.aos__edge--v { stroke-dasharray: 64; stroke-dashoffset: 64; stroke: rgba(3, 19, 65, 0.14); }
.aos.is-visible .aos__edge { stroke-dashoffset: 0; }

/* -- pulsos de dados (fluxo subindo pela orquestração) -- */
.aos__pulse { fill: var(--aos-blue); opacity: 0; transition: opacity .6s ease 1.5s; }
.aos.is-visible .aos__pulse { opacity: 0.9; }

/* -- verbos: etiquetas mono pousadas sobre as conexões -- */
.aos__verb rect { fill: var(--paper-card); stroke: var(--line); stroke-width: 1; }
.aos__verb text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: var(--aos-blue);
  text-anchor: middle;
}
.aos__verb { opacity: 0; transition: opacity .6s ease 1.1s; }
.aos.is-visible .aos__verb { opacity: 1; }

/* -- entrada em cascata dos nós -- */
.aos__chip, .aos__core, .aos__sys, .aos__truth {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease calc(.2s + var(--i) * .09s), transform .55s ease calc(.2s + var(--i) * .09s);
}
.aos.is-visible :is(.aos__chip, .aos__core, .aos__sys, .aos__truth) { opacity: 1; transform: none; }

/* capacidades (topo) */
.aos__chip rect {
  fill: var(--paper-card);
  stroke: var(--line);
  stroke-width: 1.25;
  filter: drop-shadow(0 5px 12px rgba(8, 15, 52, 0.06));
}
.aos__chip-bar { fill: var(--aos-blue); stroke: none; }
.aos__chip-title { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.aos__chip-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; fill: var(--muted); text-anchor: middle; }

/* núcleo (centro) */
.aos__core-halo { fill: none; stroke: rgba(3, 19, 65, 0.16); stroke-width: 1; }
.aos__core-box { fill: url(#aosCore); filter: drop-shadow(0 20px 34px rgba(3, 19, 65, 0.26)); }
.aos__node { fill: #7f95ee; }
.aos__core-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  fill: var(--white);
  text-anchor: middle;
}
.aos__core-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--muted-light);
  text-anchor: middle;
}

/* sistemas do cliente (base da leitura) */
.aos__sys rect { fill: var(--paper); stroke: var(--line-strong); stroke-width: 1.25; }
.aos__sys text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--muted);
  text-anchor: middle;
}

/* fonte única da verdade (fundação) */
.aos__truth rect { fill: var(--navy-2); }
.aos__truth-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--white);
  text-anchor: middle;
}
.aos__truth-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; fill: var(--muted-light); text-anchor: middle; }

.aos__fallback { display: none; }
@media (max-width: 720px) {
  .aos__svg { display: none; }
  .aos__panel { padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
  .aos__panel-head { display: none; }
  .aos__fallback { display: flex; flex-direction: column; gap: 10px; }
  .aos__fallback p {
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 16px 18px;
    font-size: 0.92rem;
    color: var(--muted);
  }
  .aos__fallback p span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--aos-blue);
    margin-bottom: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aos__edge, .aos__edge--v { stroke-dashoffset: 0; transition: none; }
  .aos__chip, .aos__core, .aos__sys, .aos__truth, .aos__verb { opacity: 1; transform: none; transition: none; }
  .aos__pulse { display: none; }
}

/* ==========================================================================
   COMO ATUAMOS — as quatro frentes (ref. Palantir: cada frente é uma linha)
   ========================================================================== */
.platform { margin-top: clamp(56px, 8vw, 96px); }
/* cada frente é uma linha: texto de um lado, tela do produto (grande) do outro,
   alternando o lado a cada linha — sem hover, a imagem fica sempre visível */
.platform-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-areas:
    "head  media"
    "body  media";
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(44px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.platform-row:last-child { border-bottom: 1px solid var(--line); }
.platform-row:nth-child(even) {
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "media head"
    "media body";
}
.platform-row__head { grid-area: head; }
.platform-row__body { grid-area: body; margin-top: 20px; }
.platform-row__media { grid-area: media; align-self: center; }

.platform-row__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--orange-dark);
  margin-bottom: 18px;
}
.platform-row__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.platform-row__role {
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 28ch;
}
.platform-row__body p { font-size: 0.96rem; color: var(--muted); max-width: 46ch; }
.platform-row__points {
  list-style: none;
  margin-top: 24px;
}
.platform-row__points li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.platform-row__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.deliverables {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.deliverables h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
  color: var(--ink);
}
.deliverables__lead {
  margin-top: 10px;
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 56ch;
}
.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 clamp(28px, 4vw, 48px);
  margin-top: 32px;
}
.deliverable {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.deliverable h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.deliverable p {
  font-size: 0.87rem;
  color: var(--muted);
}

/* a tela do produto ocupa a largura da coluna, na proporção real do screenshot */
.platform-row__media .browser-frame img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .platform-row,
  .platform-row:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "body";
    row-gap: 22px;
  }
  .platform-row__body { margin-top: 0; }
  .platform-row__media { align-self: stretch; }
}

/* janela de navegador (telas do produto) */
.browser-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s ease, transform .35s ease;
}
.browser-frame__dots { display: flex; gap: 5px; padding: 9px 11px; }
.browser-frame__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.browser-frame img {
  width: 100%;
  display: block;
  transform: scale(1.001);
  transition: transform .6s ease;
}
.platform-row:hover .browser-frame { box-shadow: var(--shadow-card-hover); }
.platform-row:hover .browser-frame img { transform: scale(1.02); }

/* ==========================================================================
   CASES
   ========================================================================== */

/* case em destaque (ref. ENTER: narrativa + métricas grandes) */
.case-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 64px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s ease, transform .35s ease;
}
.case-feature:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.case-feature__text {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
}
.case-feature__text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 20px;
  max-width: 22ch;
}
.case-feature__desc {
  margin-top: 16px;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 44ch;
}
.case-feature__stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin-top: auto;
  padding-top: 36px;
}
.case-feature__stats > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  min-width: 150px;
}
.case-feature__stats strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}
.case-feature__stats strong span {
  font-size: 0.42em;
  font-weight: 400;
  color: var(--orange-dark);
  margin-left: 2px;
}
.case-feature__stats p {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.case-feature__photo { overflow: hidden; }
.case-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform .6s ease;
}
.case-feature:hover .case-feature__photo img { transform: scale(1.05); }
@media (max-width: 860px) {
  .case-feature { grid-template-columns: 1fr; }
  .case-feature__photo { aspect-ratio: 16 / 9; order: -1; }
  .case-feature__stats { flex-wrap: wrap; margin-top: 28px; }
}

/* declaração (ref. Comp/ENTER: prova em primeira pessoa) */
.statement {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(24px, 4vw, 72px);
}
.statement__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.statement__body {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 62ch;
}
.statement__body strong { color: var(--ink); }
@media (max-width: 860px) {
  .statement { grid-template-columns: 1fr; }
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 64px;
}
.result-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s ease, transform .35s ease;
}
.result-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.result-card__stat {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.result-card__stat span {
  font-size: 0.42em;
  font-weight: 400;
  color: var(--orange-dark);
  margin-left: 2px;
}
.result-card h3 { font-size: 1rem; margin-top: 6px; }
.result-card p:not(.result-card__stat):not(.result-card__tag) {
  font-size: 0.9rem;
  color: var(--muted);
}
.result-card__photo {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.result-card__photo--top {
  order: -1;
  margin: -31px -27px 18px; /* sangra até a borda do card */
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 8;
}

/* desktop com mouse: a foto do case aparece ao passar o cursor */
@media (hover: hover) and (min-width: 861px) {
  .result-card { position: relative; overflow: hidden; }
  .result-card__photo--top {
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 0;
    aspect-ratio: auto;
    order: 0;
    opacity: 0;
    transform: scale(1.07);
    transition: opacity .45s ease, transform 1.2s ease;
    z-index: 0;
    pointer-events: none;
  }
  .result-card__photo--top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,19,65,.5) 0%, rgba(3,19,65,.88) 100%);
  }
  .result-card:hover .result-card__photo--top { opacity: 1; transform: scale(1); }
  .result-card > *:not(.result-card__photo--top) { position: relative; z-index: 1; }
  .result-card h3,
  .result-card .result-card__stat,
  .result-card p:not(.result-card__stat),
  .result-card .result-card__tag { transition: color .35s ease; }
  .result-card:hover h3,
  .result-card:hover .result-card__stat { color: var(--white); }
  .result-card:hover p:not(.result-card__stat):not(.result-card__tag) { color: #cdd2e4; }
  .result-card:hover .result-card__stat span,
  .result-card:hover .result-card__tag { color: var(--orange); }
}
.result-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform .5s ease;
}
.result-card:hover .result-card__photo img { transform: scale(1.06); }
.result-card__tag {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ==========================================================================
   POR QUE FUNCIONA — linhas editoriais
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
  margin-top: 64px;
}
.why-card {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line-dark);
}
.why-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.08rem; }
.why-card p { font-size: 0.95rem; color: var(--muted-light); max-width: 44ch; }

/* ==========================================================================
   POR ONDE COMEÇA — linha do tempo
   ========================================================================== */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px clamp(20px, 3vw, 36px);
  margin-top: 72px;
}
.timeline__item {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
}
.timeline__num {
  position: absolute;
  top: -0.62em;
  left: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  padding-right: 16px;
}
.timeline__item:last-child .timeline__num { color: var(--orange-dark); }
.timeline__card { padding-top: 18px; flex: 1; }
.timeline__moment {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 12px;
}
.timeline__card h3 { margin-bottom: 10px; }
.timeline__card p:not(.timeline__moment) { font-size: 0.93rem; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 52px 22px 0;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--orange-dark);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 40px 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .faq__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.cta__sub {
  margin-top: 16px;
  font-size: 1.15rem;
  color: var(--muted-light);
}
.cta .hero__actions { margin-top: 44px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  color: var(--muted-light);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-dark);
}
.footer .logo { color: var(--white); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand p { margin-top: 14px; font-size: 0.9rem; }
.footer__links, .footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a, .footer__social a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted-light);
  transition: color .2s ease;
}
.footer__links a:hover, .footer__social a:hover { color: var(--white); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer__mono { font-family: var(--font-mono); }

/* CTA intermediário (ref. Comp: "quer construir o plano?") */
.midcta {
  margin-top: clamp(56px, 8vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 44px);
}
.midcta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.midcta p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; max-width: 52ch; }

/* ==========================================================================
   REVEAL (entrada suave ao rolar) + nascimento em cascata
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* cascata: itens de grades e listas nascem em sequência */
.hero__inner > .reveal:nth-child(2) { transition-delay: .08s; }
.hero__inner > .reveal:nth-child(3) { transition-delay: .16s; }
.hero__inner > .reveal:nth-child(4) { transition-delay: .24s; }
.hero__inner > .reveal:nth-child(5) { transition-delay: .32s; }
.results__grid > .reveal:nth-child(2),
.why__grid > .reveal:nth-child(2),
.timeline > .reveal:nth-child(2) { transition-delay: .12s; }
.results__grid > .reveal:nth-child(3),
.why__grid > .reveal:nth-child(3),
.timeline > .reveal:nth-child(3) { transition-delay: .24s; }
.why__grid > .reveal:nth-child(4),
.timeline > .reveal:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .thesis__visual svg { transform: none; }
  .tg__edge, .tg-era1 .tg__edge, .tg-era2 .tg__edge { transition: none; }
  .thesis .tg__node { transition: none; }
  .tg__vers { animation: none; }
  .thesis-step { transition: none; }
  .path-card, .platform-row__media .browser-frame { transition: none; }
}
