/* ==========================================================
   Wesley Bayma · Estratégia e criatividade para negócios
   4 páginas: Início · O trabalho · Processo · Conversar (+ Obrigado)
   Inter 300/700 + IBM Plex Mono · #091322 · #101F35 · #164B60 · #567580 · #B7C7CE · #F3F0E8
   ========================================================== */

:root {
  --black: #000000;
  --navy-deep: #091322;
  --navy: #101F35;
  --teal: #164B60;
  --slate: #567580;
  --mist: #B7C7CE;
  --paper: #F3F0E8;

  --bg: var(--paper);
  --fg: var(--navy);
  --f: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --m: 24px;
  --navh: 72px;
  --nav: clamp(22px, 2.36vw, 34px);
  --home: min(10.6vw, calc((100svh - var(--navh) - 110px) / 3.2));
  --lead: clamp(30px, 4.58vw, 66px);
  --row: clamp(28px, 3.9vw, 56px);
  --list: min(11.5vw, calc((100vw - 2 * var(--m)) / 8.6));
  --block: clamp(56px, 8.13vw, 117px);
  --field: clamp(26px, 3.75vw, 54px);
  --label: clamp(16px, 1.67vw, 24px);
  --body: clamp(18px, 1.67vw, 24px);
  --year: 14.6vw;
  --small: 13px;
  --rule: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home { --bg: var(--paper); --fg: var(--navy); }
.page-conversar,
.page-obrigado { --bg: var(--navy); --fg: var(--paper); }

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .42s;
  animation-timing-function: var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f);
  font-weight: 700;
  font-size: var(--body);
  line-height: 1.1;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
main { flex: 1; }
h1, h2, h3, p, ol, ul, blockquote, figure, fieldset, legend { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--fg); color: var(--bg); }
[hidden] { display: none !important; }
[data-pending] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.lab { font-family: var(--mono); font-weight: 500; font-size: var(--small); letter-spacing: 0.04em; text-transform: uppercase; font-feature-settings: "case" 1; }
.ico { display: inline-block; flex: none; width: 0.62em; height: 0.62em; margin-left: 0.28em; transition: transform .45s var(--ease), opacity .3s; }

/* ==========================================================
   NAV (igual em todas as páginas)
   ========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--navh);
  padding: 0 var(--m);
  font-size: var(--nav);
  line-height: 1;
  background: var(--bg);
}
.nav__id { display: flex; align-items: baseline; gap: 16px; }
.nav__brand { padding: 6px 0; }
.nav__tag { color: var(--slate); white-space: nowrap; }
.page-conversar .nav__tag,
.page-obrigado .nav__tag { color: var(--mist); }
.nav__links { display: flex; gap: clamp(28px, 4.3vw, 62px); }
.nav__links a { display: inline-flex; align-items: center; padding: 6px 0; }
.nav__links .ico { opacity: .35; }
.nav__links a:hover .ico, .nav__links a[aria-current="page"] .ico { opacity: 1; transform: translateX(3px); }
.nav__links a[aria-current="page"] .roll > span { text-decoration: underline; text-decoration-thickness: var(--rule); text-underline-offset: 6px; }

.roll { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.3em; margin-bottom: -0.3em; }
.roll > span { display: inline-block; text-shadow: 0 1.5em currentColor; transition: transform .6s var(--ease); }
a:hover .roll > span, a:focus-visible .roll > span { transform: translateY(-1.5em); }
[data-mag] { transition: transform .6s var(--ease); will-change: transform; }
.burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 35;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--navh) var(--m) 32px;
  background: var(--navy); color: var(--paper);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .7s var(--ease), visibility 0s .7s;
}
.menu-open .menu { transform: none; visibility: visible; transition: transform .7s var(--ease), visibility 0s 0s; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  padding: 10px 0 12px;
  border-top: var(--rule) solid currentColor;
  font-size: 13vw;
  line-height: 1;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.menu nav a:last-child { border-bottom: var(--rule) solid currentColor; }
.menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu__foot { margin-top: 24px; font-family: var(--mono); font-weight: 500; font-size: var(--small); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.5; color: var(--mist); }

/* ==========================================================
   INÍCIO (CAPA EDITORIAL DIVIDIDA)
   ========================================================== */
