/* ═══════════════════════════════════════════════════════
   PICSTONE® — "MÁQUINA DE VER × LITOTIPO"
   Instrumento de metrologia óptica · tipografia monumental
   Anton (monumento) · Archivo (humano) · JetBrains Mono (máquina)
   ═══════════════════════════════════════════════════════ */

:root {
  --carbon:   #0B0C0E;
  --chassi:   #121417;
  --line:     #26292E;
  --graphite: #8A9099;
  --bone:     #EDEAE3;
  --optical:  #F2F3F4;
  --laser:    #F5D907;
  --laser-dim:#6B6106;
  --mono: 'JetBrains Mono', monospace;
  --disp: 'Anton', sans-serif;
  --body: 'Archivo', sans-serif;
  --ease-servo: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 4vw, 80px);
  --nav-h: 84px;
  --nav-h-slim: 64px;
  --logo-h: 52px;
  --logo-h-slim: 42px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--carbon);
  color: var(--optical);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--laser); color: var(--carbon); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--carbon); }
::-webkit-scrollbar-thumb { background: var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--laser); }
html { scrollbar-color: var(--line) var(--carbon); scrollbar-width: thin; }

/* tipos utilitários */
.mono { font-family: var(--mono); }

.clip-calacatta,
.clip-nero,
.clip-gold {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: cover;
  background-position: center;
}
.clip-calacatta { background-image: url('../assets/img/marble-white.jpg'); }
.clip-nero      { background-image: url('../assets/img/marble-black.jpg'); }
.clip-gold      { background-image: url('../assets/img/texture-gold.jpg'); }

/* ══════════ PRELOADER ══════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--carbon);
  display: grid;
  place-items: center;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.pre-brackets {
  position: relative;
  width: min(46vmin, 340px);
  height: min(46vmin, 340px);
  display: grid;
  place-items: center;
}
.pre-brackets i {
  position: absolute;
  width: 34px; height: 34px;
  border: 2px solid var(--laser);
  transition: transform 1.4s var(--ease-servo);
}
.pre-brackets i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.pre-brackets i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.pre-brackets i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.pre-brackets i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.preloader.closing .pre-brackets i:nth-child(1) { transform: translate(28%, 28%); }
.preloader.closing .pre-brackets i:nth-child(2) { transform: translate(-28%, 28%); }
.preloader.closing .pre-brackets i:nth-child(3) { transform: translate(28%, -28%); }
.preloader.closing .pre-brackets i:nth-child(4) { transform: translate(-28%, -28%); }

.pre-core { text-align: center; }
.pre-count {
  font-family: var(--disp);
  font-size: clamp(64px, 14vmin, 120px);
  line-height: 1;
  color: var(--optical);
  font-variant-numeric: tabular-nums;
  display: block;
}
.pre-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--graphite);
  margin-top: 12px;
  display: block;
}
.blink { animation: blink 0.8s steps(1) infinite; color: var(--laser); }
@keyframes blink { 50% { opacity: 0; } }

.pre-scan {
  position: absolute;
  left: 0; right: 0; top: -3px;
  height: 2px;
  background: var(--laser);
  box-shadow: 0 0 24px rgba(245, 217, 7, 0.65);
  opacity: 0;
}
.preloader.scanning .pre-scan {
  opacity: 1;
  animation: prescan 0.7s linear forwards;
}
@keyframes prescan { to { top: 100%; } }

/* ══════════ HUD FIXO ══════════ */
.hud { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.hud-b {
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(242, 243, 244, 0.35);
  transition: border-color 0.3s;
}
.hud-tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.hud-tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.hud-br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
body.shutter .hud-b { border-color: var(--laser); }

.hud-exif {
  position: absolute;
  bottom: 22px; left: 52px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--graphite);
}
.hud-frame {
  position: absolute;
  bottom: 22px; right: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--graphite);
}
.hud-progress {
  width: 44px; height: 2px;
  background: var(--line);
  overflow: hidden;
}
.hud-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--laser);
  transform: scaleX(0);
  transform-origin: left;
}

