/* Satoshi (Fontshare), servida localmente */
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* ==========================================================================
   Alexfolio — recriação
   Breakpoints (iguais ao Framer): desktop ≥1200 · tablet 810–1199 · mobile <810
   ========================================================================== */

:root {
  --bg: #121111;
  --black: #000;
  --white: #fff;
  --muted: #a7a0a0;
  --line: #403b3b;
  --dim: #222020;
  --logo: #544f4f;
  --accent: #e2362b;
  --card-bg: #121111;

  --font: 'Satoshi', system-ui, -apple-system, sans-serif;
  --mono: 'Satoshi', system-ui, -apple-system, sans-serif;

  --gutter: 20px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

html { background: var(--bg); overscroll-behavior: none; }

/* letreiros sem separador: espaço entre as repetições */
.hero__name .marquee__item,
.footer__name .marquee__item { margin-right: 0.35em; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
.pd-cover img { max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

/* Inter "Display": eixo de tamanho óptico no máximo */
.display, h1, h2, h3, h4 { font-variation-settings: 'opsz' 32; }
.mono { font-family: var(--mono); font-size: 18px; line-height: 26px; letter-spacing: 0.01em; font-weight: 400; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.body-text {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
  font-variation-settings: 'opsz' 32;
}

/* --------------------------------------------------------------------------
   Estrutura com footer "cortina" (revelado por baixo do conteúdo)
   -------------------------------------------------------------------------- */
.page {
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.footer-space { height: 100vh; height: 100svh; position: relative; z-index: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  mix-blend-mode: exclusion;
  color: var(--white);
  font-variation-settings: 'opsz' 32;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px var(--gutter);
  height: 92px;
}
.header a { font-size: 18px; line-height: 22px; }
.header__brand { font-weight: 700; letter-spacing: -0.01em; }
.header__burger { display: none; }

.mobile-menu { display: none; }

/* Hover com rolagem de texto (dois textos empilhados) */
.roll {
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
  vertical-align: top;
}
.roll > span {
  display: block;
  transition: transform 0.45s var(--ease-out);
  white-space: nowrap;
}
a:hover .roll > span,
.roll-trigger:hover .roll > span { transform: translateY(-100%); }

/* --------------------------------------------------------------------------
   Rótulo de seção  "// Intro"
   -------------------------------------------------------------------------- */
.label {
  position: sticky;
  top: 0;
  z-index: 10;
  pointer-events: none;
}
.label__line { height: 1px; background: var(--line); }
.label__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--gutter);
  height: 48px;
}
.label__slashes { font-family: var(--font); font-size: 16px; line-height: 19px; color: var(--accent); font-variation-settings: 'opsz' 14; }
.label__text { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--accent); }

/* --------------------------------------------------------------------------
   Botão pílula com círculo laranja no hover
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  border-radius: 56px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  font-size: 18px;
  line-height: 25px;
  color: var(--muted);
  font-variation-settings: 'opsz' 32;
}
.btn__circle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.8s var(--ease-out);
  z-index: -1;
}
.btn:hover .btn__circle { transform: scale(110); }
.pd-overview__info .btn { align-self: flex-start; }
.btn .roll > span:last-child { color: var(--bg); }
.btn--light { background: var(--white); color: var(--bg); box-shadow: none; border-radius: 38px; }
.btn--light .roll > span:last-child { color: var(--white); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; width: 100%; }
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__item { flex: none; }

/* --------------------------------------------------------------------------
   HERO (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--bg);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease-out), transform 2s var(--ease-out);
}
.is-loaded .hero__media { opacity: 1; transform: none; }
.hero__media img,
.hero__unicorn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--mobile { display: none; }
.hero__img--desktop { object-position: 50% 20%; }
.hero__img--mobile { object-position: 50% 0; }
.footer__media img { object-position: 50% 20%; }
.hero__unicorn { z-index: 1; }

.hero__name {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  mix-blend-mode: exclusion;
  pointer-events: none;
}
.hero__name .marquee__item {
  font-size: 280px;
  line-height: 220px;
  font-weight: 500;
  letter-spacing: -0.04em;
  padding: 8px 12px 68px;
  white-space: nowrap;
  font-variation-settings: 'opsz' 32;
}
.hero__name { margin-top: 30px; }

.hero__name .marquee { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease-out) 0.3s, transform 1.2s var(--ease-out) 0.3s; }
.is-loaded .hero__name .marquee { opacity: 1; transform: none; }

.hero__socials {
  position: absolute;
  left: 16px;
  bottom: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  mix-blend-mode: exclusion;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 25px;
  font-variation-settings: 'opsz' 32;
}
.social svg { width: 24px; height: 24px; fill: currentColor; flex: none; }

.hero__roles {
  position: absolute;
  right: 28px;
  bottom: 48px;
  z-index: 3;
  mix-blend-mode: exclusion;
  text-align: right;
  font-size: 64px;
  line-height: 64px;
  font-weight: 600;
  letter-spacing: -0.033em;
}
.hero__roles span { display: block; }
/* cargos em vermelho (sem blend para manter a cor pura) */
.hero__roles { color: var(--accent); mix-blend-mode: normal; }

/* aparições */
[data-appear] {
  opacity: 0;
  transform: translateY(var(--ay, 40px));
  filter: blur(var(--ab, 8px));
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--ad, 0s);
}
[data-appear].in { opacity: 1; transform: none; filter: none; }

/* --------------------------------------------------------------------------
   INTRO (what i do)
   -------------------------------------------------------------------------- */
.intro { padding-bottom: 120px; }
.intro__inner { padding: 120px var(--gutter) 0; display: flex; flex-direction: column; gap: 60px; }
.big-text {
  font-size: 72px;
  line-height: 74px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.intro__text { width: 1200px; max-width: 100%; margin: 0 auto; text-indent: 285px; }
.intro__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.intro__content { display: flex; flex-direction: column; gap: 60px; align-items: flex-start; }
.intro__content p { max-width: 530px; }

/* revelação de cor por caractere */
.reveal .ch { color: var(--dim); transition: color 0.15s linear; }
.reveal .ch.on { color: var(--c, var(--white)); }

/* --------------------------------------------------------------------------
   SERVICES / FACTS  (número gigante fixo + cartões)
   -------------------------------------------------------------------------- */
.services { padding-bottom: 128px; display: flex; flex-direction: column; gap: 40px; }
.split {
  display: grid;
  grid-template-columns: 462px 1fr;
  gap: 32px;
  padding: var(--gutter);
}
.split__number {
  position: sticky;
  top: 96px;
  align-self: start;
  height: 342px;
}
.big-number {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 362px;
  line-height: 320px;
  letter-spacing: -0.02em;
  color: var(--bg);
  -webkit-text-stroke: 1px var(--white);
  display: flex;
  overflow: hidden;
  height: 342px;
  margin-left: -14px;
}
.big-number .digit { position: relative; display: block; overflow: hidden; height: 320px; }
.big-number .digit span {
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.big-number .slash-zero { font-variant-numeric: slashed-zero; }

.split__cards { display: flex; flex-direction: column; gap: 240px; padding-top: 160px; }
.svc-card { display: flex; flex-direction: column; gap: 80px; transform-origin: 50% 0; will-change: transform; }
.svc-card__head { display: flex; flex-direction: column; gap: 48px; }
.svc-card__title { font-size: 72px; line-height: 72px; font-weight: 600; letter-spacing: -0.03em; }
.svc-card__desc { max-width: 576px; padding-left: 15px; }
.svc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  min-height: 52px;
}
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list .name { font-size: 18px; line-height: 24px; font-weight: 600; font-variation-settings: 'opsz' 32; }

.facts .split__cards { gap: 0; padding-top: 0; }
.fact-card { padding: 160px 46px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 48px; }
.fact-card:last-of-type { border-bottom: 0; }
.fact-spacer { height: 306px; }

/* --------------------------------------------------------------------------
   PROJECT CARD (home, projects)
   -------------------------------------------------------------------------- */
.pcard {
  display: flex;
  gap: 10px;
  height: 100%;
  padding: 12px;
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.pcard__img {
  position: relative;
  flex: 1 1 63%;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__text {
  flex: 0 0 485px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.pcard__head { display: flex; flex-direction: column; gap: 20px; }
.pcard__title { font-size: 64px; line-height: 64px; font-weight: 600; letter-spacing: -0.033em; }
.pcard__desc { max-width: 380px; }
.pcard__tags { display: flex; flex-direction: column; gap: 8px; }
.pcard__tags li { color: var(--muted); font-size: 18px; line-height: 25px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-variation-settings: 'opsz' 32; }
.pcard__tags li:last-child { border-bottom: 0; padding-bottom: 0; }

/* home: cartões empilhados */
.projects { padding-bottom: 120px; display: flex; flex-direction: column; gap: 60px; }
.stack { display: flex; flex-direction: column; gap: 200px; }
.stack__item {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  padding: 60px var(--gutter) var(--gutter);
}
.stack__item > a { height: 100%; transform-origin: 50% 0; will-change: transform; }
.stack__shade { position: absolute; inset: 0; border-radius: 20px; background: #000; opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials { padding-bottom: 60px; display: flex; flex-direction: column; gap: 40px; }
.testimonials__inner { padding: 96px var(--gutter); }
.tst { position: relative; display: flex; justify-content: center; min-height: 565px; }
.tst__body { width: 920px; max-width: 100%; display: flex; flex-direction: column; gap: 48px; }
.tst__quote-wrap { position: relative; min-height: 467px; }
.tst__slide { position: absolute; inset: 0 0 auto 0; transition: opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.tst__slide:not(.is-active) { opacity: 0; filter: blur(10px); transform: translateY(20px); pointer-events: none; }
.tst__slide.is-active { position: relative; }
.tst__count { position: absolute; left: 0; top: 18px; }
.tst__count b { font-weight: 400; color: var(--accent); }
.tst__count i { font-style: normal; color: var(--line); }
.tst__quote { text-indent: 172px; letter-spacing: -0.03em; }
.tst__quote--mid { font-size: 56px; line-height: 60px; }
.tst__quote--long { font-size: 38px; line-height: 44px; letter-spacing: -0.02em; }
.tst__author { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.tst__author strong { font-size: 18px; line-height: 24px; font-weight: 600; }
.tst__author strong span { margin-right: 8px; }
.tst__author .body-text { padding-left: 20px; }
.tst__avatars { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.tst__avatar { width: 72px; height: 72px; padding: 4px; border-radius: 80px; background: var(--bg); transition: background 0.4s; }
.tst__avatar img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: grayscale(1); opacity: 0.5; transition: opacity 0.4s, filter 0.4s; }
.tst__avatar:hover img { opacity: 0.85; }
.tst__avatar.is-active { background: var(--accent); }
.tst__avatar.is-active img { opacity: 1; filter: none; }

/* --------------------------------------------------------------------------
   TRUST (logos)
   -------------------------------------------------------------------------- */
.trust { height: 96px; display: flex; align-items: center; background: var(--bg); }
.trust .marquee__item { display: flex; align-items: center; padding: 0 30px; height: 96px; }
.trust .marquee__item { gap: 60px; }
.trust__item { font-size: 28px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--logo); white-space: nowrap; font-variation-settings: 'opsz' 32; }

/* --------------------------------------------------------------------------
   FOOTER (fixo, revelado)
   -------------------------------------------------------------------------- */
.footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 100vh;
  height: 100svh;
  z-index: 1;
  overflow: hidden;
  background: var(--bg);
  visibility: hidden;
}
.footer.is-visible { visibility: visible; }
.footer__media { position: absolute; inset: 0; opacity: 0; transform: scale(1.1); will-change: transform, opacity; }
.footer__media img { width: 100%; height: 100%; object-fit: cover; }
.footer__name {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  mix-blend-mode: exclusion;
  z-index: 2;
}
.footer__name { margin-top: 30px; }
.footer__name .marquee__item {
  font-size: 280px;
  line-height: 220px;
  font-weight: 500;
  letter-spacing: -0.04em;
  padding: 18px 12px 78px; /* espaço para descendentes (g, p, ç) */
  white-space: nowrap;
}
.footer__details {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 60px;
  mix-blend-mode: exclusion;
  font-size: 16px;
  line-height: 1.6;
  font-variation-settings: 'opsz' 14;
}
.footer__details strong { font-weight: 600; }
.footer__socials { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.to-top {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 48px;
  background: var(--white);
  color: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.to-top svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.to-top:hover svg { animation: arrowUp 0.6s var(--ease-out); }
@keyframes arrowUp { 0% { transform: none; } 45% { transform: translateY(-30px); } 46% { transform: translateY(30px); } 100% { transform: none; } }

/* --------------------------------------------------------------------------
   PROJECTS PAGE
   -------------------------------------------------------------------------- */
.page-hero { padding: 320px var(--gutter) var(--gutter); }
.page-title { font-size: 120px; line-height: 108px; font-weight: 600; letter-spacing: -0.04em; }

.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hscroll__track { display: flex; height: 100%; will-change: transform; }
.hscroll__item { flex: 0 0 1280px; height: 100%; padding: 60px var(--gutter) var(--gutter); }
.hscroll__item > a { height: 100%; }

.rows { display: flex; flex-direction: column; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  height: 66px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s;
}
.row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}
.row:hover::before { transform: scaleY(1); }
.row__name { display: flex; align-items: baseline; gap: 16px; font-weight: 600; font-size: 18px; line-height: 24px; }
.row__name .mono { color: var(--muted); font-weight: 400; transition: color 0.3s; }
.row:hover .row__name .mono,
.row:hover .row__cat,
.row:hover .row__num { color: var(--white); }
.row__cat { color: var(--muted); transition: color 0.3s; }
.row__right { display: flex; align-items: center; gap: 10px; }
.row__num { color: var(--muted); display: grid; width: 24px; height: 26px; overflow: hidden; transition: color 0.3s; }
.row__num > * { grid-area: 1 / 1; display: grid; place-items: center; transition: transform 0.45s var(--ease-out); }
.row__num svg { width: 22px; height: 22px; transform: translateY(100%); }
.row:hover .row__num > span { transform: translateY(-100%); }
.row:hover .row__num svg { transform: none; }
.old-projects { padding-bottom: 0; }
.old-projects .rows,
.awards .rows { padding-top: 80px; }
.awards .row { grid-template-columns: 1fr 1fr 1fr auto; }
.awards .row__num { width: auto; }
.awards .row__right .mono { color: var(--muted); }
.row__arrow { width: 24px; height: 24px; display: grid; place-items: center; }
.row__arrow svg { width: 22px; height: 22px; transition: transform 0.45s var(--ease-out); }
.row:hover .row__arrow svg { transform: rotate(45deg); }

/* Cursor personalizado "View" / "Scroll" */
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) scale(0.3);
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
}
.cursor.is-on { opacity: 1; transform: translate3d(var(--cx), var(--cy), 0) scale(1); }

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.about-hero { padding: 320px var(--gutter) 160px; display: flex; flex-direction: column; gap: 80px; }
.about-hero__text { text-indent: 0; }
.about-hero__avatar {
  display: inline-block;
  width: 60px; height: 92px;
  margin-right: 316px;
  border-radius: 6px;
  overflow: hidden;
  vertical-align: baseline;
}
.about-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.about-cols > div:last-child { display: flex; flex-direction: column; gap: 40px; align-items: flex-end; }
.about-cols > div:last-child p { align-self: stretch; }

.parallax-block { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.parallax-block img { position: absolute; left: 0; width: 100%; height: 120%; top: -20%; object-fit: cover; will-change: transform; }

.awards { display: flex; flex-direction: column; }

.quote-block { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; }
.quote-block img { position: absolute; left: 0; width: 100%; height: 133%; top: -22%; object-fit: cover; opacity: 0.34; will-change: transform; }
.quote-block .big-text { position: relative; z-index: 2; width: 764px; max-width: calc(100% - 2 * var(--gutter)); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact { padding: 180px var(--gutter) 240px; display: grid; grid-template-columns: 462px 1fr; gap: 96px; min-height: 100vh; }
.contact__title { position: sticky; top: 180px; align-self: start; font-size: 120px; line-height: 108px; font-weight: 600; letter-spacing: -0.04em; }
.contact__form-wrap { padding-top: 200px; display: flex; flex-direction: column; gap: 40px; }
.contact__lead { font-size: 40px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; }
.form { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.form__grid { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.field { display: block; width: 100%; border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.field:focus-within { border-color: var(--white); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--white);
  font: 400 16px/1.2 var(--font);
  padding: 16px 0;
  resize: vertical;
}
.field textarea { min-height: 54px; }
.field ::placeholder { color: var(--muted); }
.contact__details { padding-top: 56px; display: flex; flex-direction: column; gap: 60px; font-size: 16px; line-height: 1.6; }
.contact__details strong { font-weight: 600; }
.form__status { font-size: 16px; color: var(--muted); }

/* --------------------------------------------------------------------------
   PROJECT DETAIL
   -------------------------------------------------------------------------- */
.pd-cover { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); z-index: 0; }
.pd-cover img { position: absolute; left: -32px; top: -32px; width: calc(100% + 64px); height: calc(100% + 64px); object-fit: cover; transition: transform 1s var(--ease-out); }
.pd-body { position: relative; z-index: 2; background: var(--bg); }
.pd-overview { min-height: 100vh; min-height: 100svh; padding: 0 0 96px; display: flex; align-items: flex-end; }
.pd-overview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.pd-overview__title { padding: 0 0 20px var(--gutter); align-self: end; }
.pd-overview__info { padding-right: var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.pd-overview__info h2 { font-size: 18px; line-height: 24px; font-weight: 600; }
.pd-overview__info h2 span { color: var(--accent); margin-right: 6px; }
/* largura inteira sempre visível: a caixa é um pouco mais baixa que a imagem 16:9, então o parallax só corta em cima e embaixo */
.pd-image { position: relative; aspect-ratio: 2 / 1; overflow: hidden; margin-top: 20px; }
.pd-image img { position: absolute; left: 0; top: -6.25%; width: 100%; height: auto; will-change: transform; }
/* prints de produto: imagem inteira, em moldura */
.pd-shot { padding: 20px var(--gutter) 0; }
.pd-shot img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
.pd-more { margin-top: 20px; }
.pd-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 40px var(--gutter) var(--gutter); }
.scard { display: flex; flex-direction: column; gap: 20px; padding: 12px; border-radius: 20px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line); height: 636px; }
.scard__img { flex: 0 0 496px; border-radius: 16px; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__text { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 0 8px; }
.scard__title { font-size: 40px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; }

body.is-project .footer { background: #292929; }

/* ==========================================================================
   TABLET  (810 – 1199)
   ========================================================================== */
@media (max-width: 1199px) {
  .hero__name .marquee__item,
  .footer__name .marquee__item { font-size: 200px; line-height: 170px; }
  .hero__roles { font-size: 48px; line-height: 48px; }
  .big-text { font-size: 56px; line-height: 58px; }
  .intro__text { text-indent: 180px; }
  .split { grid-template-columns: 300px 1fr; }
  .big-number { font-size: 220px; line-height: 200px; height: 210px; margin-left: -8px; }
  .big-number .digit { height: 200px; }
  .svc-card__title { font-size: 56px; line-height: 56px; }
  .pcard__text { flex-basis: 380px; padding: 24px; }
  .pcard__title { font-size: 48px; line-height: 48px; }
  .hscroll__item { flex-basis: 960px; }
  .tst__quote { text-indent: 140px; }
  .tst__body { width: auto; margin-right: 96px; }
  .contact { grid-template-columns: 1fr 1.6fr; gap: 48px; }
  .contact__title { font-size: 96px; line-height: 88px; }
  .about-hero__avatar { margin-right: 120px; }
  .page-title { font-size: 96px; line-height: 88px; }
  .scard { height: auto; }
  .scard__img { flex-basis: auto; aspect-ratio: 456 / 496; }
  .scard__title { font-size: 32px; line-height: 32px; }
}

/* ==========================================================================
   MOBILE  (< 810)
   ========================================================================== */
@media (max-width: 809px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }

  /* header */
  .header { mix-blend-mode: normal; }
  .header__inner { padding: 16px; height: 72px; }
  .header__nav { display: none; }
  .header__brand { mix-blend-mode: exclusion; }
  .header__burger {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    position: relative;
    mix-blend-mode: exclusion;
  }
  .header__burger i { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--white); transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out); }
  .header__burger i:nth-child(1) { top: 15px; }
  .header__burger i:nth-child(2) { top: 23px; }
  .menu-open .header__burger i:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .menu-open .header__burger i:nth-child(2) { top: 19px; transform: rotate(-45deg); }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    left: 0; right: 0; top: 0;
    z-index: 49;
    padding: 72px 16px 24px;
    background: var(--bg);
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease-out);
  }
  .menu-open .mobile-menu { transform: none; }
  .mobile-menu a { font-size: 18px; line-height: 22px; padding: 14px 0; opacity: 0; transform: translateY(-10px); transition: opacity 0.4s, transform 0.4s var(--ease-out); }
  .menu-open .mobile-menu a { opacity: 1; transform: none; }
  .menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.15s; }
  .menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.2s; }
  .menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.25s; }
  .menu-open .header { mix-blend-mode: normal; }

  /* hero */
  .hero { height: 96svh; min-height: 600px; }
  .hero__img--desktop, .hero__unicorn { display: none; }
  .hero__img--mobile { display: block; }
  .hero__name .marquee__item,
  .footer__name .marquee__item { font-size: 120px; line-height: 120px; letter-spacing: -0.04em; padding: 0 12px 30px; }
  .footer__name { margin-top: 15px; }
  .hero__name { top: 44%; }
  .hero__roles { left: 16px; right: auto; bottom: 36px; text-align: left; font-size: 32px; line-height: 35px; }
  .hero__roles span:last-child { padding-left: 22px; }
  .hero__socials { left: auto; right: 16px; bottom: 36px; gap: 16px; }
  .hero__socials .social span { display: none; }

  .label__row { padding: 12px 16px; }

  .big-text { font-size: 28px; line-height: 28px; letter-spacing: -0.04em; }
  .intro { padding-bottom: 80px; }
  .intro__inner { padding: 0 16px; gap: 80px; }
  .intro__text { text-indent: 48px; }
  .intro__bottom { grid-template-columns: 1fr; }
  .intro__spacer { display: none; }
  .intro__content { gap: 48px; }
  .intro__content .body-text { font-size: 14px; }
  .btn { padding: 20px 40px; font-size: 16px; }

  .services { padding-bottom: 80px; gap: 0; }
  .split { grid-template-columns: 1fr; padding: 20px 0 80px; }
  .split__number { display: none; }
  .split__cards { gap: 120px; padding-top: 0; }
  .svc-card { gap: 40px; }
  .svc-card__head { gap: 16px; padding: 0 16px; }
  .svc-card__title { font-size: 32px; line-height: 35px; letter-spacing: -0.03em; }
  .svc-card__desc { padding: 0; font-size: 14px; }
  .svc-list li { padding: 16px; }

  .projects { gap: 0; }
  .stack { gap: 200px; }
  .stack__item { padding: 60px 4px 20px; min-height: 0; }
  .pcard { flex-direction: column; padding: 12px; }
  .pcard__img { flex: 1 1 auto; }
  .pcard__text { flex: 0 0 auto; padding: 16px; gap: 20px; }
  .pcard__head { gap: 12px; }
  .pcard__title { font-size: 24px; line-height: 24px; }
  .pcard__desc { display: none; }
  .pcard__tags li { font-size: 14px; line-height: 20px; }

  .testimonials { padding-bottom: 80px; }
  .testimonials__inner { padding: 0 16px; }
  .tst { flex-direction: column; min-height: 0; }
  .tst__body { margin: 0; gap: 32px; }
  .tst__quote-wrap { min-height: 0; }
  .tst__count { position: static; display: block; margin-bottom: 16px; }
  .tst__quote { text-indent: 0; font-size: 28px; line-height: 28px; }
  .tst__quote--mid { font-size: 24px; line-height: 27px; }
  .tst__quote--long { font-size: 20px; line-height: 25px; }
  .tst__avatars { position: static; transform: none; flex-direction: row; margin-top: 40px; }
  .tst__avatar { width: 56px; height: 56px; }
  .tst__avatar img { width: 48px; height: 48px; }

  .trust, .trust .marquee__item { height: 80px; }

  .footer__details { padding: 12px; gap: 24px; font-size: 14px; }
  .footer__name { top: 46%; }

  .page-hero { padding: 200px 16px 16px; }
  .page-title { font-size: 64px; line-height: 60px; }
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; overflow: visible; }
  .hscroll__track { flex-direction: column; transform: none !important; gap: 0; }
  .hscroll__item { flex: none; height: 100svh; min-height: 640px; padding: 40px 4px 20px; }

  .row { grid-template-columns: 1fr auto; height: auto; min-height: 66px; padding: 20px 16px; }
  .row__cat { display: none; }
  .awards .row { grid-template-columns: 1fr auto; }
  .awards .row__award { display: none; }
  .old-projects .rows, .awards .rows { padding-top: 40px; }

  .about-hero { padding: 180px 16px 80px; gap: 48px; }
  .about-hero__avatar { width: 32px; height: 42px; margin-right: 24px; }
  .about-cols { grid-template-columns: 1fr; gap: 24px; }
  .about-cols > div:last-child { align-items: flex-start; }
  .about-cols .body-text { font-size: 14px; }

  .contact { grid-template-columns: 1fr; padding: 140px 16px 120px; gap: 0; }
  .contact__title { position: static; font-size: 64px; line-height: 60px; }
  .contact__form-wrap { padding-top: 64px; }
  .contact__lead { font-size: 28px; line-height: 30px; }

  .pd-overview { padding-bottom: 48px; }
  .pd-overview__grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-overview__title { padding: 0 16px; }
  .pd-overview__info { padding: 0 16px; }
  .pd-more__grid { grid-template-columns: 1fr; }
  .scard__title { font-size: 28px; line-height: 28px; }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Case: navbar branco sobre a capa (sem inversão de cor)
   -------------------------------------------------------------------------- */
body.is-project .header,
body.is-project .header__brand { mix-blend-mode: normal; }
.pd-cover::after { content: ''; position: absolute; inset: 0 0 auto; height: 180px; background: linear-gradient(rgba(0,0,0,.45), transparent); pointer-events: none; }

/* --------------------------------------------------------------------------
   Case: storytelling (estudo de caso)
   -------------------------------------------------------------------------- */
.st-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 var(--gutter); }
.st-meta > div { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-meta .mono { color: var(--muted); font-size: 14px; line-height: 20px; }
.st-meta strong { font-size: 20px; line-height: 26px; font-weight: 600; }

/* resumo e aprendizados */
.st-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 120px var(--gutter) 40px; }
.st-summary > div { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.st-summary .mono { color: var(--accent); font-size: 14px; }
.st-summary p { font-size: 24px; line-height: 32px; letter-spacing: -0.02em; font-weight: 500; }
.st-summary--learn { padding: 0 var(--gutter); }
.st-summary--learn h4 { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; }
.st-summary--learn p { font-size: 18px; line-height: 1.4; font-weight: 400; letter-spacing: 0.01em; }

/* seções e capítulos */
.st-sec { position: relative; padding-top: 80px; }
.st-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 60px var(--gutter) 40px; }
.st-ch__num { font-family: var(--mono); font-weight: 300; font-size: 280px; line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--line); user-select: none; }
.st-ch__body { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.st-ch__kicker { color: var(--accent); font-size: 14px; }
.st-ch__title { font-size: 64px; line-height: 62px; font-weight: 600; letter-spacing: -0.045em; }
.st-ch__text { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.st-ch__text .body-text { font-size: 20px; }

.st-statement { padding: 140px var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.st-statement > .mono { color: var(--muted); font-size: 14px; width: 1200px; max-width: 100%; margin: 0 auto; }
.st-statement .big-text { width: 1200px; max-width: 100%; margin: 0 auto; text-indent: 285px; }

.st-fig { margin: 40px 0 0; }
.st-fig figcaption { padding: 14px var(--gutter) 0; color: var(--muted); font-size: 14px; line-height: 20px; }

/* bloco genérico com título */
.st-block { padding: 100px var(--gutter) 0; }
.st-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 32px; }
.st-head h3, .st-matrix__text h3, .st-checklist__text h3 { font-size: 40px; line-height: 42px; font-weight: 600; letter-spacing: -0.04em; }
.st-head p { max-width: 420px; }

/* processo (linha do tempo) */
.st-process { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; margin: 60px var(--gutter) 0; padding-top: 34px; }
.st-process::before { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--line); }
.st-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 20px; }
.st-step__dot { position: absolute; top: -34px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--accent); }
.st-step:first-child .st-step__dot, .st-step:last-child .st-step__dot { background: var(--accent); }
.st-step .mono { color: var(--muted); font-size: 13px; }
.st-step h4 { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; }
.st-step .body-text { font-size: 16px; }