.page-home .nav { position: fixed; left: 0; right: 0; background: rgba(243, 240, 232, 0.9); backdrop-filter: blur(8px); mix-blend-mode: normal; color: var(--navy); }
.page-home .home {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  column-gap: var(--m);
  row-gap: 24px;
  min-height: 100svh;
  height: 100svh;
  padding: calc(var(--navh) + 2vh) var(--m) var(--m);
  overflow: hidden;
}
.page-home .home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(16, 31, 53, 0.045) 0 1px, transparent 1px 25%);
}
.home__copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / 7;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 2.6vh, 30px);
  padding-right: clamp(12px, 2vw, 36px);
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  will-change: transform;
}
.home__eyebrow {
  color: var(--teal);
  padding-left: 12px;
  border-left: 3px solid var(--teal);
}
.home__title {
  font-size: clamp(36px, 4.35vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
  text-wrap: balance;
  padding-top: 0.14em;
  color: var(--navy);
  max-width: 14.5ch;
}
.home__lead {
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.38;
  color: rgba(16, 31, 53, 0.86);
  max-width: 36em;
}
.home__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-top: 6px;
}
.home__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
  padding: 10px 0;
  color: var(--navy);
}
.home__cta:hover .ico { transform: translateX(4px); }
.home__cta--accent {
  background: var(--teal);
  color: var(--paper);
  padding: 13px 22px;
  transition: background-color .3s, transform .6s var(--ease);
}
.home__cta--accent:hover { background: var(--navy); }

.home__meta {
  position: relative;
  z-index: 2;
  grid-column: 1 / 7;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 31, 53, 0.18);
  color: var(--slate);
}
.home__meta-sig { color: var(--navy); }

.home__visual {
  position: relative;
  z-index: 1;
  grid-column: 7 / -1;
  grid-row: 1 / 3;
  min-height: 0;
  display: flex;
}
.home__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  background: #101F35;
  border: 1px solid rgba(16, 31, 53, 0.14);
}
.home__media img {
  position: absolute;
  left: -3%;
  top: -3%;
  display: block;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: 54% 42%;
  filter: grayscale(1) contrast(1.03);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}
.home__seal {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 3;
  display: block;
  width: clamp(104px, 8.6vw, 128px);
  height: clamp(104px, 8.6vw, 128px);
  border-radius: 50%;
  transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0);
  will-change: transform;
}
.home__seal svg { display: block; width: 100%; height: 100%; overflow: visible; transition: transform .45s var(--ease); }
.home__seal:hover svg { transform: scale(1.06); }
.seal__bg { fill: var(--paper); stroke: var(--teal); stroke-width: 1.5; }
.seal__inner { fill: none; stroke: rgba(16, 31, 53, 0.18); stroke-width: 1; }
.seal__spin { transform-origin: 70px 70px; animation: seal-spin 26s linear infinite; }
.seal__text {
  fill: var(--navy);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.2px;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}
.seal__mark { stroke: var(--teal); stroke-width: 2.2; stroke-linecap: square; }
@keyframes seal-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ==========================================================
   O TRABALHO
   ========================================================== */
.about { padding: 0 var(--m); }
.about__hero {
  --about: min(4.7vw, calc((100svh - var(--navh)) / 11));
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--m);
  row-gap: 32px;
  min-height: calc(100svh - var(--navh));
  height: auto;
  padding: 1vh 0 var(--m);
}
.about__title {
  grid-column: 7 / -1; grid-row: 1;
  font-size: var(--about);
  line-height: 1.02;
  padding-top: 0.16em;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
  text-wrap: balance;
}
.about__media { grid-column: 1 / 6; grid-row: 1 / -1; position: relative; min-height: 520px; overflow: hidden; background: #E8E4DA; border: 1px solid rgba(16, 31, 53, 0.12); color: var(--navy); }
.about__media img {
  position: absolute; left: -3%; top: -3%;
  display: block; width: 106%; height: 106%;
  object-fit: cover; object-position: 50% 20%;
  filter: grayscale(1) contrast(1.03);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}
.about__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 28px 18px 14px;
  mix-blend-mode: normal;
  color: var(--navy);
  background: linear-gradient(to top, rgba(243, 240, 232, 0.92) 45%, transparent);
  font-family: var(--mono); font-weight: 500;
  font-size: var(--small); letter-spacing: 0.04em; text-transform: uppercase; font-feature-settings: "case" 1;
}
.about__cols { grid-column: 7 / -1; grid-row: 3; display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); }
.about__col { padding-top: 12px; border-top: var(--rule) solid currentColor; }
.about__col .lab { display: flex; gap: 0.6em; margin-bottom: 18px; color: var(--slate); }
.about__col p { font-weight: 300; line-height: 1.24; }