/* ══════════ CURSOR-RETÍCULA ══════════ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 900;
  pointer-events: none;
  width: 0; height: 0;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}
.cur-cross {
  position: absolute;
  width: 21px; height: 21px;
  transform: translate(-50%, -50%);
}
.cur-cross::before, .cur-cross::after {
  content: '';
  position: absolute;
  background: var(--laser);
}
.cur-cross::before { left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; }
.cur-cross::after  { top: 50%; left: 0; right: 0; height: 1.5px; margin-top: -0.75px; }

.cur-b {
  position: absolute;
  width: 9px; height: 9px;
  border: 1.5px solid var(--laser);
  opacity: 0;
  transition: opacity 0.18s, transform 0.22s var(--ease-servo);
}
.cur-b:nth-of-type(1) { border-right: 0; border-bottom: 0; transform: translate(-16px, -16px); }
.cur-b:nth-of-type(2) { border-left: 0; border-bottom: 0; transform: translate(7px, -16px); }
.cur-b:nth-of-type(3) { border-right: 0; border-top: 0; transform: translate(-16px, 7px); }
.cur-b:nth-of-type(4) { border-left: 0; border-top: 0; transform: translate(7px, 7px); }

.cursor.lock .cur-cross { opacity: 0; }
.cursor.lock .cur-b { opacity: 1; }
.cursor.lock .cur-b:nth-of-type(1) { transform: translate(-22px, -22px); }
.cursor.lock .cur-b:nth-of-type(2) { transform: translate(13px, -22px); }
.cursor.lock .cur-b:nth-of-type(3) { transform: translate(-22px, 13px); }
.cursor.lock .cur-b:nth-of-type(4) { transform: translate(13px, 13px); }

.cur-read {
  position: absolute;
  left: 20px; top: 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--laser);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: none; }
}

/* ══════════ NAV ══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(11, 12, 14, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: height 0.35s var(--ease-servo), transform 0.35s var(--ease-servo);
}
.nav.slim { height: var(--nav-h-slim); }
.nav.hidden { transform: translateY(-100%); }

.nav-mark { display: flex; align-items: center; }
.mark-img {
  height: var(--logo-h);
  width: auto;
  display: block;
  transition: height 0.35s var(--ease-servo);
}
.nav.slim .mark-img { height: var(--logo-h-slim); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--graphite);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--optical); }
.nav-links a:not(.nav-rec)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  height: 1px; width: 100%;
  background: var(--laser);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-servo);
}
.nav-links a:not(.nav-rec):hover::after { transform: scaleX(1); }

.nav-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--laser);
  color: var(--laser) !important;
  padding: 9px 16px;
  transition: background 0.2s, color 0.2s;
}
.nav-rec:hover { background: var(--laser); color: var(--carbon) !important; }
.rec-dot {
  width: 6px; height: 6px;
  background: #e33;
  animation: rec 2s steps(1) infinite;
}
.nav-rec:hover .rec-dot { background: var(--carbon); }
@keyframes rec { 50% { opacity: 0.15; } }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span { width: 26px; height: 2px; background: var(--optical); transition: transform 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ══════════ BOTÕES ══════════ */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 16px 26px;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-servo);
}
.btn-laser { background: var(--laser); color: var(--carbon); font-weight: 500; }
.btn-laser:hover { background: var(--optical); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--line); color: var(--optical); }
.btn-line:hover { border-color: var(--laser); color: var(--laser); transform: translateY(-2px); }

/* ══════════ REVEALS ══════════ */
/* padding + margem negativa equivalente: dá folga ao clip sem mover o layout,
   senão o overflow:hidden corta o topo das letras (line-height < 1) */
.rv { display: block; overflow: hidden; padding-top: 0.22em; margin-top: -0.22em; }
.rv > span, .rv > b {
  display: block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease-servo);
}
.rv.in > span, .rv.in > b { transform: translateY(0); }

