/* ==========================================================================
   Uchiz Design & Lab — estilos
   ========================================================================== */
:root {
  --ink: #0E0E0E;
  --surface: #171717;
  --line-dark: #2A2A2A;
  --paper: #EEEEE8;
  --paper-2: #E5E5E0;
  --line: #D6D6CF;
  --line-2: #CFCFC8;
  --muted: #5E5E59;
  --text-2: #3A3A36;
  --muted-dark: #9A9A94;
  --text-dark-2: #B5B5AF;
  --green: #8CFF4A;
  --green-dark: #4CC21A;
  --figma: #0D99FF;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-top: 76px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--figma); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }

.container { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--paper); border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- elementos base ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted);
}
.eyebrow--dark { color: var(--muted-dark); }
.dot { width: 8px; height: 8px; background: var(--green-dark); flex: none; }
.dot--bright { background: var(--green); }
.sq { display: inline-block; width: 8px; height: 8px; background: var(--green); flex: none; }

.h2 { font-size: clamp(40px, 5.6vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: .96; }
.h-display { font-size: clamp(48px, 7.4vw, 112px); font-weight: 700; letter-spacing: -.055em; line-height: .94; }
.h2 em, .h-display em, .hero__title em { font-weight: 400; font-style: italic; }
.pxdot { display: inline-block; width: .14em; height: .14em; background: var(--green-dark); margin-left: .04em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2A2A27; }
.btn--ghost { border: 1px solid #BDBDB6; color: var(--ink); font-weight: 500; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--green); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(238, 238, 232, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); --sym-accent: var(--green-dark); }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-size: 25px; font-weight: 800; letter-spacing: -.05em; line-height: .85; }
.brand__sub { font-family: var(--mono); font-size: 9px; letter-spacing: .24em; color: var(--muted); }
.brand__sym { transition: transform .5s var(--ease); }
.brand:hover .brand__sym { transform: rotate(-8deg) scale(1.06); }
.nav__links { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; text-decoration: none; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- hero ---------- */
.hero__inner {
  padding: clamp(64px, 9vw, 136px) var(--gutter) clamp(48px, 6vw, 88px);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px);
}
.hero__title { max-width: 1180px; font-size: clamp(52px, 8.4vw, 132px); font-weight: 700; letter-spacing: -.055em; line-height: .92; }
.select { position: relative; display: inline-block; }
.select__box {
  position: absolute; left: -.08em; top: .06em; right: -.06em; bottom: -.04em;
  border: 1.5px solid var(--figma); pointer-events: none;
}
.select__box i {
  position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--figma);
}
.select__box i:nth-child(1) { left: 0; top: 0; transform: translate(-50%, -50%); }
.select__box i:nth-child(2) { right: 0; top: 0; transform: translate(50%, -50%); }
.select__box i:nth-child(3) { left: 0; bottom: 0; transform: translate(-50%, 50%); }
.select__box i:nth-child(4) { right: 0; bottom: 0; transform: translate(50%, 50%); }

.hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.lead { max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) {
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
}

/* Design <-> Código */
.dc { margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.dc__card { display: flex; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: 20px; overflow: hidden; }
.dc__pane { flex: 1 1 420px; min-width: 0; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.dc__pane--design { background-color: #131313; background-image: radial-gradient(#262626 1px, transparent 1px); background-size: 20px 20px; }
.dc__pane--code { border-left: 1px solid var(--line-dark); }
.dc__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted-dark); }
.dc__stage { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 170px; }
.toast-wrap { position: relative; }
.toast {
  display: flex; align-items: center; gap: 12px; width: 300px; max-width: 100%;
  padding: 16px; background: var(--paper); color: var(--ink); border-radius: 14px;
}
.toast__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.toast__text { display: flex; flex-direction: column; gap: 2px; }
.toast__text strong { font-size: 15px; }
.toast__text span { font-size: 13px; color: var(--muted); }
.toast__sel { position: absolute; inset: -10px; border: 1.5px solid var(--figma); }
.toast__dim {
  position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%);
  padding: 2px 7px; border-radius: 4px; background: var(--figma); color: #fff;
  font-family: var(--mono); font-size: 11px; white-space: nowrap;
}
.code { margin: 0; flex: 1; font-family: var(--mono); font-size: clamp(13px, 1.3vw, 16px); line-height: 1.8; color: var(--paper); white-space: pre-wrap; }
.c-mut { color: var(--muted-dark); }
.c-str { color: var(--green); }
.caret { color: var(--green); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.caption { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- faixa verde ---------- */
.band { background: var(--green); color: var(--ink); overflow: hidden; }
.band__track {
  display: flex; width: max-content; padding: 20px 0;
  font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .08em; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.band__track span { padding-right: 48px; }
.band:hover .band__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { padding: clamp(80px, 10vw, 144px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--paper); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 32px; margin-bottom: 56px; }
.sec-head > div { display: flex; flex-direction: column; gap: 18px; }
.sec-head__main { flex: 1 1 640px; min-width: 0; }
.sec-head__text { max-width: 420px; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.sec-head__text--dark { color: var(--text-dark-2); }

/* soluções */
.rows { border-top: 1px solid var(--ink); }
.row {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; overflow: hidden;
}
.row::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0;
}
.row > * { position: relative; z-index: 1; transition: color .3s, transform .45s var(--ease); }
.row__n { flex: 0 0 56px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.row__t { flex: 1 1 380px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.row__d { flex: 1 1 340px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.row__go { flex: 0 0 auto; font-size: 24px; opacity: 0; transform: translateX(-12px); }
@media (hover: hover) {
  .row:hover::before { transform: scaleY(1); }
  .row:hover > * { color: var(--paper); }
  .row:hover .row__n, .row:hover .row__go { color: var(--green); }
  .row:hover .row__t { transform: translateX(12px); }
  .row:hover .row__go { opacity: 1; transform: translateX(-12px); }
}

/* divisórias de pixel (geradas no JS) */
.px { line-height: 0; height: 48px; overflow: hidden; }
.px svg { width: 100%; height: 48px; }
.px rect { fill: var(--ink); }

/* por que */
.eq { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin-bottom: clamp(48px, 6vw, 80px); }
.eq__card {
  flex: 1 1 260px; min-width: 0; padding: 32px; background: var(--surface); border: 1px solid var(--line-dark);
  border-radius: 20px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .5s var(--ease), border-color .3s;
}
.eq__card:hover { transform: translateY(-4px); border-color: #3A3A3A; }
.eq__card h3 { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.eq__card p:last-child { font-size: 16px; line-height: 1.6; color: var(--text-dark-2); }
.eq__k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted-dark); }
.eq__card--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.eq__card--light .eq__k { color: var(--muted); }
.eq__card--light p:last-child { color: var(--text-2); }
.eq__op { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 8px; font-size: 48px; font-weight: 300; color: var(--muted); }
@media (max-width: 860px) { .eq__card { flex-basis: 100%; } .eq__op { flex-basis: 100%; padding: 0; font-size: 36px; line-height: 1; } }
.diffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.diffs li { padding-top: 20px; border-top: 1px solid #3A3A3A; display: flex; gap: 16px; }
.diffs li > span { font-family: var(--mono); font-size: 13px; color: var(--green); }
.diffs h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.diffs p { font-size: 16px; line-height: 1.6; color: var(--text-dark-2); }

/* processo — janela estilo Figma */
.fig { border-radius: 16px; overflow: hidden; background: #1E1E1E; color: var(--paper); box-shadow: 0 24px 60px rgba(14, 14, 14, .18); }
.fig__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; height: 48px; background: #2C2C2C; font-family: var(--mono); font-size: 12px; color: var(--text-dark-2); }
.fig__file { display: flex; align-items: center; gap: 10px; }
.fig__file .sq { width: 10px; height: 10px; }
.fig__people { display: flex; align-items: center; }
.fig__people i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #2C2C2C; margin-left: -8px; }
.fig__people i:first-child { margin-left: 0; }
.fig__people span { margin-left: 8px; }
@media (max-width: 520px) { .fig__people span { display: none; } }
.fig__body { display: flex; flex-wrap: wrap; }
.fig__tabs { flex: 1 1 250px; min-width: 0; padding: 12px; border-right: 1px solid #333; display: flex; flex-direction: column; gap: 4px; }
.fig__label { margin: 8px 8px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-dark); }
.tab {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px;
  border: 0; border-radius: 6px; background: transparent; color: #D6D6CF;
  font: 500 16px/1.2 var(--font); text-align: left; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tab span { font-family: var(--mono); font-size: 12px; color: var(--muted-dark); transition: color .2s; }
.tab:hover { background: #2A2A2A; }
.tab[aria-selected="true"] { background: var(--figma); color: #fff; font-weight: 600; }
.tab[aria-selected="true"] span { color: #fff; }
.fig__panels { flex: 999 1 640px; min-width: 0; }
.panel { display: flex; flex-wrap: wrap; height: 100%; }
.panel[hidden] { display: none; }
.panel.is-entering .art { animation: panelIn .55s var(--ease) both; }
.panel.is-entering .panel__info > * { animation: fadeUp .5s var(--ease) both; }
.panel.is-entering .panel__info > *:nth-child(2) { animation-delay: .05s; }
.panel.is-entering .panel__info > *:nth-child(3) { animation-delay: .1s; }
.panel.is-entering .panel__info > *:nth-child(n+4) { animation-delay: .15s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel__canvas { flex: 999 1 360px; min-width: 0; padding: clamp(12px, 4vw, 48px); background: var(--paper-2); display: flex; align-items: center; justify-content: center; min-height: 460px; }
.art { width: 100%; max-width: 520px; color: var(--ink); }
.art__frame { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.art__board { background: #fff; border-radius: 8px; padding: clamp(16px, 4vw, 28px); min-height: 300px; }
.panel__info { flex: 1 1 280px; min-width: 0; border-left: 1px solid #333; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.panel__info .k { margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-dark); }
.panel__info .k:first-child { margin-top: 0; }
.panel__info h3 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.panel__info p { font-size: 16px; line-height: 1.6; color: #C9C9C3; }
.panel__info .who { font-size: 15px; font-weight: 600; color: var(--paper); }
.panel__info ul { display: flex; flex-direction: column; gap: 8px; }
.panel__info li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #2C2C2C; border-radius: 6px; font-size: 14px; }
.panel__info li::before { content: "✓"; color: var(--green); }

/* visuais das etapas */
.stickies { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.sticky {
  display: flex; flex-direction: column; gap: 10px; background: #E6E6E0; padding: 16px;
  font-size: 15px; font-weight: 600; line-height: 1.3; transform: rotate(var(--r));
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08); transition: transform .3s var(--ease);
}
.sticky:hover { transform: rotate(0) translateY(-3px); }
.sticky i { width: 10px; height: 10px; background: var(--green); }
.panel.is-entering .sticky { animation: stick .5s var(--ease) both; }
.panel.is-entering .sticky:nth-child(2) { animation-delay: .06s; }
.panel.is-entering .sticky:nth-child(3) { animation-delay: .12s; }
.panel.is-entering .sticky:nth-child(4) { animation-delay: .18s; }
.panel.is-entering .sticky:nth-child(5) { animation-delay: .24s; }
.panel.is-entering .sticky:nth-child(6) { animation-delay: .3s; }
@keyframes stick { from { opacity: 0; transform: translateY(16px) rotate(0); } }

.flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flow__s { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid #DDE6F0; border-radius: 8px; }
.flow__s--on { border: 1.5px solid var(--figma); background: #F4F9FF; }
.flow__s--c { align-items: center; padding: 14px 10px; }
.flow__l { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.flow__s--on .flow__l { color: var(--figma); }
.flow__s b { display: block; height: 8px; background: #DDE6F0; border-radius: 4px; }
.flow__s b.f { height: 14px; background: #EEF1F4; }
.flow__s b.pill { height: 18px; width: 60%; background: var(--figma); border-radius: 999px; }
.flow__s b.pill--p { background: #B9A3FF; }
.flow__a { color: var(--figma); font-size: 22px; }
.ok { width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; }
@media (max-width: 600px) {
  .flow { flex-direction: column; align-items: stretch; }
  .flow__a { text-align: center; transform: rotate(90deg); }
}

.ui { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.ui__card { flex: 1 1 220px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ui__user { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.ui__user i { width: 28px; height: 28px; border-radius: 50%; background: #B9A3FF; }
.ui__card strong { font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.ui__bar { display: block; height: 6px; border-radius: 999px; background: #333; overflow: hidden; }
.ui__bar span { display: block; height: 100%; width: 70%; background: var(--green); }
.panel.is-entering .ui__bar span { animation: grow 1s var(--ease) .2s both; }
@keyframes grow { from { width: 0; } }
.ui__btn { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 600; }
.ui__tokens { flex: 0 0 120px; display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.ui__tokens li { display: flex; align-items: center; gap: 6px; }
.ui__tokens i { width: 14px; height: 14px; }

.dev { background: var(--ink); display: flex; flex-direction: column; gap: 16px; }
.dev pre { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--paper); white-space: pre-wrap; }
.dev__chips { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 11px; }
.dev__chips span { padding: 6px 10px; border-radius: 999px; }
.dev__chips .c1 { background: var(--green); color: var(--ink); }
.dev__chips .c2 { background: #1F2A1A; color: var(--green); }
.dev__chips .c3 { background: #1A2333; color: #9ED8FF; }

.chart { display: flex; flex-direction: column; gap: 18px; }
.chart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chart__head strong { font-size: 15px; }
.chart__head span { padding: 5px 10px; border-radius: 999px; background: #E9FFD9; color: #2E7A0C; font-family: var(--mono); font-size: 11px; }
.chart__bars { height: 170px; display: flex; align-items: flex-end; gap: 10px; }
.chart__bars i { flex: 1; height: var(--h); background: #E0E0D9; border-radius: 4px 4px 0 0; transform-origin: bottom; }
.panel.is-entering .chart__bars i { animation: bar .7s var(--ease) both; }
.panel.is-entering .chart__bars i:nth-child(2) { animation-delay: .06s; }
.panel.is-entering .chart__bars i:nth-child(3) { animation-delay: .12s; }
.panel.is-entering .chart__bars i:nth-child(4) { animation-delay: .18s; }
.panel.is-entering .chart__bars i:nth-child(5) { animation-delay: .24s; }
.panel.is-entering .chart__bars i:nth-child(6) { animation-delay: .3s; }
@keyframes bar { from { transform: scaleY(0); } }
.chart__note { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* cases */
#cases .eyebrow { margin-bottom: 18px; }
#cases .h-display { margin-bottom: 56px; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; }
.case { display: flex; flex-direction: column; gap: 18px; }
.case__img {
  aspect-ratio: 16 / 11; background: #DCDCD4; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  overflow: hidden; transition: transform .6s var(--ease);
}
.case__img--dark { background: var(--ink); color: var(--muted-dark); }
.case:hover .case__img { transform: scale(.985); }
.case__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.case__row h3 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.case__row span, .case__tags { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.case__tags { font-size: 11px; letter-spacing: .08em; }

/* faq */
.faq { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); }
.faq__head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.faq__list { flex: 2 1 520px; min-width: 0; border-bottom: 1px solid var(--line-2); }
.faq details { border-top: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; padding: 24px 0; font-size: 20px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 18px; height: 18px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 0 24px; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.faq details[open] p { animation: fadeUp .4s var(--ease); }

/* cta */
.cta .eyebrow { margin-bottom: 36px; }
.cta .h-display { max-width: 1100px; margin-bottom: 36px; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cta__mail { font-family: var(--mono); font-size: 15px; color: var(--paper); text-underline-offset: 6px; }
.cta__mail:hover { color: var(--green); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-dark); overflow: hidden; }
.foot__grid { padding-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px; }
.foot__brand { display: flex; flex-direction: column; gap: 16px; }
.foot__brand .brand__name { font-size: 26px; }
.foot__brand .brand__sub { font-size: 10px; color: var(--muted-dark); }
.foot__brand p { font-size: 15px; line-height: 1.6; color: var(--muted-dark); }
.foot__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #C9C9C3; }
.foot__col .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.foot__col a { text-decoration: none; transition: color .2s; }
.foot__col a:hover { color: var(--green); }
.foot__loc { display: flex; align-items: center; gap: 8px; color: var(--paper); }
.foot__loc .sq { width: 7px; height: 7px; }
.foot__muted { color: var(--muted-dark); line-height: 1.5; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social .arr { transition: transform .3s var(--ease), opacity .3s; }
@media (hover: hover) {
  .social .arr { opacity: 0; transform: translateX(-6px); }
  .social:hover .arr, .social:focus-visible .arr { opacity: 1; transform: translateX(2px); }
}

.foot__mark { padding-top: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; }
.bigsym { width: clamp(140px, 16vw, 200px); height: auto; }
.foot__lab { margin-bottom: 8px; font-family: var(--mono); font-size: clamp(14px, 1.6vw, 22px); letter-spacing: .32em; color: var(--muted-dark); }

.foot__word { padding-top: clamp(24px, 3vw, 40px); }
.foot__word p {
  font-size: clamp(120px, 27vw, 380px); font-weight: 800; letter-spacing: -.07em; line-height: .74;
  color: var(--paper); white-space: nowrap; transform: translateY(.1em);
}
.foot__word .z { position: relative; display: inline-block; }
.foot__word .z i { position: absolute; background: var(--green); animation: float 2.8s ease-in-out infinite; }
.foot__word .z i:nth-child(1) { left: 96%; top: .08em; width: .13em; height: .13em; }
.foot__word .z i:nth-child(2) { left: 114%; top: -.06em; width: .09em; height: .09em; animation-delay: .4s; }
.foot__word .z i:nth-child(3) { left: 128%; top: .12em; width: .06em; height: .06em; animation-delay: .8s; }
.foot__word .z i:nth-child(4) { left: 140%; top: -.02em; width: .04em; height: .04em; animation-delay: 1.2s; }
.foot__word .z i:nth-child(5) { left: 150%; top: .18em; width: .03em; height: .03em; animation-delay: 1.6s; }
@keyframes float { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: .25; transform: translateY(-.12em); } }

.foot__bottom { position: relative; background: var(--ink); border-top: 1px solid var(--line-dark); }
.foot__bottom-in { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted-dark); }
.sq--blink { width: 7px; height: 7px; margin-left: 6px; animation: blink 1.6s steps(1) infinite; }

/* botão flutuante WhatsApp (só mobile) */
.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: none; align-items: center; justify-content: center; background: var(--ink); color: var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none; transform: translateY(24px); transition: transform .4s var(--ease), opacity .3s;
}
.wa.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 860px) { .wa { display: flex; } }

/* ==========================================================================
   Animações de entrada (ativadas pelo JS; sem JS, tudo aparece normal)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

.js .select__box { opacity: 0; transform: scale(.94); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.js .select.is-in .select__box { opacity: 1; transform: none; }
.js .select em { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .select.is-in em { opacity: 1; transform: none; }

.js .toast__sel, .js .toast__dim { opacity: 0; transition: opacity .5s var(--ease) .6s; }
.js .dc.is-in .toast__sel, .js .dc.is-in .toast__dim { opacity: 1; }

.js .px rect { opacity: 0; transition: opacity .18s ease; }
.js .px rect.on { opacity: 1; }

.js .bigsym__clip { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.js .bigsym.is-in .bigsym__clip { transform: none; }
.js .bigsym__px rect { opacity: 0; transform: translate(-6px, -6px); transform-box: fill-box; transition: opacity .4s ease, transform .6s var(--ease); }
.js .bigsym.is-in .bigsym__px rect { opacity: 1; transform: none; }
.js .bigsym.is-in .bigsym__px rect:nth-child(1) { transition-delay: .9s; }
.js .bigsym.is-in .bigsym__px rect:nth-child(2) { transition-delay: 1s; }
.js .bigsym.is-in .bigsym__px rect:nth-child(3) { transition-delay: 1.1s; }
.js .bigsym.is-in .bigsym__px rect:nth-child(4) { transition-delay: 1.2s; }
.js .bigsym.is-in .bigsym__px rect:nth-child(5) { transition-delay: 1.05s; }
.js .bigsym.is-in .bigsym__px rect:nth-child(6) { transition-delay: 1.15s; }
.js .bigsym.is-in .bigsym__px rect:nth-child(7) { transition-delay: 1.25s; }
.js .bigsym.is-in .bigsym__px rect:nth-child(8) { transition-delay: 1.3s; }

/* Movimento reduzido: tudo visível, sem animação */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-split] .w > span, .js .select__box, .js .select em,
  .js .toast__sel, .js .toast__dim, .js .px rect, .js .bigsym__clip, .js .eq *, .js .bigsym__px rect { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   Refinos de scroll: âncoras, processo preso, equação, cursor
   ========================================================================== */
section[id], main [id] { scroll-margin-top: 88px; }

/* processo preso na tela (desktop) */
.pin { position: relative; }
.pin__hint { display: none; }
.fig__bar { position: relative; }
.fig__count { font-family: var(--mono); font-size: 12px; color: var(--text-dark-2); margin-left: auto; margin-right: 16px; }
.fig__count b { color: var(--green); font-weight: 500; }
.fig__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #3A3A3A; }
.fig__progress i { display: block; height: 100%; width: 20%; background: var(--green); transition: width .25s linear; }
.pin.is-pinned { height: var(--pin-h, 360vh); }
.pin.is-pinned .pin__sticky { position: sticky; top: var(--pin-top, 96px); }
.pin.is-pinned .pin__hint {
  display: block; margin-top: 16px; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted);
  transition: opacity .3s;
}
.pin.is-done .pin__hint { opacity: 0; }

/* equação que forma o símbolo (ligada ao scroll via --p) */
.eq { --p: 1; }
.js .eq > .eq__card:nth-child(1) { transform: translateX(calc((1 - var(--p)) * -80px)); opacity: calc(.25 + .75 * var(--p)); }
.js .eq > .eq__card:nth-child(3) { transform: translateX(calc((1 - var(--p)) * 80px)); opacity: calc(.25 + .75 * var(--p)); }
.js .eq > .eq__op { opacity: var(--p); transform: scale(calc(.5 + .5 * var(--p))); }
.js .eq > .eq__card--light { transform: scale(calc(.94 + .06 * var(--p))); }
.js .eq > .eq__card--light h3,
.js .eq > .eq__card--light p { opacity: calc((var(--p) - .6) * 2.5); }
.js .eqsym__brush { transform: translate(calc((1 - var(--p)) * -120px), calc((1 - var(--p)) * 40px)); }
.js .eqsym__stroke { transform: translate(calc((1 - var(--p)) * 120px), calc((1 - var(--p)) * -40px)); }
.js .eqsym__px rect {
  transform: translate(calc((1 - var(--p)) * var(--dx) * 1px), calc((1 - var(--p)) * var(--dy) * 1px));
  opacity: calc(var(--p) * 1.4 - .2);
}
.eq__card:hover { transform: none; }

/* cursor de pixel (só mouse) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px;
    background: var(--green); pointer-events: none; mix-blend-mode: normal;
    transform: translate3d(-100px, -100px, 0); transition: width .25s var(--ease), height .25s var(--ease), border-radius .25s var(--ease), opacity .2s;
  }
  .cursor span { font-size: 18px; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .2s; }
  .cursor.is-link { width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 1.5px solid var(--green); }
  .cursor.is-over-btn { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cursor { display: none !important; } }

/* botão "Tirar do papel": o pixel verde cresce e pinta o botão */
.btn--paper { position: relative; overflow: hidden; isolation: isolate; gap: 10px; }
.btn__px {
  position: relative; flex: none; width: 8px; height: 8px; background: var(--green);
  transition: transform .5s var(--ease);
}
.btn__label { position: relative; z-index: 1; transition: color .3s; }
.btn--paper::before {
  content: ""; position: absolute; z-index: 0; left: 20px; top: 50%; width: 8px; height: 8px;
  margin-top: -4px; background: var(--green); transform: scale(0); transform-origin: center;
  transition: transform .55s var(--ease);
}
@media (hover: hover) {
  .btn--paper:hover { background: var(--ink); }
  .btn--paper:hover::before { transform: scale(40); }
  .btn--paper:hover .btn__label { color: var(--ink); }
  .btn--paper:hover .btn__px { transform: rotate(45deg); background: var(--ink); }
}
.btn--paper:focus-visible::before { transform: scale(40); }
.btn--paper:focus-visible .btn__label { color: var(--ink); }

/* ==========================================================================
   Menu mobile: ícone que vira X + tela montada em pixels
   ========================================================================== */
.burger { display: none; }
.mmenu { display: none; }
@media (max-width: 860px) {
  .nav__cta { display: none; }
  .burger {
    position: relative; display: block; width: 48px; height: 48px; margin-right: -8px;
    border: 0; background: transparent; cursor: pointer; color: var(--ink);
  }
  .burger__l {
    position: absolute; left: 12px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .5s var(--ease), width .4s var(--ease), top .4s var(--ease), background-color .3s;
  }
  .burger__l:nth-child(1) { top: 18px; width: 24px; }
  .burger__l:nth-child(2) { top: 27px; width: 14px; }
  .burger__px {
    position: absolute; left: 30px; top: 25px; width: 6px; height: 6px; background: var(--green-dark);
    transition: transform .4s var(--ease), opacity .3s;
  }
  .burger:hover .burger__l:nth-child(2) { width: 18px; }
  .menu-open .burger { color: var(--paper); }
  .menu-open .burger__l:nth-child(1) { top: 23px; width: 24px; transform: rotate(45deg); }
  .menu-open .burger__l:nth-child(2) { top: 23px; width: 24px; transform: rotate(-45deg); }
  .menu-open .burger__px { transform: translate(6px, 10px) scale(0); opacity: 0; }

  /* header escuro com o menu aberto */
  .menu-open .nav { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 80; }
  .menu-open .brand { color: var(--paper); --sym-accent: var(--green); }
  .menu-open .brand__sub { color: var(--muted-dark); }
  .menu-open .wa { opacity: 0; pointer-events: none; }
  body.menu-open { overflow: hidden; }

  .mmenu { display: block; position: fixed; inset: 0; z-index: 70; color: var(--paper); }
  .mmenu[hidden] { display: none; }
  .mmenu__px { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr; overflow: hidden; }
  .mmenu__px i { background: var(--ink); transform: scale(0); transition: transform .32s var(--ease); transition-delay: var(--d, 0s); margin: -1px; }
  .mmenu.is-open .mmenu__px i { transform: scale(1.02); }
  .mmenu__in {
    position: relative; height: 100%; display: flex; flex-direction: column; gap: 32px;
    padding: calc(76px + 40px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
  }
  .mmenu__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
  .mmenu__link {
    display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark);
    font-size: clamp(40px, 12vw, 56px); font-weight: 700; letter-spacing: -.045em; line-height: 1; text-decoration: none;
    opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
  }
  .mmenu__link span { font-family: var(--mono); font-size: 13px; letter-spacing: 0; font-weight: 400; color: var(--green); }
  .mmenu__link:active { color: var(--green); }
  .mmenu__cta, .mmenu__foot { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .mmenu__cta { width: 100%; }
  .mmenu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted-dark); }
  .mmenu__foot a { color: #C9C9C3; text-decoration: none; }
  .mmenu__foot .sq { width: 7px; height: 7px; margin-left: 4px; }
  .mmenu.is-open .mmenu__link, .mmenu.is-open .mmenu__cta, .mmenu.is-open .mmenu__foot { opacity: 1; transform: none; }
  .mmenu.is-open .mmenu__link:nth-child(1) { transition-delay: .32s; }
  .mmenu.is-open .mmenu__link:nth-child(2) { transition-delay: .38s; }
  .mmenu.is-open .mmenu__link:nth-child(3) { transition-delay: .44s; }
  .mmenu.is-open .mmenu__cta { transition-delay: .52s; }
  .mmenu.is-open .mmenu__foot { transition-delay: .6s; }
  .mmenu.is-closing .mmenu__link, .mmenu.is-closing .mmenu__cta, .mmenu.is-closing .mmenu__foot { transition-delay: 0s; transition-duration: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  .mmenu__px i { transform: scale(1.02) !important; }
  .mmenu__link, .mmenu__cta, .mmenu__foot { opacity: 1 !important; transform: none !important; }
}