/* ==========================================================
   OS 3 FILTROS DO ANÚNCIO (O trabalho)
   ========================================================== */
.filters { margin-top: 20vh; }
.filters__head { display: grid; gap: 16px; max-width: 44em; margin-bottom: 32px; }
.filters__head .lab { color: var(--slate); }
.filters__title {
  font-size: var(--lead);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
  text-wrap: balance;
}
.filters__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--rule) solid currentColor;
  border-bottom: var(--rule) solid currentColor;
}
.filter-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 20px;
  background: none;
  border: 0;
  border-right: var(--rule) solid currentColor;
  cursor: pointer;
  text-align: left;
  transition: background-color .25s, color .25s;
}
.filter-tab:last-child { border-right: 0; }
.filter-tab__num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}
.filter-tab__name {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.filter-tab:hover:not([aria-selected="true"]) { background: rgba(183, 199, 206, 0.25); }
.filter-tab[aria-selected="true"] { background: var(--navy); color: var(--paper); }
.filter-tab[aria-selected="true"] .filter-tab__num { color: var(--mist); }

.filter-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--rule) solid currentColor;
}
.filter-col { padding: 28px 24px; }
.filter-col--old { border-right: 1px solid var(--mist); }
.filter-col--new { background: rgba(183, 199, 206, 0.24); border-left: 4px solid var(--teal); }
.filter-col .lab { display: block; margin-bottom: 14px; color: var(--slate); }
.filter-col--new .lab { color: var(--teal); }
.filter-col p { font-weight: 300; line-height: 1.3; max-width: 28em; }
.filter-panel__ask {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 24px;
  border-bottom: var(--rule) solid currentColor;
}
.filter-panel__ask .lab { color: var(--slate); }
.filter-panel__ask p { font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }

/* ==========================================================
   ENTREGAS (sanfona)
   ========================================================== */
.about__list { margin-top: 20vh; }
.list__intro { max-width: 34em; margin-bottom: 24px; font-weight: 300; line-height: 1.24; }

.extras {
  margin-top: 48px;
  background: var(--navy);
  color: var(--paper);
  border-left: 4px solid var(--teal);
}
.extras--top { margin-top: 20vh; }
.extras__head {
  display: grid;
  grid-template-columns: minmax(0, 16em) 1fr;
  gap: 16px var(--m);
  align-items: baseline;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(183, 199, 206, 0.22);
}
.extras__head .lab { color: var(--mist); }
.extras__lead { font-weight: 300; line-height: 1.28; max-width: 34em; }
.extras__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.extras__grid--2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  border-right: 1px solid rgba(183, 199, 206, 0.22);
  transition: background-color .25s;
}
.extra:last-child { border-right: 0; }
.extras__grid--2x2 .extra:nth-child(2n) { border-right: 0; }
.extras__grid--2x2 .extra:nth-child(-n+2) { border-bottom: 1px solid rgba(183, 199, 206, 0.22); }
.extra:hover { background: rgba(22, 75, 96, 0.35); }
.extra__idx {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.04em;
  color: var(--mist);
}
.extra__title {
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.05;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.extra p { font-weight: 300; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.3; color: var(--mist); }

.rows { border-top: var(--rule) solid currentColor; }
.row { border-bottom: var(--rule) solid currentColor; }
.row__head {
  display: flex; align-items: baseline; gap: 20px;
  width: 100%;
  padding: 6px 0 8px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: var(--row);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.row__t { flex: 1; transition: transform .45s var(--ease), color .3s; }
.row__n { font-family: var(--mono); font-weight: 500; font-size: clamp(14px, 1.4vw, 20px); color: var(--slate); align-self: center; }
.row__head:hover .row__t { transform: translateX(0.25em); }
.row__head:hover .row__t, .row.open .row__t { color: var(--teal); }
.row__plus { position: relative; flex: none; width: 0.55em; height: 0.55em; align-self: center; }
.row__plus::before, .row__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0.09em; margin-top: -0.045em; background: currentColor; transition: transform .45s var(--ease); }
.row__plus::after { transform: rotate(90deg); }
.row.open .row__plus::after { transform: rotate(0deg); }
.row__head:focus-visible { outline-offset: -4px; }

.row__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease), visibility 0s; }
.js .row:not(.open) > .row__body, .js .work:not(.open) > .row__body { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .6s var(--ease), visibility 0s .6s; }
.row__in { overflow: hidden; min-height: 0; }
.row__c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px var(--m);
  padding: 8px 0 32px;
  font-weight: 300;
  line-height: 1.24;
}
.row__c > p, .tags { grid-column: 2; max-width: 28em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 12px 6px; border: var(--rule) solid currentColor; font-weight: 700; font-size: var(--small); letter-spacing: 0.02em; text-transform: uppercase; font-feature-settings: "case" 1; }