.rv-img { position: relative; }
.rv-img .arquivo-frame::after,
[data-scan] .arquivo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--carbon);
  transform-origin: bottom;
  transition: transform 1.1s linear;
  z-index: 2;
}
.rv-img.in .arquivo-frame::after { transform: scaleY(0); }

.rv-row { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-servo), transform 0.7s var(--ease-servo); }
.rv-row.in { opacity: 1; transform: none; }

/* ══════════ MÓDULOS (base) ══════════ */
.module { padding: 0 var(--pad); }

.mod-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.mod-head span:first-child { color: var(--laser-dim); }
.mod-head span:last-child { color: var(--graphite); }
.legado .mod-head span:first-child { color: #8a7d05; }
.legado .mod-head span:last-child { color: #6d6a60; }

/* ══════════ HERO ══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 32px) var(--pad) 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/img/marble-black.jpg') center / cover no-repeat;
  opacity: 0.5;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.72) 0%, rgba(11,12,14,0.25) 50%, var(--carbon) 100%);
}

.hero-readout {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--graphite);
  min-height: 13px;
}
.ro-tl { top: calc(var(--nav-h) + 22px); left: var(--pad); }
.ro-tr { top: calc(var(--nav-h) + 22px); right: var(--pad); text-align: right; }
.ro-bl { bottom: 50px; left: var(--pad); }
.ro-br { bottom: 50px; right: var(--pad); text-align: right; }

.hero-stack { position: relative; z-index: 2; }

.hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--laser);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--disp);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.005em;
}
/* limitado tambem pela altura da janela para o hero nunca estourar 100svh */
.ht-line { font-size: clamp(3.4rem, min(13.5vw, 16.5vh), 12.5rem); }
.ht-outline > span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--optical);
}
.ht-dim {
  margin: 1.4vw 0;
  font-family: var(--mono);
}
.ht-dim > span {
  display: flex !important;
  align-items: center;
  gap: 14px;
  max-width: 560px;
}
.ht-dim b {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--laser);
  white-space: nowrap;
}
.dim-line { flex: 1; height: 1px; background: var(--laser); opacity: 0.8; }

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-sub { font-size: 15px; color: var(--graphite); max-width: 480px; }
.hero-cta > span { display: flex !important; gap: 14px; flex-wrap: wrap; }