/* tabela de métodos */
.st-table { border-bottom: 1px solid var(--line); }
.st-tr { display: grid; grid-template-columns: 1.1fr 2fr 1fr 1.1fr; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out); }
.st-tr:not(.st-th):hover { background: var(--dim); padding-left: 16px; padding-right: 16px; }
.st-th { padding: 12px 0; color: var(--muted); font-size: 13px; }
.st-tr__t { display: flex; align-items: baseline; gap: 14px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.st-tr__t em { font-style: normal; font-size: 13px; color: var(--accent); }
.st-tr .body-text { font-size: 16px; }
.st-tr__n { display: flex; align-items: baseline; gap: 8px; }
.st-tr__n strong { font-size: 40px; line-height: 40px; font-weight: 600; letter-spacing: -0.04em; }
.st-tr__n em { font-style: normal; font-size: 13px; color: var(--muted); }
.st-tr__out { font-size: 16px; display: inline-flex; justify-self: start; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }

/* insights */
.st-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-insight { display: flex; flex-direction: column; gap: 20px; padding: 32px 28px 36px; border-radius: 20px; background: var(--dim); min-height: 300px; justify-content: space-between; }
.st-insight strong { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; font-size: 80px; line-height: 80px; font-weight: 600; letter-spacing: -0.05em; color: var(--accent); }
.st-insight strong em { font-style: normal; font-size: 26px; line-height: 30px; letter-spacing: -0.02em; font-weight: 500; }
.st-insight p { font-size: 22px; line-height: 28px; letter-spacing: -0.01em; max-width: 340px; }
.st-findings { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 12px; margin-top: 40px; }
.st-findings li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.st-findings .mono { color: var(--accent); font-size: 13px; padding-top: 3px; }
.st-findings p { font-size: 18px; line-height: 26px; }

/* personas */
.st-personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-persona { display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, var(--dim), var(--bg) 70%); }
.st-persona header { display: flex; align-items: center; gap: 16px; }
.st-persona__av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 600; background: var(--accent); color: #061B42; flex: none; }
.st-persona h4 { font-size: 28px; line-height: 30px; font-weight: 600; letter-spacing: -0.03em; }
.st-persona header .mono { font-size: 13px; color: var(--muted); }
.st-persona > .body-text { font-size: 16px; }
.st-persona__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.st-persona__cols .mono, .st-persona__lit .mono { font-size: 12px; color: var(--muted); display: block; margin-bottom: 10px; }
.st-persona__cols li { font-size: 15px; line-height: 20px; padding: 4px 0 4px 14px; position: relative; }
.st-persona__cols li::before { content: ''; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.st-persona__lit { margin-top: auto; }
.st-persona__lit i { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.st-persona__lit b { display: block; height: 100%; border-radius: 3px; background: var(--accent); }

/* texto (benchmark) */
.st-text { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-text__k { display: block; color: var(--accent); font-size: 14px; margin-bottom: 20px; }
.st-text h3 { font-size: 40px; line-height: 42px; font-weight: 600; letter-spacing: -0.04em; max-width: 520px; }
.st-text__body { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.st-text__body .body-text { font-size: 20px; }

/* jornada */
.st-jr-wrap { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.st-jr-wrap::-webkit-scrollbar { display: none; }
.st-jr { display: grid; grid-template-columns: 120px repeat(var(--n), minmax(170px, 1fr)); min-width: 980px; border-radius: 20px; background: var(--dim); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.st-jr__k { display: flex; align-items: flex-start; padding: 22px 0 22px 24px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.st-jr__cell { padding: 22px 20px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.st-jr__k:first-child, .st-jr__cell--t { border-top: 0; }
.st-jr__cell--t h4 { font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: -0.02em; }
.st-jr__cell p { font-size: 15px; line-height: 21px; color: var(--muted); }
.st-jr__cell--o p { color: var(--white); }
.st-jr__cell--o { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.st-jr__chart { grid-column: 2 / -1; position: relative; height: 220px; border-top: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--n) - 1px), var(--line) calc(100% / var(--n) - 1px) calc(100% / var(--n))); }
.st-jr__chart svg { position: absolute; inset: 10px 0; width: 100%; height: calc(100% - 20px); overflow: visible; }
.st-jr__chart .mid { stroke: var(--line); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.st-jr__chart .curve { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.st-jr__dot { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.st-jr__dot i { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.st-jr__dot.is-low i { background: var(--dim); box-shadow: inset 0 0 0 2.5px var(--accent), 0 0 0 6px var(--dim); }
.st-jr__dot em { position: absolute; top: -30px; font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.st-jr__dot.is-low em { top: auto; bottom: -30px; color: var(--muted); }

/* documentos (dark) */
.st-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 40px var(--gutter) 0; }
.st-doc { display: flex; flex-direction: column; }
.st-doc__win { border-radius: 16px; background: #181717; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden; margin-bottom: 20px; transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out); }
.st-doc:hover .st-doc__win { transform: translateY(-6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, var(--line)), 0 40px 70px -30px rgba(0,0,0,.7); }
.st-doc__bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #1d1c1c; }
.st-doc__bar span { display: flex; gap: 6px; }
.st-doc__bar span i { width: 9px; height: 9px; border-radius: 50%; background: #3a3636; }
.st-doc__bar em { font-style: normal; font-size: 11px; color: var(--muted); }
.st-doc__body { position: relative; display: flex; flex-direction: column; gap: 14px; aspect-ratio: 16 / 10; padding: 22px; }
.st-doc__n { font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.st-doc h4 { font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.st-doc .body-text { font-size: 16px; }
.st-doc__body .l { display: block; height: 7px; border-radius: 4px; background: #343030; width: 100%; }
.st-doc__body .l.dim { background: #262323; }
.st-doc__body .l.big { height: 14px; background: #4a4545; }
.st-doc__body .w40 { width: 40%; } .st-doc__body .w60 { width: 60%; } .st-doc__body .w70 { width: 70%; } .st-doc__body .w80 { width: 80%; }
.st-doc__body .mono { font-size: 10px; color: var(--muted); letter-spacing: 0.02em; }
.dk-aff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 100%; }
.dk-aff > div { display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 10px; background: #1f1d1d; box-shadow: inset 0 0 0 1px #2c2929; }
.dk-aff i { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 6px; background: #2b2828; }
.dk-aff i b { display: block; height: 5px; border-radius: 3px; background: #4a4545; }
.dk-aff i b.s { width: 60%; }
.dk-aff i.hi { background: color-mix(in srgb, var(--accent) 22%, #1f1d1d); }
.dk-aff i.hi b { background: color-mix(in srgb, var(--accent) 70%, #fff 0%); }
.dk-per { display: flex; align-items: center; gap: 12px; }
.dk-per .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #061B42; font-weight: 700; flex: none; }
.dk-per > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.dk-per .chip, .dk-chk span, .dk-flow .n { font-size: 10px; }
.dk-per .chip { padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.dk-2c { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 12px; border-top: 1px solid #2c2929; }
.dk-2c > div { display: flex; flex-direction: column; gap: 7px; }
.dk-meter { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.dk-meter i { display: block; height: 6px; border-radius: 3px; background: #2c2929; }
.dk-meter b { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.dk-flow { display: flex; align-items: center; }
.dk-flow--2 { padding-left: 14%; margin-top: 18px; }
.dk-flow .n { padding: 9px 10px; border-radius: 8px; background: #232121; box-shadow: inset 0 0 0 1px #363232; color: #cfcaca; white-space: nowrap; }
.dk-flow .n.hi { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.dk-flow s { flex: 1; min-width: 8px; height: 1px; background: #4a4545; }
.dk-flow .d { width: 22px; height: 22px; flex: none; transform: rotate(45deg); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--accent); }
.dk-chk { display: flex; flex-direction: column; gap: 10px; }
.dk-chk span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: #1f1d1d; color: var(--muted); }
.dk-chk span i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #4a4545; flex: none; }
.dk-chk span.ok { color: #e6e2e2; }
.dk-chk span.ok i { background: var(--accent); box-shadow: none; }
.dk-a11y { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; flex: 1; }
.dk-a11y .ct { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dk-a11y .ct span { display: grid; place-items: center; border-radius: 10px; font-weight: 700; font-size: 22px; }
.dk-a11y .tg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; background: #1f1d1d; }
.dk-a11y .tg i { width: 48px; height: 48px; border-radius: 12px; border: 1.5px dashed var(--accent); display: grid; place-items: center; }
.dk-a11y .tg i::after { content: ''; width: 22px; height: 22px; border-radius: 6px; background: #4a4545; }
.dk-rule { display: flex; flex-direction: column; gap: 7px; }
.dk-spec { position: relative; flex: 1; display: grid; place-items: center; }
.dk-spec .box { width: 62%; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: #232121; box-shadow: inset 0 0 0 1px #363232; }
.dk-spec .btn { display: block; height: 18px; border-radius: 999px; background: #4a4545; margin-top: 4px; }
.dk-spec .rh, .dk-spec .rv, .dk-spec .rp { position: absolute; display: grid; place-items: center; }
.dk-spec .rh { left: 19%; width: 16px; top: 18%; height: 1px; border-top: 1px solid var(--accent); }
.dk-spec .rv { right: 12%; top: 22%; bottom: 22%; width: 1px; border-left: 1px solid var(--accent); }
.dk-spec .rp { left: 19%; right: 19%; bottom: 10%; height: 1px; border-top: 1px dashed var(--accent); }
.dk-spec em { font-style: normal; font-size: 10px !important; color: #061B42 !important; background: var(--accent); padding: 1px 5px; border-radius: 4px; position: absolute; }
.dk-spec .rh em { top: -18px; } .dk-spec .rv em { left: 6px; } .dk-spec .rp em { top: -9px; }

/* checklist BACEN */
.st-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.st-checklist__text { display: flex; flex-direction: column; gap: 24px; max-width: 520px; position: sticky; top: 80px; }
.st-checklist ul { border-bottom: 1px solid var(--line); }
.st-checklist li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 24px; }
.st-checklist li b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); flex: none; }
.st-checklist li svg { width: 16px; height: 16px; }

/* identidade */
.st-concept { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 40px var(--gutter) 0; }
.st-concept__tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 520px; padding: 32px; border-radius: 20px; overflow: hidden; color: #fff; }
.st-concept__tile.is-blue { background: radial-gradient(120% 90% at 20% 110%, #2F5FB3 0%, #0B2E66 45%, #061B42 100%); }
.st-concept__tile.is-green { background: radial-gradient(120% 90% at 80% 110%, #6FD48D 0%, #1FA846 35%, #0B4A1E 100%); }
.st-concept__tile::after { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 120%, rgba(255,255,255,.07) 0 1px, transparent 1px 22px); pointer-events: none; }
.st-concept__tile .mono { font-size: 13px; opacity: 0.75; }
.st-concept__tile h4 { font-size: 120px; line-height: 100px; font-weight: 600; letter-spacing: -0.06em; margin-bottom: 20px; }
.st-concept__tile p { font-size: 20px; line-height: 28px; max-width: 420px; opacity: 0.9; }

.st-ramps { display: flex; flex-direction: column; gap: 12px; }
.st-ramp { display: grid; grid-template-columns: 200px 1fr; gap: 12px; align-items: center; }
.st-ramp > .mono { font-size: 14px; color: var(--muted); }
.st-ramp > div { display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 16px; overflow: hidden; }
.st-ramp i { display: flex; flex-direction: column; justify-content: space-between; height: 120px; padding: 14px; font-style: normal; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.st-ramp i b { font-weight: 400; opacity: 0.7; }

.st-type { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.st-type__aa { display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; padding: 32px; border-radius: 20px; background: #0B2E66; color: #fff; }
.st-type__aa span { font-size: 240px; line-height: 0.9; font-weight: 600; letter-spacing: -0.06em; }
.st-type__aa .mono { font-size: 13px; line-height: 20px; color: #B9CBEA; }
.st-type__scale { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.st-type__row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; flex: 1; padding: 18px 0; border-top: 1px solid var(--line); }
.st-type__row .mono { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; }
.st-type__row .mono em { font-style: normal; color: var(--accent); }
.st-type__row p { font-weight: 600; letter-spacing: -0.02em; }

/* princípios */
.st-principles { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 12px; }
.st-principle { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; row-gap: 10px; padding: 28px 0 36px; border-top: 1px solid var(--line); }
.st-principle .mono { grid-row: span 2; color: var(--accent); font-size: 14px; padding-top: 4px; }
.st-principle h4 { font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.st-principle .body-text { font-size: 16px; padding-right: 20px; }

/* tokens */
.tk { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.tk__panel { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 20px; background: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }
.tk__colors { grid-column: span 12; }
.tk__space { grid-column: span 7; }
.tk__radius { grid-column: span 5; }
.tk__contrast { grid-column: span 12; }
.tk__h { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tk__h .mono { font-size: 12px; color: var(--muted); }
.tk__h .mono:first-child { color: var(--accent); }
.tk code { font-family: var(--mono); font-size: 14px; color: var(--white); }
.tk__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.tk__row { display: grid; grid-template-columns: 40px 1.3fr 0.8fr 1.2fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #2a2727; }
.tk__row i { width: 40px; height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.tk__row .mono { font-size: 13px; color: var(--muted); }
.tk__row small { font-size: 14px; color: var(--muted); }
.tk__sp { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex: 1; padding-top: 10px; }
.tk__sp > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tk__sp i { display: block; border-radius: 4px; background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: inset 0 0 0 1px var(--accent); }
.tk__sp code { font-size: 11px; }
.tk__sp .mono { font-size: 12px; color: var(--muted); margin-top: -6px; }
.tk__rad { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.tk__rad > div { display: flex; flex-direction: column; gap: 8px; }
.tk__rad code { font-size: 12px; }
.tk__rad .mono { font-size: 12px; color: var(--muted); }
.tk__shape { display: block; height: 56px; background: #0B2E66; box-shadow: inset 0 0 0 1.5px var(--accent); }
.tk__shape--a { width: 56px; } .tk__shape--b { background: #1FA846; box-shadow: none; }
.tk__ct { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tk__ct > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 20px 22px; border-radius: 14px; }
.tk__ct strong { grid-row: span 2; font-size: 44px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; }
.tk__ct b { font-size: 22px; font-weight: 600; }
.tk__ct small { font-size: 13px; opacity: 0.85; }

/* componentes */
.cmp { display: grid; grid-template-columns: 5fr 7fr; gap: 12px; align-items: start; }
.cmp__phone { position: sticky; top: 80px; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px 20px 24px; border-radius: 20px; background: var(--dim); box-shadow: inset 0 0 0 1px var(--line);
  background-image: radial-gradient(#2a2727 1px, transparent 1px); background-size: 18px 18px; }
.cmp__phone > .mono { font-size: 12px; color: var(--muted); }
.cmp__specs { display: flex; flex-direction: column; gap: 12px; }
.cs { border-radius: 20px; background: var(--dim); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cs__h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.cs__h h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.cs__h .mono { font-size: 12px; color: var(--muted); }
.cs__canvas { padding: 28px 24px; background-image: radial-gradient(#2a2727 1px, transparent 1px); background-size: 18px 18px; }
.cs__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cs__row--mix { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 24px; }
.cs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.cs__st { display: flex; flex-direction: column; gap: 10px; }
.cs__st > .mono { font-size: 11px; color: var(--muted); }
.cs__anat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.cs__legend { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cs__legend li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; color: #d6d1d1; }
.cs__legend b, .ib-balance em { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #061B42; font: 700 11px/1 var(--font); font-style: normal; flex: none; }
.cs__fb { display: flex; flex-direction: column; gap: 10px; }
.cs__fb .mono { font-size: 11px; color: var(--muted); }

/* peças do app (cores do Impact) */
.ib-phone, .cs { --nv: #061B42; --bl: #0B2E66; --gr: #1FA846; --lm: #4FE07A; --tx2: #B9CBEA; }
.ib-phone { width: 100%; max-width: 330px; padding: 10px; border-radius: 48px; background: #050505; box-shadow: 0 0 0 1.5px #2e2b2b, 0 40px 80px -30px rgba(0,0,0,.8); }
.ib-screen { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 10px; border-radius: 39px; background: var(--nv); color: #fff; overflow: hidden; }
.ib-status { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; font-size: 12px; font-weight: 600; }
.ib-status i { width: 70px; height: 20px; border-radius: 999px; background: #000; margin-right: 34%; }
.ib-top { display: flex; align-items: center; gap: 10px; }
.ib-top > div { flex: 1; line-height: 1.15; }
.ib-top small { display: block; font-size: 11px; color: var(--tx2); }
.ib-top strong { font-size: 15px; }
.ib-logo { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gr); color: #fff; }
.ib-logo svg { width: 18px; height: 18px; }
.ib-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bl); box-shadow: inset 0 0 0 1.5px var(--lm); font-size: 13px; font-weight: 700; }
.ib-balance { position: relative; padding: 14px 16px; border-radius: 16px; background: var(--gr); color: #fff; }
.ib-balance small { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.ib-balance > div { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 6px; }
.ib-balance strong { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ib-balance svg { width: 20px; height: 20px; }
.ib-balance--lg { padding: 20px 22px; }
.ib-balance--lg strong { font-size: 26px; }
.ib-eye { display: flex; align-items: center; gap: 8px; }
.ib-impact { display: flex; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bl); }
.ib-impact > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(79,224,122,.15); color: var(--lm); flex: none; }
.ib-impact svg { width: 18px; height: 18px; }
.ib-impact > div { flex: 1; }
.ib-impact small { font-size: 11px; color: var(--tx2); }
.ib-impact strong { display: block; font-size: 16px; font-weight: 700; margin: 1px 0 6px; }
.ib-impact i { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); }
.ib-impact b { display: block; width: 62%; height: 100%; border-radius: 3px; background: var(--lm); }
.ib-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ib-actions--solo { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ib-actions div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ib-actions span { width: 100%; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: var(--gr); color: #fff; }
.ib-actions svg { width: 20px; height: 20px; }
.ib-actions small { font-size: 11px; font-weight: 500; color: #fff; }
.ib-sec { font-size: 13px; font-weight: 600; margin-top: 2px; }
.ib-list { display: flex; flex-direction: column; }
.ib-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); }
.ib-item:first-child { border-top: 0; padding-top: 0; }
.ib-item > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--lm); flex: none; }
.ib-item > span svg { width: 15px; height: 15px; }
.ib-item > div { flex: 1; min-width: 0; }
.ib-item strong { display: block; font-size: 12.5px; font-weight: 600; }
.ib-item small { font-size: 10.5px; color: var(--tx2); }
.ib-item > b { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.75); white-space: nowrap; }
.ib-item > b.pos { color: var(--lm); }
.ib-nav { display: grid; grid-template-columns: repeat(4, 1fr); margin: 4px -16px -10px; padding: 10px 8px 14px; background: #04142f; border-top: 1px solid rgba(255,255,255,.06); }
.ib-nav div { display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255,255,255,.5); }
.ib-nav div.on { color: var(--lm); }
.ib-nav svg { width: 18px; height: 18px; }
.ib-nav small { font-size: 10px; font-weight: 500; }
.ib-btn { display: flex; align-items: center; justify-content: center; gap: 5px; height: 48px; border-radius: 999px; background: var(--gr); color: var(--nv); font-weight: 600; font-size: 15px; }
.ib-btn.is-press { background: #157A33; color: #fff; transform: scale(0.97); }
.ib-btn.is-load i { width: 7px; height: 7px; border-radius: 50%; background: var(--nv); animation: ibdot 1s infinite ease-in-out; }
.ib-btn.is-load i:nth-child(2) { animation-delay: .15s; } .ib-btn.is-load i:nth-child(3) { animation-delay: .3s; }
@keyframes ibdot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ib-btn.is-off { background: #2a2828; color: #6b6464; }
.ib-field { display: flex; flex-direction: column; gap: 8px; }
.ib-field > span { font-size: 13px; font-weight: 600; color: #fff; }
.ib-field > div { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 14px; border-radius: 8px; background: var(--nv); box-shadow: inset 0 0 0 1.5px #24406f; color: rgba(255,255,255,.5); font-size: 15px; }
.ib-field.is-focus > div { box-shadow: inset 0 0 0 2px var(--lm), 0 0 0 4px rgba(79,224,122,.18); color: #fff; justify-content: flex-start; }
.ib-field .caret { display: inline-block; width: 1.5px; height: 18px; background: var(--lm); margin-left: 2px; animation: ibcaret 1s steps(1) infinite; }
@keyframes ibcaret { 50% { opacity: 0; } }
.ib-field.is-ok > div { color: #fff; box-shadow: inset 0 0 0 1.5px var(--gr); }
.ib-field.is-ok svg { width: 18px; height: 18px; color: var(--lm); }
.ib-field.is-off > span { color: #6b6464; }
.ib-field.is-off > div { background: #1f1d1d; box-shadow: inset 0 0 0 1.5px #2c2929; color: #5c5656; }
.ib-toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--nv); font-weight: 600; font-size: 14px; }
.ib-toast span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gr); color: #fff; flex: none; }
.ib-toast svg { width: 15px; height: 15px; }
.ib-steps { display: flex; gap: 6px; margin-top: 6px; }
.ib-steps i { flex: 1; height: 6px; border-radius: 3px; background: #2c2929; }
.ib-steps i.on { background: var(--gr); }

/* wireframes */
.st-wf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 40px var(--gutter) 0; }
.st-wf__item { display: flex; flex-direction: column; gap: 20px; padding: 40px 24px 24px; border-radius: 20px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line);
  background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; }
.st-wf__cap .mono { color: var(--white); font-size: 13px; }
.st-wf__cap p { font-size: 16px; line-height: 22px; color: var(--muted); margin-top: 6px; }
.wf { width: 100%; max-width: 230px; margin: 0 auto; aspect-ratio: 9 / 18.5; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; border: 1.5px dashed #6b6464; border-radius: 30px; background: var(--bg); }
.wf i { display: block; flex: none; background: #2c2828; border-radius: 6px; }
.wf .wf-top { height: 10px; width: 30%; background: #3a3535; }
.wf .wf-line { height: 12px; }
.wf .wf-line.thin { height: 7px; background: #242121; }
.wf .wf-line.c { margin: 0 auto; }
.wf .w40 { width: 40%; } .wf .w50 { width: 50%; } .wf .w60 { width: 60%; } .wf .w70 { width: 70%; } .wf .w80 { width: 80%; }
.wf .wf-card { height: 44px; border-radius: 10px; }
.wf .wf-card.tall { height: 76px; background: #3a3535; }
.wf .wf-icons { display: flex; justify-content: space-between; }
.wf .wf-icons i { width: 22%; aspect-ratio: 1; border-radius: 10px; }
.wf .wf-row { height: 30px; border-radius: 8px; background: #221f1f; box-shadow: inset 0 0 0 1px #343030; }
.wf .wf-amount { height: 34px; width: 75%; background: #3a3535; }
.wf .wf-grow { flex: 1; background: none; }
.wf .wf-btn { height: 34px; border-radius: 999px; background: #4a4545; }
.wf .wf-steps { display: flex; gap: 6px; }
.wf .wf-steps i { flex: 1; height: 4px; border-radius: 2px; }
.wf .wf-steps i.on { background: #6b6464; }
.wf .wf-circle { width: 62%; aspect-ratio: 1; margin: 10px auto; border-radius: 50%; background: none; border: 1.5px dashed #6b6464; }
.wf .wf-ring { width: 58%; aspect-ratio: 1; margin: 6px auto; border-radius: 50%; background: conic-gradient(#6b6464 0 68%, #2c2828 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }

/* iterações */
.st-iter { border-bottom: 1px solid var(--line); }
.st-iter__row { display: grid; grid-template-columns: 0.8fr 1.6fr 1.6fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.st-iter__th { padding: 12px 0; color: var(--muted); font-size: 13px; }
.st-iter__a { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.st-iter__b { font-size: 17px; line-height: 24px; color: var(--muted); text-decoration: line-through; text-decoration-color: #5c5656; }
.st-iter__c { display: flex; gap: 14px; font-size: 17px; line-height: 24px; }
.st-iter__c b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #061B42; flex: none; }
.st-iter__c svg { width: 13px; height: 13px; }

/* resultados */
.st-results { padding: 120px var(--gutter) 100px; }
.st-results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.st-result { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.st-result strong { font-size: 128px; line-height: 108px; font-weight: 600; letter-spacing: -0.05em; }
.st-result em { font-style: normal; font-size: 32px; letter-spacing: -0.02em; color: var(--accent); margin-left: 6px; }

@media (max-width: 1199px) {
  .st-ch__num { font-size: 180px; }
  .st-ch__title { font-size: 48px; line-height: 48px; }
  .st-summary p { font-size: 20px; line-height: 28px; }
  .st-process { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .st-process::before { display: none; }
  .st-step__dot { top: -24px; }
  .st-tr { grid-template-columns: 1fr 1.6fr 1fr; }
  .st-tr > :nth-child(4) { display: none; }
  .st-insight strong { font-size: 72px; line-height: 68px; }
  .st-personas, .st-docs { grid-template-columns: 1fr 1fr; }
  .st-text, .st-checklist, .st-type { grid-template-columns: 1fr; gap: 40px; }
  .cmp { grid-template-columns: 1fr; }
  .cmp__phone { position: static; }
  .tk__space, .tk__radius { grid-column: span 12; }
  .st-checklist__text { position: static; }
  .tk__list { grid-template-columns: 1fr; }
  .st-principles { grid-template-columns: 1fr 1fr; }
  .st-wf, .st-results__grid { grid-template-columns: repeat(2, 1fr); }
  .st-result strong { font-size: 96px; line-height: 88px; }
  .st-statement .big-text { text-indent: 120px; }
}
@media (max-width: 809px) {
  .st-meta { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .st-summary { grid-template-columns: 1fr; padding-top: 80px; row-gap: 32px; }
  .st-sec { padding-top: 40px; }
  .st-ch { grid-template-columns: 1fr; padding-top: 40px; gap: 0; }
  .st-ch__num { font-size: 120px; margin-bottom: -10px; }
  .st-ch__title { font-size: 38px; line-height: 40px; }
  .st-ch__text .body-text { font-size: 18px; }
  .st-statement { padding: 90px var(--gutter); }
  .st-statement .big-text { text-indent: 0; }
  .st-block { padding-top: 72px; }
  .st-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .st-head h3, .st-matrix__text h3, .st-checklist__text h3 { font-size: 30px; line-height: 32px; }
  .st-process { grid-template-columns: 1fr; padding: 0 0 0 28px; row-gap: 32px; margin-top: 40px; }
  .st-process::before { display: block; top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .st-step__dot { top: 4px; left: -28px; }
  .st-tr { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .st-th { display: none; }
  .st-tr > .body-text { grid-column: 1 / -1; grid-row: 2; }
  .st-tr__n { grid-row: 1; grid-column: 2; }
  .st-tr__n strong { font-size: 28px; line-height: 28px; }
  .st-tr__t { font-size: 20px; }
  .st-insights { grid-template-columns: 1fr; }
  .st-insight { min-height: 0; gap: 32px; }
  .st-findings { grid-template-columns: 1fr; }
  .st-findings li { grid-template-columns: 1fr; gap: 6px; }
  .st-personas, .st-docs { grid-template-columns: 1fr; }
  .st-text h3 { font-size: 30px; line-height: 32px; }
  .st-text__body .body-text { font-size: 18px; }
  .st-docs { padding-top: 24px; }
  .st-concept { grid-template-columns: 1fr; }
  .st-concept__tile { min-height: 380px; padding: 24px; }
  .st-concept__tile h4 { font-size: 80px; line-height: 72px; }
  .st-ramp { grid-template-columns: 1fr; gap: 8px; }
  .st-ramp i { height: 92px; padding: 8px; font-size: 9px; }
  .st-type__aa { min-height: 300px; }
  .st-type__aa span { font-size: 160px; }
  .st-type__row { grid-template-columns: 1fr; gap: 8px; }
  .st-principles { grid-template-columns: 1fr; }
  .tk__panel { padding: 18px; }
  .tk__row { grid-template-columns: 36px 1fr auto; }
  .tk__row i { width: 36px; height: 36px; }
  .tk__row small { grid-column: 2 / -1; margin-top: -10px; }
  .tk__sp { flex-wrap: wrap; justify-content: flex-start; gap: 14px 18px; }
  .tk__ct { grid-template-columns: 1fr; }
  .cs__canvas { padding: 20px 16px; }
  .cs__h { flex-direction: column; gap: 4px; padding: 16px; }
  .cs__row { grid-template-columns: 1fr 1fr; }
  .cs__grid, .cs__anat, .cs__row--mix { grid-template-columns: 1fr; }
  .cmp__phone { padding: 28px 12px 20px; }
  .st-wf { grid-template-columns: 1fr 1fr; }
  .st-wf__item { padding: 24px 12px 16px; }
  .st-iter__row { grid-template-columns: 1fr; gap: 10px; }
  .st-iter__th { display: none; }
  .st-results { padding: 80px var(--gutter) 60px; }
  .st-result strong { font-size: 72px; line-height: 68px; }
  .st-result em { font-size: 22px; }
}

.ib-balance em { background: #fff; color: #061B42; }

/* lista textual (documentação) */
.st-list { border-bottom: 1px solid var(--line); }
.st-list__row { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.st-list__row .mono { color: var(--accent); font-size: 14px; }
.st-list__row h4 { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; }
.st-list__row .body-text { font-size: 18px; max-width: 620px; }
.st-checklist li b { width: 40px; height: 40px; }
.st-checklist li svg { width: 20px; height: 20px; }
@media (max-width: 809px) {
  .st-list__row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .st-list__row h4 { font-size: 22px; line-height: 26px; }
  .st-list__row .body-text { font-size: 16px; }
}

/* ==========================================================================
   Case: narrativa com coluna fixa, entradas e indicador de capítulo
   ========================================================================== */
.st-sec { padding-top: 40px; }
.st-run { display: grid; grid-template-columns: 5fr 7fr; gap: 12px; padding: 80px var(--gutter) 40px; }
.st-run__sticky { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; padding-right: 48px; }
.st-run__num { font-family: var(--mono); font-weight: 300; font-size: 168px; line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--line); margin-bottom: 20px; user-select: none; }
.st-run .st-ch__kicker { color: var(--accent); font-size: 13px; }
.st-run .st-ch__title { font-size: 56px; line-height: 58px; letter-spacing: -0.045em; }
.st-run__main { display: flex; flex-direction: column; max-width: 720px; padding-top: 4px; }
.st-run .st-ch__text { gap: 24px; padding-top: 0; }
.st-lead { font-size: 28px; line-height: 38px; letter-spacing: -0.02em; font-weight: 500; color: var(--white); }
.st-run .st-ch__text .body-text { font-size: 20px; line-height: 1.5; }
.st-run .st-block { padding: 96px 0 0; }
.st-run .st-head { flex-direction: column; align-items: flex-start; gap: 12px; }
.st-run .st-head h3, .st-run .st-checklist__text h3, .st-run .st-text h3 { font-size: 32px; line-height: 36px; }
.st-run .st-checklist, .st-run .st-text { grid-template-columns: 1fr; gap: 28px; }
.st-run .st-checklist__text { position: static; }
.st-run .st-list__row { grid-template-columns: 56px 1fr; row-gap: 10px; }
.st-run .st-list__row .body-text { grid-column: 2; }
.st-run .st-principles { grid-template-columns: 1fr 1fr; }

/* títulos entrando por máscara, palavra por palavra */
.st-split[data-appear] { opacity: 1; transform: none; filter: none; }
.st-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.st-split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--ad, 0s) + var(--i) * 0.045s); }
.st-split.in .w > span { transform: none; }

/* frases grandes fixas enquanto as letras acendem */
.st-pin { position: relative; height: 220vh; }
.st-pin__in { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.st-pin .st-statement { width: 100%; padding: 0 var(--gutter); }

/* imagens que crescem até a largura total */
.pd-body { counter-reset: fig; }
.st-fig { margin: 80px 0 0; }
.st-fig .pd-image { transform-origin: 50% 0; will-change: transform; }
.st-fig figcaption { display: flex; gap: 16px; }
.st-fig figcaption::before { counter-increment: fig; content: 'Fig. ' counter(fig, decimal-leading-zero); color: var(--accent); flex: none; }

/* linha do tempo desenhando */
.st-process[data-appear] { opacity: 1; transform: none; filter: none; }
.st-process::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out) 0.2s; }
.st-process.in::before { transform: scaleX(1); }
.st-step__dot { transform: scale(0); transition: transform 0.6s var(--ease-out); transition-delay: calc(0.3s + var(--ad, 0s) * 3); }
.st-process.in .st-step__dot { transform: scale(1); }

/* curva da jornada desenhando */
.st-jr .curve { vector-effect: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out) 0.4s; }
.st-jr.in .curve { stroke-dashoffset: 0; }
.st-jr .area { opacity: 0; transition: opacity 1.4s var(--ease-out) 1.2s; }
.st-jr.in .area { opacity: 1; }
.st-jr__dot i, .st-jr__dot em { opacity: 0; transform: scale(0.4); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(0.7s + var(--i) * 0.28s); }
.st-jr.in .st-jr__dot i, .st-jr.in .st-jr__dot em { opacity: 1; transform: none; }

/* indicador de capítulo */
.st-prog { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(18, 17, 17, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); transform: translate(-50%, 160%); opacity: 0; transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out); pointer-events: none; }
.st-prog.is-on { transform: translate(-50%, 0); opacity: 1; }
.st-prog__n { color: var(--accent); font-size: 13px; line-height: 1; }
.st-prog__t { font-size: 14px; font-weight: 600; min-width: 132px; }
.st-prog i { display: block; width: 120px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.st-prog b { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

@media (max-width: 1199px) {
  .st-run { grid-template-columns: 1fr; gap: 40px; }
  .st-run__sticky { position: static; padding-right: 0; }
  .st-run__main { max-width: none; }
}
@media (max-width: 809px) {
  .st-run { padding: 56px var(--gutter) 24px; gap: 28px; }
  .st-run__num { font-size: 104px; margin-bottom: 4px; }
  .st-run .st-ch__title { font-size: 38px; line-height: 40px; }
  .st-lead { font-size: 22px; line-height: 30px; }
  .st-run .st-ch__text .body-text { font-size: 17px; }
  .st-run .st-block { padding-top: 64px; }
  .st-run .st-head h3, .st-run .st-checklist__text h3, .st-run .st-text h3 { font-size: 26px; line-height: 30px; }
  .st-run .st-principles { grid-template-columns: 1fr; }
  .st-run .st-list__row { grid-template-columns: 1fr; }
  .st-run .st-list__row .body-text { grid-column: auto; }
  .st-pin { height: 180vh; }
  .st-fig { margin-top: 56px; }
  .st-process::before { transform: scaleY(0); transform-origin: top; }
  .st-process.in::before { transform: scaleY(1); }
  .st-prog { bottom: 16px; padding: 9px 14px 9px 12px; }
  .st-prog__t { min-width: 0; font-size: 13px; }
  .st-prog i { width: 64px; }
}

/* imagens de artefatos (inteiras, sem corte) */
.st-fig--doc .pd-doc { margin: 0 var(--gutter); border-radius: 20px; overflow: hidden; background: #1e1e1e; box-shadow: inset 0 0 0 1px var(--line); transform-origin: 50% 0; will-change: transform; }
.st-fig--doc .pd-doc img { width: 100%; height: auto; }
.st-run .st-fig--doc { margin-top: 64px; }
.st-run .st-fig--doc .pd-doc { margin: 0; }
.st-run .st-fig--doc figcaption { padding-left: 0; padding-right: 0; }
@media (max-width: 809px) { .st-fig--doc .pd-doc { border-radius: 12px; } }

/* frases de destaque grandes */
.st-pin .st-statement { gap: 40px; }
.st-pin .st-statement > .mono { width: auto; max-width: none; margin: 0; color: var(--accent); font-size: 14px; }
.st-pin .big-text { width: auto; max-width: 1360px; margin: 0; text-indent: 0; font-size: clamp(52px, 7.4vw, 128px); line-height: 0.98; letter-spacing: -0.055em; }

/* documentação: blocos de texto em grade, sem linhas */
.st-run .st-list { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 36px; border: 0; }
.st-run .st-list__row { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; }
.st-run .st-list__row .mono { font-size: 13px; }
.st-run .st-list__row h4 { font-size: 24px; line-height: 28px; }
.st-run .st-list__row .body-text { font-size: 16px; line-height: 1.5; }

/* regras do Banco Central: ícone e texto, sem linhas */
.st-run .st-checklist ul { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 36px; border: 0; }
.st-run .st-checklist li { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; border: 0; font-size: 17px; line-height: 1.45; color: var(--white); }
.st-run .st-checklist li b { width: 48px; height: 48px; border-radius: 14px; }
.st-run .st-checklist li svg { width: 22px; height: 22px; }

/* ferramentas */
.st-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 36px; }
.st-tool { display: flex; gap: 18px; align-items: flex-start; }
.st-tool h4 { font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.st-tool .body-text { font-size: 16px; line-height: 1.5; }
.tl-logo { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: #1b1a1a; box-shadow: inset 0 0 0 1px var(--line); }
.tl-logo img { width: 26px; height: 26px; }
.tl-logo img.inv { filter: invert(1); }
.tl-logo .tl-fig { width: 18px; height: 27px; }
.tl-logo--make { background: linear-gradient(135deg, #a259ff, #5b2be0); box-shadow: none; }

@media (max-width: 809px) {
  .st-pin .big-text { font-size: 46px; line-height: 1; }
  .st-run .st-list, .st-run .st-checklist ul, .st-tools { grid-template-columns: 1fr; gap: 28px; }
  .st-run .st-checklist li { flex-direction: row; align-items: center; }
  .st-run .st-checklist li b { width: 42px; height: 42px; }
}

/* vídeos no case */
.st-fig--video .pd-doc { margin: 0 var(--gutter); border-radius: 20px; overflow: hidden; background: #000; transform-origin: 50% 0; will-change: transform; }
.st-fig--video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tl-logo img.sb { filter: invert(62%) sepia(52%) saturate(520%) hue-rotate(95deg) brightness(95%); }
@media (max-width: 809px) { .st-fig--video .pd-doc { border-radius: 12px; } }

/* evita rolagem lateral causada pelo footer (zoom da imagem e letreiro) */
html, body { overflow-x: clip; }

.tl-logo img.el { filter: invert(78%) sepia(30%) saturate(900%) hue-rotate(160deg) brightness(100%); }

@media (max-width: 1199px) { .st-insight strong { font-size: 64px; line-height: 64px; } }
@media (max-width: 809px) { .st-insight strong { font-size: 56px; line-height: 56px; } .st-insight strong em { font-size: 22px; } }

/* artefatos e vídeos dentro do capítulo: número fixo à esquerda, conteúdo rola à direita */
.st-run__main { max-width: none; }
.st-run__main > :not(.st-fig) { max-width: 720px; }
.st-run .st-fig--video { margin-top: 64px; }
.st-run .st-fig--video .pd-doc { margin: 0; }
.st-run .st-fig--video figcaption { padding-left: 0; padding-right: 0; }
.st-run .st-fig figcaption { padding-left: 0; padding-right: 0; }
.st-run__main > .st-ch__text + .st-fig { margin-top: 56px; }

/* cases: textos só em branco e cinza; o vermelho do site fica nas labels pequenas */
.is-case .reveal .ch.on { color: var(--muted); }
.is-case .reveal .ch.on[style*="--c"] { color: var(--white); }
.is-case .st-insight strong { color: var(--white); }
.is-case .st-insight strong em, .is-case .st-result em, .is-case .st-tr__t em, .is-case .st-type__row .mono em, .is-case .pd-overview__info h2 span { color: var(--muted); }