/* ==========================================================
   COMO EU PENSO (3 cenários)
   ========================================================== */
.hypotheses { margin-top: 20vh; }
.hypotheses__head { display: grid; gap: 16px; max-width: 44em; margin-bottom: 32px; }
.hypotheses__head .lab { color: var(--slate); }
.hypotheses__title {
  font-size: var(--row);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
  text-wrap: balance;
}
.hyp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--rule) solid currentColor;
  border-bottom: var(--rule) solid currentColor;
}
.hyp {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 24px;
  border-right: 1px solid var(--mist);
}
.hyp:last-child { border-right: 0; }
.hyp__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mist);
}
.hyp__tag {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}
.hyp__title {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.04;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.hyp__list { display: grid; gap: 16px; }
.hyp__item { display: grid; gap: 6px; }
.hyp__item .lab { color: var(--slate); }
.hyp__item p { font-weight: 300; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.3; }

/* ==========================================================
   CHAMADAS DE PRÓXIMO PASSO
   ========================================================== */
.next {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18vh;
  padding: 10px 0 12px;
  border-top: var(--rule) solid currentColor;
  border-bottom: var(--rule) solid currentColor;
  font-size: var(--row);
  line-height: 1;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
  transition: background-color .3s, color .3s, padding .45s var(--ease);
}
.next .ico { width: 1em; height: 1em; }
.next:hover { background: var(--teal); color: var(--paper); padding-left: 0.3em; padding-right: 0.3em; }
.next-stack { margin-top: 18vh; }
.next-lead { margin-bottom: 24px; font-weight: 300; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.2; color: var(--slate); }
.next-stack .next { margin-top: 0; }
.next-stack .next + .next { border-top: 0; }
.next--sec { font-size: var(--nav); color: var(--slate); padding: 14px 0; }
.next--sec:hover { background: var(--navy); color: var(--paper); }

/* ==========================================================
   PROCESSO
   ========================================================== */
.works { padding: 0 var(--m); }
.works__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px var(--m);
  align-items: end;
  min-height: calc(34vh - var(--navh));
  padding: 6vh 0 3vh;
}
.works__title { font-size: var(--nav); text-transform: uppercase; font-feature-settings: "case" 1; }
.works__head p { max-width: 28em; font-weight: 300; line-height: 1.24; }
.works__list { border-top: var(--rule) solid currentColor; }
.work { border-bottom: var(--rule) solid currentColor; }
.work__head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  position: relative;
  padding: 0.2em 0.9em 0.14em 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: clamp(32px, 7.2vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.work__t { transition: transform .5s var(--ease), color .3s; }
.work__head .ico { position: absolute; right: 0; top: 50%; width: 0.5em; height: 0.5em; margin: -0.2em 0 0; opacity: 0; transform: translateX(-20px); }
.work__head:hover .work__t { transform: translateX(0.18em); }
.work__head:hover .ico, .work__head:focus-visible .ico { opacity: 1; transform: none; }
.work.open .work__head .ico { opacity: 1; transform: rotate(90deg); }
.work__head:hover .work__t, .work.open .work__t { color: var(--teal); }
.work__head:focus-visible { outline-offset: -4px; }
.work__c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px var(--m);
  padding: 20px 0 40px;
  font-weight: 300;
  line-height: 1.24;
}
.work__meta { font-family: var(--mono); font-weight: 500; font-size: var(--small); letter-spacing: 0.04em; text-transform: uppercase; font-feature-settings: "case" 1; color: var(--slate); }
.work__text { max-width: 28em; }