.hero-scrollmark {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--graphite);
}
.hero-scrollmark i {
  width: 2px; height: 22px;
  background: var(--laser);
  animation: tickdown 1.6s var(--ease-servo) infinite;
}
@keyframes tickdown {
  0% { transform: translateY(-4px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* janelas baixas: aperta os respiros para o hero continuar cabendo */
@media (max-height: 760px) {
  :root { --nav-h: 72px; --nav-h-slim: 58px; --logo-h: 46px; --logo-h-slim: 38px; }
  .hero { padding-top: calc(var(--nav-h) + 18px); padding-bottom: 62px; }
  .hero-kicker { margin-bottom: 14px; }
  .hero-foot { margin-top: 26px; }
}

/* ══════════ MARQUEE ══════════ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3vh 0;
  overflow: hidden;
  background: var(--carbon);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--disp);
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--optical);
  white-space: nowrap;
}
.marquee-track em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--optical);
}
.marquee-track b { color: var(--laser); font-weight: 400; }

/* ══════════ LEGADO (invertido) ══════════ */
.legado {
  background: var(--bone);
  color: var(--carbon);
  position: relative;
  padding-bottom: 90px;
}
.legado .mod-head { border-color: #d6d2c8; }

.legado-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(30px, 5vw, 80px);
  padding-top: 70px;
  align-items: start;
}

.arquivo { position: relative; }
.arquivo-frame {
  position: relative;
  border: 1px solid #c9c4b8;
  padding: 18px;
  background: #e4e0d6;
  overflow: hidden;
}
.arquivo-frame img {
  filter: grayscale(1) contrast(1.12);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.arquivo figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #6d6a60;
}

.legado-txt { position: relative; }
.num-ghost {
  position: absolute;
  top: -0.28em; right: 0;
  font-family: var(--disp);
  font-size: clamp(9rem, 18vw, 17rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 12, 14, 0.16);
  pointer-events: none;
  user-select: none;
}
.legado-txt h2 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.94;
  text-transform: uppercase;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.legado-txt p {
  max-width: 54ch;
  color: #3d3c38;
  margin-bottom: 16px;
}
.legado-txt strong { color: var(--carbon); }
.legado-stamp {
  font-family: var(--mono);
  font-size: 11px !important;
  letter-spacing: 0.12em;
  color: #8a7d05 !important;
  margin-top: 26px;
}

.legado-quote {
  margin-top: 80px;
  font-family: var(--disp);
  font-size: clamp(1.8rem, 4.4vw, 3.8rem);
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  border-top: 1px solid #d6d2c8;
  padding-top: 60px;
}

.legado-dates {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #b4afa2;
}

/* ══════════ TESE / BENEFÍCIOS ══════════ */
.tese { position: relative; }

.tese-row {
  display: grid;
  grid-template-columns: 1fr 5fr 4fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  min-height: 42vh;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.tese-idx {
  font-family: var(--disp);
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--laser-dim);
  transition: -webkit-text-stroke-color 0.3s, color 0.3s;
}
.tese-row:hover .tese-idx { color: var(--laser); -webkit-text-stroke-color: var(--laser); }

.tese-row h3 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.7rem);
  line-height: 0.95;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-servo);
}
.tese-row:hover h3 { transform: translateX(18px); }

.tese-body p { color: var(--graphite); font-size: 15.5px; max-width: 46ch; }
.tese-spec {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--laser-dim);
  transition: color 0.3s;
}
.tese-row:hover .tese-spec { color: var(--laser); }

/* janela-fantasma */
.ghost {
  position: fixed;
  z-index: 55;
  width: clamp(240px, 26vw, 420px);
  aspect-ratio: 3 / 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid rgba(245, 217, 7, 0.5);
}
.ghost.on { opacity: 1; }
.ghost img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s;
}
.ghost img.show { opacity: 1; }

/* ══════════ CLIENTES ══════════ */
.clientes {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--chassi);
  min-height: 110px;
}
.cli-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--laser-dim);
  white-space: nowrap;
}
.cli-strip {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cli-track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: clitrack 36s linear infinite;
  padding: 0 27px;
}
.cli-strip:hover .cli-track { animation-play-state: paused; }
.cli-track img {
  height: 40px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1) brightness(1.8);
  transition: opacity 0.25s;
}
.cli-track img:hover { opacity: 1; }
.cli-track i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  color: var(--line);
}
@keyframes clitrack { to { transform: translateX(-50%); } }

/* ══════════ SPECS / DATASHEET ══════════ */
.spec-row {
  display: grid;
  grid-template-columns: 110px 5fr 5fr 3fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s var(--ease-servo), background 0.3s;
}
.spec-row:hover { transform: translateX(10px); }

.spec-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--laser-dim);
  transition: color 0.3s;
}
.spec-row:hover .spec-num { color: var(--laser); }

.spec-row h3 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}
.spec-row p { color: var(--graphite); font-size: 14.5px; max-width: 44ch; }
.spec-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--graphite);
  text-align: right;
}
.spec-row-uptime h3 { font-size: clamp(1.6rem, 3.4vw, 2.8rem); }

/* ══════════ DADOS (claro) ══════════ */
.dados {
  background: var(--optical);
  color: var(--carbon);
  padding-bottom: 100px;
  background-image:
    repeating-linear-gradient(0deg, rgba(11,12,14,0.045) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(11,12,14,0.045) 0 1px, transparent 1px 40px);
}
.dados .mod-head { border-color: rgba(11,12,14,0.16); }
.dados .mod-head span:first-child { color: #98860a; }
.dados .mod-head span:last-child { color: #6b6e73; }

.dados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 60px);
  padding-top: 80px;
}
.dado { position: relative; }
.dado-wide { grid-column: 1 / -1; }

