/* Estúdio Linha Clara — site fictício de demonstração da NeuralWeb.
   CSS puro, sem build. Celular primeiro; linguagem de prancha: traço fino, cotas, eixos e carimbo. */

:root {
  --paper: #f7f7f5;
  --white: #fff;
  --gray: #ededed;           /* cor do ramo */
  --ink: #121212;
  --ink-2: #2a2a29;
  --muted: #5c5c58;
  --line: #deded9;
  --line-2: #c6c6c0;
  --field: #86867f;
  --err: #b42318;
  --bar-h: 44px;
  --hdr-h: 64px;
  --top: calc(var(--bar-h) + var(--hdr-h));
  --pad: clamp(18px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sans: "Jost", "Futura", "Century Gothic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (min-width: 1024px) { :root { --hdr-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px);
  background: var(--paper);
}
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
.label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 400; line-height: 1.45;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px;
  background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; transition: top .2s;
}
.skip:focus { top: calc(var(--bar-h) + 8px); }

/* ---------- Faixa da NeuralWeb (demonstração) ---------- */
.nw-bar {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--bar-h);
  display: flex; align-items: center; gap: 2px;
  padding-inline: max(4px, env(safe-area-inset-left)) max(4px, env(safe-area-inset-right));
  background: #0a0d13; color: #d3dbe6;
  font: 500 12.5px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: 0;
}
.nw-bar a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 8px;
  border-radius: 8px; text-decoration: none; white-space: nowrap; transition: background-color .2s;
}
.nw-bar a:hover { background: rgba(255, 255, 255, .07); }
.nw-bar :focus-visible { outline: 2px solid #7ec4ff; outline-offset: -2px; }
.nw-bar__back { color: #e8eef6; }
.nw-bar__txt {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #d3dbe6; white-space: nowrap; overflow: hidden;
}
.nw-bar__txt > span { overflow: hidden; text-overflow: ellipsis; }
.nw-bar__mark { display: none; width: 14px; height: 14px; flex: none; color: #7ec4ff; }
.nw-bar__cta { color: #7ec4ff; font-weight: 700; }
.nw-bar .lg { display: none; }
@media (min-width: 420px) { .nw-bar__mark { display: block; } }
@media (min-width: 760px) {
  .nw-bar { gap: 8px; padding-inline: 16px; font-size: 13px; }
  .nw-bar .lg { display: inline; }
  .nw-bar .sm { display: none; }
}

/* ---------- Cabeçalho ---------- */
.hdr {
  position: fixed; left: 0; right: 0; top: var(--bar-h); z-index: 80; height: var(--hdr-h);
  background: rgba(247, 247, 245, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.hdr.is-scrolled, .hdr.is-menu { border-bottom-color: var(--line); }
.hdr.is-menu { background: var(--paper); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; color: var(--ink); text-decoration: none; }
.logo__mark { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: miter; }
.logo__txt { font-size: 12.5px; font-weight: 500; line-height: 1; letter-spacing: .21em; text-transform: uppercase; white-space: nowrap; }

.nav { display: none; }
.burger {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; padding: 0; flex: none;
  border: 0; background: none; color: var(--ink); cursor: pointer;
}
.js .burger { display: block; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 25.5px; }
.burger[aria-expanded="true"] i:first-child { top: 21.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21.25px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .logo__mark { width: 30px; height: 30px; }
  .logo__txt { font-size: 13px; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    font-size: 15px; letter-spacing: .02em; color: var(--ink-2); text-decoration: none; transition: color .3s;
  }
  .nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
  }
  .nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
  .nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
  .nav .nav__cta { margin-left: 12px; padding: 0 22px; border: 1px solid var(--ink); color: var(--ink); transition: background-color .3s, color .3s; }
  .nav .nav__cta::after { display: none; }
  .nav .nav__cta:hover, .nav .nav__cta[aria-current="true"] { background: var(--ink); color: var(--paper); }
  .js .burger { display: none; }
}

/* Menu do celular */
.menu {
  position: fixed; inset: var(--top) 0 0 0; z-index: 79;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 8px var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0 12px;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-size: clamp(1.85rem, 8.2vw, 2.5rem); font-weight: 300; line-height: 1.12; letter-spacing: -.01em;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.menu nav a small { font: 400 11px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (min-width: 1024px) { .menu, .menu[hidden] { display: none; } }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 0;
  font: 500 15px/1.2 var(--sans); letter-spacing: .03em; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn .i { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn .i--fill { width: 20px; height: 20px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #3a3a37; }
.btn--line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn:hover .i--go { transform: translateX(4px); }
  .map__go:hover .i { transform: translate(2px, -2px); }
}

.tlink {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 15.5px; font-weight: 500; letter-spacing: .01em; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: var(--line-2);
  transition: text-decoration-color .3s, color .3s;
}
.tlink .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.tlink:hover { text-decoration-color: var(--ink); }
.tlink:hover .i { transform: translateX(4px); }

/* ---------- Tipografia das seções ---------- */
.sec { position: relative; padding-block: clamp(88px, 11vw, 160px); }
.sec--gray { background: var(--gray); }
.sec__head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 80px); }
.h2 { font-size: clamp(2.15rem, 1.3rem + 3.5vw, 3.9rem); font-weight: 300; line-height: 1.05; letter-spacing: -.022em; color: var(--ink); text-wrap: balance; }
.lead { max-width: 56ch; margin-top: 20px; font-size: clamp(1.03rem, .96rem + .35vw, 1.18rem); line-height: 1.65; color: var(--muted); }

/* Eixo de prancha: número no círculo + linha que atravessa a largura */
.axis {
  display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px);
  font: 400 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.axis__n, .bubble {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%;
  font: 400 11px/1 var(--mono); letter-spacing: .02em; color: var(--ink);
}
.axis::after { content: ""; flex: 1; height: 1px; background: var(--line-2); transform-origin: left; }
.js .axis[data-reveal]::after { transform: scaleX(0); transition: transform 1.5s var(--ease-out) .25s; }
.js .axis[data-reveal].is-in::after { transform: none; }

/* Imagem com proporção fixa */
.pic { position: relative; overflow: hidden; aspect-ratio: var(--ar, 4 / 3); }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Abertura ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--top) + 30px) 0 clamp(64px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(18, 18, 18, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 18, 18, .05) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
}
.hero__in { display: grid; gap: 38px; }
.hero__eye { margin-bottom: 20px; font: 400 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 480px) { .hero__eye { font-size: 11.5px; letter-spacing: .15em; } }
.hero__title { max-width: 12ch; font-size: clamp(2.7rem, 1.2rem + 4.6vw, 5.5rem); font-weight: 300; line-height: 1.02; letter-spacing: -.028em; color: var(--ink); text-wrap: balance; }
.hero__lead { max-width: 32ch; margin-top: 22px; font-size: clamp(1.07rem, .98rem + .45vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__ctas .btn { flex: 1 1 auto; padding-inline: 20px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 28px; font: 400 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero__tags li::before { content: "— "; color: var(--ink); }
@media (max-width: 639px) { .hero__tags { display: none; } } /* no celular, o vídeo sobe (as áreas já estão no texto) */

.hero__fig { position: relative; min-width: 0; }
.cota { position: relative; display: flex; align-items: center; justify-content: center; height: 22px; margin: 0 0 16px; color: var(--ink); }
.cota::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.cota i { position: absolute; top: 0; width: 1px; height: 22px; background: currentColor; }
.cota i:first-child { left: 0; }
.cota i:last-child { right: 0; }
.cota i::after { content: ""; position: absolute; left: -5px; top: 10.5px; width: 11px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.cota span { position: relative; padding: 0 12px; background: var(--paper); font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.frame-box { position: relative; }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #0e0e0e; }
.frame picture { display: contents; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__video { opacity: 0; transition: opacity .6s linear; }
.hero__video.is-live { opacity: 1; }
.hero__video.is-live.is-fading { opacity: 0; }
/* marcas de corte nos cantos da imagem */
.marks {
  position: absolute; inset: -9px; pointer-events: none; --c: var(--ink); --l: 16px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--l) 1px, linear-gradient(var(--c) 0 0) top left / 1px var(--l),
    linear-gradient(var(--c) 0 0) top right / var(--l) 1px, linear-gradient(var(--c) 0 0) top right / 1px var(--l),
    linear-gradient(var(--c) 0 0) bottom left / var(--l) 1px, linear-gradient(var(--c) 0 0) bottom left / 1px var(--l),
    linear-gradient(var(--c) 0 0) bottom right / var(--l) 1px, linear-gradient(var(--c) 0 0) bottom right / 1px var(--l);
  background-repeat: no-repeat;
}
.hero__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font: 400 11px/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.js .hero__txt > * { animation: rise 1s var(--ease-out) both; }
.js .hero__txt > :nth-child(2) { animation-delay: .07s; }
.js .hero__txt > :nth-child(3) { animation-delay: .14s; }
.js .hero__txt > :nth-child(4) { animation-delay: .21s; }
.js .hero__txt > :nth-child(5) { animation-delay: .28s; }
.js .hero__fig { animation: rise 1.2s var(--ease-out) .18s both; }
.js .hero .cota::before { animation: drawX 1.3s var(--ease-out) .55s both; }
.js .hero .cota i, .js .hero .cota span, .js .hero .marks { animation: fade 1s var(--ease) .95s both; }
@keyframes rise { from { opacity: .01; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 640px) { .hero__ctas .btn { flex: 0 0 auto; padding-inline: 28px; } }
@media (min-width: 700.02px) { /* complemento exato de (max-width: 700px), usado no JS do vídeo */
  .frame { aspect-ratio: 16 / 10; }
  .hero__poster, .hero__video { object-position: 50% 50%; }
}
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--top) + clamp(40px, 5vh, 72px)); }
  .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: end; }
  .hero__txt { padding-bottom: 40px; }
  .hero__lead { margin-top: 26px; }
  .hero__ctas { margin-top: 36px; }
  .hero__tags { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); }
  .frame { aspect-ratio: 4 / 3; }
  .hero__poster, .hero__video { object-position: 58% 50%; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .frame { aspect-ratio: 3 / 2; }
}

/* ---------- 01. Projetos ---------- */
.projects { display: grid; gap: clamp(76px, 10vw, 148px); }
.proj { display: grid; gap: 26px; align-items: center; }
.proj__pic { --ar: 4 / 3; }
.proj--b .proj__pic { --ar: 4 / 5; }
.proj--c .proj__pic { --ar: 1 / 1; }
.proj--d .proj__pic { --ar: 16 / 10; }
.proj__pic img { transition: transform 1.6s var(--ease-out); }
@media (hover: hover) { .js .proj:hover .proj__pic.is-in img, html:not(.js) .proj:hover .proj__pic img { transform: scale(1.035); } }
.seal {
  position: absolute; left: 12px; top: 12px; z-index: 1; padding: 7px 10px 6px;
  border: 1px solid var(--ink); background: rgba(247, 247, 245, .95); color: var(--ink);
  font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
}
.proj__meta { display: flex; align-items: center; gap: 14px; font: 400 11.5px/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.proj__meta span + span::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 14px 3px 0; background: var(--line-2); vertical-align: middle; }
.proj__n { color: var(--ink); }
.proj h3 { margin-top: 14px; font-size: clamp(1.85rem, 1.3rem + 1.7vw, 2.6rem); font-weight: 300; line-height: 1.08; letter-spacing: -.018em; color: var(--ink); }
.proj__desc { max-width: 46ch; margin-top: 14px; color: var(--muted); }
.ficha { margin-top: 24px; border-top: 1px solid var(--ink); }
.ficha div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 11px 0 10px; border-bottom: 1px solid var(--line-2); }
.ficha dt { padding-top: 3px; font: 400 10.5px/1.6 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ficha dd { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.proj__txt .tlink { margin-top: 14px; }

@media (min-width: 640px) {
  .proj { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .proj--b .proj__pic, .proj--d .proj__pic { order: 2; }
  .proj--d .proj__pic { --ar: 5 / 2; align-self: center; }
}
@media (min-width: 1024px) {
  .proj { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .proj--a .proj__pic { grid-column: 1 / span 7; }
  .proj--a .proj__txt { grid-column: 9 / span 4; }
  .proj--b .proj__pic { grid-column: 7 / span 5; order: 0; grid-row: 1; }
  .proj--b .proj__txt { grid-column: 1 / span 4; grid-row: 1; }
  .proj--c .proj__pic { grid-column: 2 / span 5; }
  .proj--c .proj__txt { grid-column: 8 / span 4; }
  .proj--d { align-items: center; }
  .proj--d .proj__pic { grid-column: 6 / span 7; order: 0; grid-row: 1; }
  .proj--d .proj__txt { grid-column: 1 / span 4; grid-row: 1; }
}

/* ---------- 02. Serviços ---------- */
.svc { display: grid; border-top: 1px solid var(--ink); }
.svc__item { display: flex; flex-direction: column; gap: 14px; padding: 30px 0 22px; border-bottom: 1px solid var(--line-2); }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bubble { width: 30px; height: 30px; }
.svc__ico { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.15; stroke-linecap: square; stroke-linejoin: miter; }
.svc__item h3 { font-size: clamp(1.6rem, 1.35rem + .8vw, 1.9rem); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.svc__item > p { color: var(--muted); }
.svc__list { margin-top: 4px; border-top: 1px solid var(--line-2); }
.svc__list li { display: flex; gap: 10px; padding: 9px 0 8px; border-bottom: 1px dashed var(--line-2); font: 400 12.5px/1.5 var(--mono); letter-spacing: .01em; color: var(--ink-2); }
.svc__list li::before { content: "+"; color: var(--muted); }
.svc__item .tlink { margin-top: auto; padding-top: 6px; align-self: flex-start; }
@media (min-width: 700px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc__item { padding: 36px 32px 28px 0; }
  .svc__item:nth-child(even) { padding: 36px 0 28px 32px; border-left: 1px solid var(--line-2); }
}
@media (min-width: 1180px) {
  .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc__item, .svc__item:nth-child(even) { padding: 40px 26px 30px; border-left: 1px solid var(--line-2); border-bottom: 0; }
  .svc__item:first-child { padding-left: 0; border-left: 0; }
  .svc__item:last-child { padding-right: 0; }
}

/* ---------- 03. Processo ---------- */
.proc { display: grid; gap: 52px; }
.proc__pic { display: none; }
.proc__pic .pic { --ar: 1 / 1; }
.proc__pic .label { margin-top: 12px; }
.steps { position: relative; }
.step { position: relative; padding: 0 0 44px 60px; }
/* linha de cota entre os eixos: cada etapa liga o seu círculo ao da próxima */
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 16px; bottom: -16px; width: 1px; }
.step::before { background: var(--line-2); }
.step::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--f, 1)); }
.js .step::after { transform: scaleY(var(--f, 0)); }
.step:last-child { padding-bottom: 0; }
.step__n {
  position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 33px; height: 33px;
  border: 1px solid var(--ink); border-radius: 50%; background: var(--paper);
  font: 400 11px/1 var(--mono); color: var(--ink); transition: background-color .5s var(--ease), color .5s var(--ease);
}
.js .step.is-on .step__n { background: var(--ink); color: var(--paper); }
.step h3 { padding-top: 2px; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.step p { margin-top: 8px; color: var(--muted); }
.step .step__out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; font: 400 12.5px/1.5 var(--mono); color: var(--ink-2); }
.step__out span { padding: 3px 7px 2px; border: 1px solid var(--line-2); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1024px) {
  .proc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
  .proc__head { position: sticky; top: calc(var(--top) + 40px); }
  .proc__pic { display: block; max-width: 400px; margin-top: 44px; }
  .step { padding-bottom: 56px; padding-left: 72px; }
}

/* ---------- Manifesto com desenho de fachada ---------- */
.manif { position: relative; padding-block: clamp(84px, 10vw, 148px); background: var(--gray); overflow: hidden; }
.manif__q { max-width: 25ch; margin-inline: auto; text-align: center; font-size: clamp(1.7rem, 1.05rem + 2.75vw, 3.2rem); font-weight: 300; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.draw { max-width: 980px; margin: clamp(44px, 6vw, 72px) auto 0; }
.draw__box { overflow: hidden; }
.draw svg { width: max(100%, 600px); max-width: none; height: auto; margin-left: 50%; transform: translateX(-50%); }
.dl path { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.dl--thin path { stroke-width: 1; }
.draw__txt text { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; fill: var(--muted); }
.draw .label { margin-top: 16px; text-align: center; }
.dl--lvl, .draw__txt .lvl { display: none; } /* marcas de nível só aparecem quando o desenho cabe inteiro */
@media (min-width: 700px) { .dl--lvl, .draw__txt .lvl { display: inline; } }
.js .draw .dl path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) var(--d, 0s); }
.js .draw.is-in .dl path { stroke-dashoffset: 0; }
.js .draw .draw__txt { opacity: 0; transition: opacity 1s var(--ease) 2.2s; }
.js .draw.is-in .draw__txt { opacity: 1; }
@media (min-width: 700px) {
  .draw svg { width: 100%; margin-left: 0; transform: none; }
  .dl path { stroke-width: 1; }
  .dl--thin path { stroke-width: .8; }
}
@media (min-width: 1024px) { .dl path { stroke-width: .85; } .dl--thin path { stroke-width: .7; } }

/* ---------- 04. Estúdio ---------- */
.studio { display: grid; gap: 44px; }
.studio__pic .pic { --ar: 4 / 3; }
.studio__pic .label { margin-top: 12px; }
.studio__txt .lead { margin-top: 22px; }
.studio__p { max-width: 56ch; margin-top: 16px; color: var(--muted); }
.princ { margin-top: 36px; border-top: 1px solid var(--ink); }
.princ li { padding: 18px 0 17px; border-bottom: 1px solid var(--line-2); }
.princ h3 { font-size: 1.2rem; font-weight: 400; line-height: 1.3; color: var(--ink); }
.princ p { margin-top: 4px; color: var(--muted); font-size: 16px; }
.team { margin-top: clamp(64px, 8vw, 112px); }
.team__h { margin-bottom: 18px; font: 400 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.team__list { display: grid; border-top: 1px solid var(--ink); }
.team__list li { padding: 18px 0 18px; border-bottom: 1px solid var(--line-2); }
.team__list .label { color: var(--ink); }
.team__list p + p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.reg {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px 14px; margin-top: 28px; padding: 18px 18px 17px;
  border: 1px solid var(--ink); background: var(--white);
}
.reg .i { width: 26px; height: 26px; stroke-width: 1.3; color: var(--ink); }
.reg .label { display: block; }
.reg__line { display: block; margin-top: 2px; font-size: 1.15rem; font-weight: 500; letter-spacing: .01em; color: var(--ink); }
.reg__note { grid-column: 2; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (min-width: 700px) {
  .team__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team__list li { padding: 20px 24px 22px 0; }
  .team__list li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
  .reg { grid-template-columns: 26px auto minmax(0, 1fr); align-items: center; column-gap: 18px; padding: 20px 24px; }
  .reg__note { grid-column: 3; padding-left: 24px; border-left: 1px solid var(--line-2); }
}
@media (min-width: 1024px) {
  .studio { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
  .studio__pic { position: sticky; top: calc(var(--top) + 40px); }
}

/* ---------- 05. Dúvidas ---------- */
.faq-grid { display: grid; gap: 40px; }
.faq-help { margin-top: 28px; }
.faq { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 66px; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 1.14rem; font-weight: 400; line-height: 1.4; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%;
  background:
    linear-gradient(var(--ink) 0 0) center / 12px 1px no-repeat,
    linear-gradient(var(--ink) 0 0) center / 1px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover::after { background-color: var(--white); }
.qa__a { padding: 0 52px 24px 0; color: var(--muted); }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
  .faq-head { position: sticky; top: calc(var(--top) + 40px); }
}

/* ---------- 06. Contato ---------- */
.contact { display: grid; gap: 56px; }
.brief { display: grid; gap: 22px; padding: 26px 20px 24px; border: 1px solid var(--ink); background: var(--white); }
.field { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font: 400 11.5px/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field > legend { margin-bottom: 9px; }
.field small { font: 400 12.5px/1 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--muted); }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid var(--field); border-radius: 0;
  background-color: var(--white); color: var(--ink); font-size: 16px; line-height: 1.35;
  -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75756f; opacity: 1; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' fill='none' stroke='%23121212' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input:not([type="radio"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 18, 18, .14); }
.field.is-invalid input:not([type="radio"]), .field.is-invalid .chip span { border-color: var(--err); }
.field__err { font-size: 14.5px; font-weight: 500; color: var(--err); }
.field__err:empty { display: none; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { position: relative; display: block; font: 400 15px/1.25 var(--sans); letter-spacing: .01em; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: grid; place-items: center; min-height: 48px; padding: 0 8px; border: 1px solid var(--field);
  font-size: 15px; color: var(--ink); text-align: center; pointer-events: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field-row { display: grid; gap: 22px; }
.brief .btn { margin-top: 4px; }
.brief__status { font-size: 15px; font-weight: 500; color: var(--ink); }
.brief__status:empty { display: none; }
.brief__status a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-underline-offset: 4px; }
.brief__note { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.brief__note .i { width: 18px; height: 18px; margin-top: 2px; stroke-width: 1.4; color: var(--ink); }

.info { border-top: 1px solid var(--ink); }
.info li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 16px 0 15px; border-bottom: 1px solid var(--line-2); }
.info .i { width: 22px; height: 22px; margin-top: 2px; stroke-width: 1.3; color: var(--ink); }
.info .i--fill { width: 21px; height: 21px; }
.info .label { margin-bottom: 4px; }
.info a {
  display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; font-size: 1.1rem; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line-2);
}
.info a:hover { text-decoration-color: var(--ink); }
.info address, .info li p:not(.label) { color: var(--ink-2); }

.map { position: relative; margin-top: 28px; border: 1px solid var(--ink); background: #efefec; overflow: hidden; }
.map__svg { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.map .label { position: absolute; left: 10px; top: 10px; padding: 5px 8px 4px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 10px; }
.map__txt text { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; }
.map__name { font-family: var(--sans); font-size: 15.5px; font-weight: 500; letter-spacing: .01em; }
.map__addr { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.map__n { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.map__scale text { font-family: var(--mono); font-size: 9.5px; }
.map__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.map__go { margin-top: 16px; }
@media (min-width: 560px) {
  .brief { padding: 34px 32px 30px; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 700px) {
  .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .map__svg { aspect-ratio: 520 / 420; }
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(56px, 6vw, 104px); align-items: start; }
  .contact__side { padding-top: 8px; }
}

/* ---------- Rodapé: carimbo da prancha ---------- */
.ftr { padding: clamp(56px, 7vw, 88px) 0 calc(96px + env(safe-area-inset-bottom)); background: var(--gray); color: var(--ink-2); font-size: 15.5px; }
.carimbo { display: grid; border: 1px solid var(--ink); background: var(--paper); }
.cell { min-width: 0; padding: 18px 18px 20px; border-bottom: 1px solid var(--ink); }
.cell:last-child { border-bottom: 0; }
.cell .label { margin-bottom: 10px; font-size: 10.5px; }
.cell--brand p { max-width: 42ch; margin-top: 14px; color: var(--muted); }
.ftr__reg { font-size: 1.06rem; font-weight: 500; line-height: 1.45; color: var(--ink); }
.ftr__muted { margin-top: 6px; color: var(--muted); }
.ftr__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.ftr__nav a, .ftr__wa { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.ftr__nav a:hover, .ftr__wa:hover { text-decoration: underline; text-underline-offset: 5px; }
.ftr__wa { font-weight: 500; }
.ftr__sheet { font: 400 13px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink); }
.ftr__legal { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.ftr__demo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 18px;
  margin-top: 14px; padding: 6px 0; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted);
}
.ftr__demo p { padding-block: 10px; }
.ftr__demo p a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.ftr__back { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.ftr__back:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 700px) {
  .carimbo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell { border-bottom: 1px solid var(--ink); }
  .cell:nth-child(odd) { border-right: 1px solid var(--ink); }
  .cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .ftr { padding-bottom: 44px; }
  .carimbo { grid-template-columns: 1.45fr 1.2fr 1fr 1fr; }
  .cell, .cell:nth-child(odd) { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .cell--brand { grid-row: span 2; border-bottom: 0; }
  .cell:nth-child(4) { border-right: 0; }
  .cell:nth-child(5), .cell:nth-child(6) { border-bottom: 0; }
  .cell:nth-child(6) { grid-column: span 2; border-right: 0; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
  transition: transform .5s var(--ease-out), opacity .35s, visibility .35s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .wa-float:hover { transform: translateY(-3px); } }
.wa-float.is-away { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); }

/* ---------- Revelação ao rolar (só com JavaScript) ---------- */
.js [data-reveal]:not(.pic) { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.js [data-reveal]:not(.pic).is-in { opacity: 1; transform: none; }
/* imagens: cortina de cima para baixo. O recorte fica na <img>, nunca no elemento observado
   (o IntersectionObserver ignora um alvo totalmente recortado). */
.js .pic[data-reveal] img, .js [data-reveal] > .pic img {
  clip-path: inset(0 0 100% 0); transform: scale(1.08);
  transition: clip-path 1.4s var(--ease-out) var(--d, 0s), transform 2s var(--ease-out) var(--d, 0s);
}
.js .pic[data-reveal].is-in img, .js .is-in > .pic img { clip-path: inset(0 0 0 0); transform: none; }
.js .pic[data-reveal] .seal { opacity: 0; transition: opacity .6s var(--ease) .9s; }
.js .pic[data-reveal].is-in .seal { opacity: 1; }

/* ---------- Movimento reduzido: sem animações de entrada (o vídeo continua) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal]:not(.pic) { opacity: 1; transform: none; }
  .js .pic[data-reveal] img, .js [data-reveal] > .pic img { clip-path: none; transform: none; }
  .js .pic[data-reveal] .seal { opacity: 1; }
  .js .axis[data-reveal]::after { transform: none; }
  .js .draw .dl path { stroke-dashoffset: 0; }
  .js .draw .draw__txt { opacity: 1; }
  .map__pulse { display: none; }
}