/* Matriz 2x2 das quatro frentes (Etapa 01) */
.matrix { grid-column: 1 / -1; margin-top: 16px; display: grid; gap: 0; }
.matrix__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--rule) solid currentColor;
  border-left: var(--rule) solid currentColor;
}
.matrix__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 24px;
  background: none;
  border: 0;
  border-right: var(--rule) solid currentColor;
  border-bottom: var(--rule) solid currentColor;
  cursor: pointer;
  text-align: left;
  transition: background-color .25s, color .25s;
}
.matrix__card:hover:not(.is-active) { background: rgba(183, 199, 206, 0.25); }
.matrix__card.is-active { background: var(--teal); color: var(--paper); }
.matrix__idx {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}
.matrix__card.is-active .matrix__idx { color: var(--mist); }
.matrix__name {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.matrix__desc { font-weight: 300; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.28; max-width: 26em; }
.matrix__detail {
  background: var(--navy);
  color: var(--paper);
  padding: 24px;
  border: var(--rule) solid var(--navy);
  border-top: 0;
}
.matrix__pane {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px var(--m);
}
.matrix__pane .lab { display: block; color: var(--mist); margin-bottom: 8px; }
.matrix__pane p { font-weight: 300; line-height: 1.28; font-size: clamp(16px, 1.4vw, 21px); }

.statement { margin-top: 22vh; }
.statement p { max-width: 11em; font-size: var(--block); line-height: 1.02; padding-top: 0.14em; letter-spacing: -0.025em; text-transform: uppercase; font-feature-settings: "case" 1; text-wrap: balance; }
.statement footer { margin-top: 24px; font-family: var(--mono); font-weight: 500; font-size: var(--small); letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }

/* ==========================================================
   CONVERSAR (formulário em 3 etapas com progresso)
   ========================================================== */
.contact { padding: 0 var(--m); }
.contact__top {
  display: grid;
  grid-template-columns: 1fr minmax(0, 26em);
  gap: 32px var(--m);
  align-items: end;
  padding-top: 20vh;
}
.contact__title {
  font-size: clamp(42px, 6.6vw, 94px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.cl { display: block; padding-top: 0.04em; }
.contact__info { display: grid; gap: 20px; font-weight: 300; line-height: 1.24; }
.contact__info .lab { color: var(--mist); }
.contact__links { display: flex; flex-direction: column; margin-top: 14vh; }
.contact__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0 8px;
  border-bottom: var(--rule) solid currentColor;
  font-size: var(--nav);
  line-height: 1;
}
.contact__links .ico { transform: rotate(-45deg); }
.contact__links a:hover .ico { transform: translate(4px, -4px) rotate(-45deg); }

.form { margin-top: 18vh; }
.form__top { margin-bottom: 18px; color: var(--mist); }

.form__prog { margin-bottom: 44px; padding-bottom: 18px; }
.form__prog-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.form__steps-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: .58;
  transition: opacity .25s, border-color .25s, color .25s;
}
.step-btn.is-active { opacity: 1; color: var(--paper); border-bottom-color: var(--paper); }
.step-btn.is-done { opacity: .92; color: var(--mist); }
.form__prog-meta {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}
.form__bar { position: relative; width: 100%; height: 3px; background: rgba(183, 199, 206, 0.22); overflow: hidden; }
.form__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--paper);
  transform-origin: left center;
  transform: scaleX(var(--pct, 0));
  transition: transform .5s var(--ease);
}