.dado-val {
  display: block;
  font-family: var(--disp);
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 2px var(--carbon);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}
.dado-val.set { color: var(--carbon); }
.dado-wide .dado-val { font-size: clamp(6rem, 16vw, 15rem); }

.dado-cota {
  display: block;
  height: 1px;
  background: var(--carbon);
  margin: 18px 0 10px;
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-servo) 0.3s;
}
.dado-val.set + .dado-cota { transform: scaleX(1); }
.dado-cota::before, .dado-cota::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 1px; height: 7px;
  background: var(--carbon);
}
.dado-cota::before { left: 0; }
.dado-cota::after { right: 0; }

.dado-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #55585c;
}

/* ══════════ INSTRUMENTOS ══════════ */
.instr {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.instr-flip .instr-media { order: 2; }
.instr-flip .instr-txt { order: 1; }

.instr-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.instr-media > img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.slab-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.sl-path {
  fill: none;
  stroke: var(--laser);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.sl-outline { stroke-width: 2; }
.sl-inner { stroke-width: 1.5; stroke-dasharray: 0.012 0.008; stroke-dashoffset: 1; }
.sl-defect { stroke-width: 1.5; }
.sl-dim { stroke-width: 1; }
.instr-media.drawn .sl-outline { transition: stroke-dashoffset 1.2s linear; stroke-dashoffset: 0; }
.instr-media.drawn .sl-inner { transition: stroke-dashoffset 1.2s linear 1s; stroke-dashoffset: 0; }
.instr-media.drawn .sl-defect { transition: stroke-dashoffset 0.7s linear 2s; stroke-dashoffset: 0; }
.instr-media.drawn .sl-dim { transition: stroke-dashoffset 0.6s linear 0.4s; stroke-dashoffset: 0; }

.sl-read {
  position: absolute;
  font-family: var(--mono);
  font-size: clamp(9px, 1.1vw, 12px);
  letter-spacing: 0.08em;
  color: var(--laser);
  background: rgba(11, 12, 14, 0.82);
  padding: 5px 10px;
  min-height: 1em;
}
.sl-r1 { top: 6%; left: 5%; }
.sl-r2 { bottom: 18%; left: 12%; }
.sl-r3 { top: 18%; right: 6%; }

.instr-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--laser);
  margin-bottom: 20px;
}
.instr-txt h3 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(3.2rem, 6.5vw, 5.6rem);
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.instr-lead {
  font-size: 19px;
  font-weight: 600;
  color: var(--optical);
  margin-bottom: 14px;
}
.instr-txt > p:not(.instr-lead) { color: var(--graphite); font-size: 15.5px; max-width: 50ch; }

.instr-list {
  list-style: none;
  margin: 26px 0 34px;
  display: grid;
  gap: 10px;
}
.instr-list li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--graphite);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

/* PageMaker */
.pm { aspect-ratio: 10 / 7; }
.pm-layer {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  visibility: hidden;
}
.pm-layer.active { visibility: visible; }
.pm-layer.wiping {
  visibility: visible;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.6s linear;
}
.pm-layer.wiping.go { clip-path: inset(0 0 0 0); }

.pm-scan {
  position: absolute;
  top: 0; bottom: 0;
  left: -3px;
  width: 2px;
  background: var(--laser);
  box-shadow: 0 0 22px rgba(245, 217, 7, 0.7);
  opacity: 0;
  z-index: 3;
}
.pm-scan.go {
  opacity: 1;
  transition: left 0.6s linear;
  left: 100%;
}

.pm-read {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--laser);
  background: rgba(11, 12, 14, 0.82);
  padding: 6px 12px;
}

.pm-swatches {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.pm-sw {
  width: 46px; height: 46px;
  border: 1px solid rgba(242, 243, 244, 0.4);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-servo), border-color 0.2s;
  position: relative;
}
.pm-sw:hover { transform: translateY(-3px); }
.pm-sw.active { border-color: var(--laser); }
.pm-sw.active::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid var(--laser);
  opacity: 0.5;
}

/* ══════════ CTA AMARELO ══════════ */
.cta {
  background: var(--laser);
  color: var(--carbon);
  padding: clamp(80px, 12vh, 140px) var(--pad);
}
.cta-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(11, 12, 14, 0.6);
  margin-bottom: 30px;
}
.cta-title {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 10.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.cta-links { border-top: 2px solid var(--carbon); }
.cta-links a {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 8px;
  border-bottom: 2px solid var(--carbon);
  transition: background 0.25s, color 0.25s, padding 0.3s var(--ease-servo);
}
.cta-links a:hover {
  background: var(--carbon);
  color: var(--laser);
  padding-left: 24px;
}
.cta-links em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.cta-links b {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(1.3rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.cta-links span { font-size: clamp(1.4rem, 3vw, 2.2rem); transition: transform 0.3s var(--ease-servo); }
.cta-links a:hover span { transform: translateX(8px); }

.cta-meta {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(11, 12, 14, 0.55);
}

/* ══════════ FOOTER ══════════ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 60px var(--pad) 0;
  border-top: 1px solid var(--line);
}
.foot-serial {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--graphite);
  padding-bottom: 40px;
}
.foot-serial a { color: var(--optical); }
.foot-serial a:hover { color: var(--laser); }

.foot-monument {
  font-family: var(--disp);
  font-size: clamp(5rem, 19.5vw, 22rem);
  line-height: 0.72;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 243, 244, 0.16);
  transform: translateY(0.18em);
  user-select: none;
  pointer-events: none;
}
.foot-standby {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--laser-dim);
  white-space: nowrap;
}

/* ══════════ REDUCED MOTION ══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv > span, .rv > b { transform: none; transition: none; }
  .rv-row { opacity: 1; transform: none; transition: none; }
  .rv-img .arquivo-frame::after { display: none; }
  .marquee-track, .cli-track, .hero-scrollmark i, .rec-dot, .blink { animation: none !important; }
  .cursor { display: none !important; }
  body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: auto; }
  .preloader { display: none; }
  .instr-media .sl-path { stroke-dashoffset: 0; transition: none; }
  .dado-val { color: var(--carbon); }
  .dado-cota { transform: scaleX(1); }
}

/* ══════════ RESPONSIVO ══════════ */
@media (max-width: 1024px) {
  .tese-row { grid-template-columns: 1fr 4fr; }
  .tese-body { grid-column: 2; }
  .spec-row { grid-template-columns: 80px 1fr; row-gap: 10px; }
  .spec-row p { grid-column: 2; }
  .spec-tag { grid-column: 2; text-align: left; }
  .instr { grid-template-columns: 1fr; }
  .instr-flip .instr-media { order: 0; }
  .instr-flip .instr-txt { order: 0; }
  .dados-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(11, 12, 14, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 15px; }

  .hero { padding-bottom: 70px; }
  .ro-tr, .ro-br { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; }

  .legado-grid { grid-template-columns: 1fr; }
  .legado-dates { display: none; }
  .num-ghost { font-size: 8rem; }

  .tese-row { grid-template-columns: 1fr; min-height: 0; gap: 14px; }
  .tese-row:hover h3 { transform: none; }
  .ghost { display: none; }

  .cli-label { display: none; }

  .hud-exif { left: 46px; max-width: 36vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hud-frame { right: 46px; }

  :root { --nav-h: 68px; --nav-h-slim: 58px; --logo-h: 42px; --logo-h-slim: 36px; }

  .cta-links a { grid-template-columns: 1fr auto; }
  .cta-links em { display: none; }

  .foot-serial { flex-direction: column; }
}