.js .form__step:not(.is-active) { display: none; }
.form__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: var(--rule) solid currentColor;
}
.form__prev {
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color .25s;
}
.form__prev:hover { color: var(--paper); }
.form__next {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: var(--row);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.form__next .ico { width: 0.8em; height: 0.8em; }
.form__next:hover .ico { transform: translateX(8px); }

.field { position: relative; margin-bottom: 40px; border-bottom: var(--rule) solid currentColor; }
.field label, .field legend { display: block; padding: 0; font-size: var(--label); line-height: 1.15; }
.field legend { float: left; width: 100%; }
.field legend + * { clear: both; }
.field input:not([type="radio"]), .field textarea {
  display: block; width: 100%;
  padding: 12px 0 14px;
  background: transparent; border: 0; border-radius: 0; outline: none;
  font-size: var(--field);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: inherit;
}
.field textarea { resize: none; min-height: 3.4em; }
.field input::placeholder, .field textarea::placeholder { color: inherit; opacity: .52; text-transform: uppercase; font-feature-settings: "case" 1; }
.field input:not([type="radio"]):focus, .field textarea:focus { box-shadow: inset 0 -4px 0 currentColor; }
.field.is-invalid { border-bottom-width: 6px; }
.err { position: absolute; right: 0; top: 0; font-family: var(--mono); font-weight: 500; font-size: var(--small); letter-spacing: 0.04em; text-transform: uppercase; font-feature-settings: "case" 1; color: var(--mist); }

.field--opts { border-bottom: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 18px 0 6px; }
.field .opt { display: inline-flex; align-items: center; gap: 14px; min-height: 46px; cursor: pointer; font-size: var(--label); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { display: inline-block; position: relative; flex: none; width: 46px; height: 46px; border: var(--rule) solid currentColor; border-radius: 50%; transition: background-color .2s; }
.opt__box::after { content: ""; position: absolute; inset: 9px; background: currentColor; border-radius: 50%; transform: scale(0); transition: transform .25s var(--ease); }
.opt input:checked + .opt__box::after { transform: none; }
.opt:hover .opt__box { background: rgba(183, 199, 206, 0.16); }
.opt input:focus-visible + .opt__box { outline: 2px solid currentColor; outline-offset: 3px; }
.field--opts.is-invalid .opt__box { border-width: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: var(--rule) solid currentColor;
}
.form__bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: 100%;
}
.form__note { font-size: var(--label); color: var(--mist); }
.form__submit {
  display: inline-flex; align-items: center; gap: 0.3em;
  margin-left: auto;
  padding: 0;
  background: none; border: 0; cursor: pointer;
  font-size: var(--block);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
}
.form__submit .ico { width: 0.8em; height: 0.8em; }
.form__submit:hover .ico { transform: translateX(10px); }
.form__submit[aria-busy="true"] { opacity: .6; cursor: progress; }
.form__status { flex: 1 1 100%; font-size: var(--label); color: var(--mist); }

/* ==========================================================
   RODAPÉ
   ========================================================== */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 22vh;
  padding: 0 var(--m);
  overflow: hidden;
}
.foot__left { display: grid; gap: 22px; padding-bottom: var(--m); }
.foot__meta { display: grid; gap: 6px; font-weight: 300; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.3; }
.foot__meta .lab { color: var(--slate); }
.page-conversar .foot__meta .lab,
.page-obrigado .foot__meta .lab { color: var(--mist); }
.foot__links { display: flex; flex-direction: column; font-size: var(--nav); line-height: 1.08; }
.foot__links a { width: fit-content; }
.foot__year { font-size: var(--year); line-height: 0.76; letter-spacing: -0.05em; margin-bottom: -0.04em; }

/* ==========================================================
   OBRIGADO
   ========================================================== */
.thanks {
  display: flex; flex-direction: column;
  min-height: calc(100svh - var(--navh));
  padding: 6vh var(--m) var(--m);
}
.thanks__tag { color: var(--mist); }
.thanks__word {
  margin-top: 2vh;
  font-size: calc((100vw - 2 * var(--m)) / 5.3);
  line-height: 0.78;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-feature-settings: "case" 1;
  white-space: nowrap;
  padding-top: 0.06em;
}
.thanks__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px var(--m);
  align-items: end;
  margin-top: auto;
  padding-top: 10vh;
}
.thanks__msg { display: grid; gap: 16px; max-width: 28em; font-weight: 300; line-height: 1.24; }
.thanks__lead { font-size: var(--nav); font-weight: 700; line-height: 1.04; }
.thanks__links { margin-top: 0; }
.thanks__links .lab { padding-bottom: 10px; border-bottom: var(--rule) solid currentColor; color: var(--mist); }
.thanks__links .is-int .ico { transform: none; }
.thanks__links .is-int:hover .ico { transform: translateX(6px); }
.thanks__action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 6px 0 8px;
  background: none;
  border: 0;
  border-bottom: var(--rule) solid currentColor;
  cursor: pointer;
  text-align: left;
  font-size: var(--nav);
  line-height: 1;
  transition: opacity .25s;
}
.thanks__action .ico { transform: none; }
.thanks__action:hover { opacity: .8; }
.thanks__action:hover .ico { transform: translateY(-2px); }

/* ==========================================================
   CURSOR (só com mouse; criado pelo main.js)
   ========================================================== */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor__dot {
  position: absolute; left: -48px; top: -48px;
  display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--paper); color: var(--navy-deep);
  transform: scale(.14);
  transition: transform .55s var(--ease), background-color .3s, border-color .3s;
}
.cursor.is-link .cursor__dot { transform: scale(.55); }
.cursor.has-label .cursor__dot { transform: scale(1); }
.cursor.is-down .cursor__dot { transform: scale(.1); }
.cursor.has-label.is-down .cursor__dot { transform: scale(.88); }
.cursor.is-text { opacity: 0; }
.cursor__label { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; font-feature-settings: "case" 1; opacity: 0; transition: opacity .2s; }
.cursor.has-label .cursor__label { opacity: 1; transition-delay: .1s; }

/* Páginas claras (#F3F0E8 + #101F35): diferença calibrada para gerar #101F35 sobre off-white; labels usam azul-petróleo sólido */
.page-home .cursor__dot,
.page-trabalho .cursor__dot,
.page-processo .cursor__dot { background: #E3D1B3; color: var(--paper); }
.page-home .cursor.has-label,
.page-trabalho .cursor.has-label,
.page-processo .cursor.has-label { mix-blend-mode: normal; }
.page-home .cursor.has-label .cursor__dot,
.page-trabalho .cursor.has-label .cursor__dot,
.page-processo .cursor.has-label .cursor__dot { background: var(--teal); color: var(--paper); }

/* Páginas azul-marinho (#101F35): cursor sólido off-white com aro sutil em névoa nos links */
.page-conversar .cursor,
.page-obrigado .cursor { mix-blend-mode: normal; }
.page-conversar .cursor__dot,
.page-obrigado .cursor__dot { background: var(--paper); color: var(--navy); }
.page-conversar .cursor.is-link:not(.has-label) .cursor__dot,
.page-obrigado .cursor.is-link:not(.has-label) .cursor__dot { background: rgba(183, 199, 206, 0.22); border: 2px solid var(--paper); }
.page-conversar .cursor.has-label .cursor__dot,
.page-obrigado .cursor.has-label .cursor__dot { background: var(--paper); color: var(--navy); border: 0; }

/* ==========================================================
   ENTRADAS COM MÁSCARA EDITORIAL
   ========================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .home__title[data-reveal],
.js .hw[data-reveal],
.js .cl[data-reveal],
.js .about__title[data-reveal],
.js .statement p[data-reveal],
.js .thanks__word[data-reveal] {
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition: opacity .85s var(--ease), transform 1.15s var(--ease), clip-path 1.1s var(--ease);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
  clip-path: inset(-0.35em -0.05em -0.25em -0.05em);
}
.js .home__media img { opacity: 0; transition: opacity 1.1s var(--ease); }
.js.is-loaded .home__media img { opacity: 1; }

/* ==========================================================
   CELULAR E TABLET
   ========================================================== */
@media (max-width: 1023px) {
  .nav__tag { display: none; }
}

@media (max-width: 899px) {
  :root {
    --m: 20px;
    --navh: 64px;
    --nav: 24px;
    --home: calc((100vw - 2 * var(--m)) / 8.2);
    --list: calc((100vw - 2 * var(--m)) / 8.6);
    --block: calc((100vw - 2 * var(--m)) / 4.8);
    --field: 19px;
    --label: 16px;
    --year: calc((100vw - 2 * var(--m)) / 3.25);
  }
  .nav__links { display: none; }
  .burger { display: block; position: relative; z-index: 45; width: 48px; height: 48px; margin-right: -10px; padding: 0; background: none; border: 0; cursor: pointer; }
  .burger span { position: absolute; left: 10px; width: 28px; height: 3px; background: currentColor; transition: transform .5s var(--ease); }
  .burger span:nth-child(1) { top: 18px; }
  .burger span:nth-child(2) { top: 27px; }
  .menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .menu-open .nav, .menu-open .page-home .nav { background: var(--navy); color: var(--paper); }

  /* Início mobile: capa editorial em coluna única */
  .page-home .home {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100svh;
    gap: 28px;
    padding: calc(var(--navh) + 24px) var(--m) 32px;
    overflow: visible;
  }
  .home__copy { padding-right: 0; gap: 16px; transform: none; }
  .home__title { font-size: clamp(32px, 9.2vw, 46px); max-width: none; }
  .home__lead { font-size: 16px; }
  .br-desk { display: none; }
  .home__actions { gap: 12px 18px; }
  .home__cta { font-size: 12px; }
  .home__cta--accent { padding: 11px 16px; }
  .home__visual { width: 100%; }
  .home__media { min-height: 0; aspect-ratio: 1 / 1; height: auto; }
  .home__media img { object-position: 50% 50%; }
  .home__seal { width: 82px; height: 82px; top: 14px; right: 14px; transform: none; }
  .home__meta { padding-top: 14px; gap: 6px 16px; }
  .menu-open .page-home .nav, .page-home.menu-open .nav { mix-blend-mode: normal; background: var(--navy); color: var(--paper); }

  .about__hero { display: flex; flex-direction: column; height: auto; min-height: 0; gap: 0; padding-top: 4vh; }
  .about__title { font-size: calc((100vw - 2 * var(--m)) / 9.6); }
  .about__media { min-height: 0; aspect-ratio: 4 / 5; margin-top: 6vh; }
  .about__media figcaption { flex-wrap: wrap; gap: 6px 12px; font-size: 11px; padding: 24px 14px 12px; }
  .about__cols { grid-template-columns: 1fr; gap: 40px; margin-top: 6vh; }

  .filters, .about__list, .hypotheses { margin-top: 14vh; }
  .filters__tabs { grid-template-columns: 1fr; }
  .filter-tab { border-right: 0; border-bottom: var(--rule) solid currentColor; padding: 14px 16px; }
  .filter-tab:last-child { border-bottom: 0; }
  .filter-panel__grid { grid-template-columns: 1fr; }
  .filter-col { padding: 20px 16px; }
  .filter-col--old { border-right: 0; border-bottom: 1px solid var(--mist); }
  .filter-panel__ask { padding: 16px; }

  .hyp-grid { grid-template-columns: 1fr; }
  .hyp { border-right: 0; border-bottom: 1px solid var(--mist); padding: 22px 0; }
  .hyp:last-child { border-bottom: 0; }

  .extras { margin-top: 32px; }
  .extras--top { margin-top: 14vh; }
  .extras__head { grid-template-columns: 1fr; padding: 20px 18px; }
  .extras__grid,
  .extras__grid--2x2 { grid-template-columns: 1fr; }
  .extra { padding: 18px; border-right: 0; border-bottom: 1px solid rgba(183, 199, 206, 0.22); }
  .extra:last-child { border-bottom: 0; }

  .next-stack { margin-top: 14vh; }
  .row__t { min-width: 0; }
  .row__n { font-size: 12px; align-self: center; }
  .row__c, .work__c { grid-template-columns: 1fr; }
  .statement p { font-size: calc((100vw - 2 * var(--m)) / 5.8); }
  .row__c > p, .tags { grid-column: 1; }

  .matrix__grid { grid-template-columns: 1fr; }
  .matrix__card { padding: 18px 16px; }
  .matrix__detail { padding: 18px 16px; }
  .matrix__pane { grid-template-columns: 1fr; }

  .works__head { grid-template-columns: 1fr; min-height: 0; padding: 8vh 0 4vh; }
  .work__head { font-size: clamp(26px, 8vw, 46px); }
  .work__head .ico { opacity: 1; transform: none; }

  .contact__top { grid-template-columns: 1fr; padding-top: 10vh; }
  .contact__links { margin-top: 8vh; }
  .thanks { padding-top: 5vh; min-height: 0; }
  .thanks__row { grid-template-columns: 1fr; padding-top: 8vh; }
  .form { margin-top: 12vh; }
  .form__steps-nav { gap: 8px 14px; }
  .opts { flex-direction: column; gap: 10px; }
  .opt { font-size: 18px; }
  .opt__box { width: 36px; height: 36px; }
  .opt__box::after { inset: 7px; }
  .err { position: static; margin: -2px 0 10px; }
  .form__submit { width: 100%; justify-content: space-between; white-space: nowrap; font-size: calc((100vw - 2 * var(--m)) / 8.5); }
  .field input::placeholder, .field textarea::placeholder { font-size: 15px; text-transform: none; letter-spacing: 0; }

  .foot { flex-direction: column; align-items: flex-start; margin-top: 14vh; }
  .foot__left { padding-bottom: 0; }
}

@media (min-width: 900px) and (max-height: 680px) {
  .page-home .home { height: auto; overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js .home__media img, .home__copy, .home__seal { transform: none !important; transition: none !important; }
  .menu, .row__body, .ico, .row__t, .work__t, .roll > span, [data-mag], .form__bar-fill { transition: none !important; }
  .seal__spin { animation: none !important; }
}
