/* BK Cenografia — opção 2: revista de obra, versão minimalista em preto e cinza (logo novo, nov/2026) */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* paleta do logo novo (nov/2026): quase-preto e cinza quente; sem cor de destaque */
  --bg: #101402;          /* preto do logo: a página inteira, galeria, menu e rodapé */
  --ink: #d8d4c9;         /* cinza do logo (PANTONE Warm Gray 1): texto, títulos, botões (12,6:1 sobre o preto) */
  --ink-soft: #c9c5b9;    /* hover dos botões cinza */
  --raised: #1d2112;      /* painéis quietos sobre o preto */
  --muted: #8a8679;       /* segunda voz e texto secundário (5,1:1 sobre o preto) */
  --line: #3f4334;        /* filetes sobre o preto */
  --err: #e8735f;         /* erro de formulário (6,3:1 sobre o preto) */

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-ui: "Clash Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(17px, 3.57vw, 51px);
  --fold-y: clamp(82px, 7.65vw, 119px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--muted) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-weight: 400; font-size: 1rem; line-height: 1.5; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.menu :focus-visible, .foot :focus-visible, .rail :focus-visible, .dot:focus-visible { outline-color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 76px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 17px; }

/* ---------- tipo ---------- */
.display { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: .005em; color: var(--ink); }
.display--lg { font-size: clamp(46px, 6.29vw, 112px); }
.display--md { font-size: clamp(36px, 4.42vw, 76px); }
.display--sm { font-size: clamp(27px, 2.89vw, 49px); }
.display span { display: inline; }
.echo-inline { color: var(--muted); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.body { font-size: clamp(16px, 1.15vw, 17px); line-height: 1.5; max-width: 52ch; }
.body, .steps p, .svc__who, .pending, .work__proj { text-wrap: pretty; }
.opt { font-weight: 400; color: var(--muted); }
.cap { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-top: 10px; color: var(--muted); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color .25s var(--ease), text-decoration-color .25s; }
.link { text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- controles ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border: 0; border-radius: 0; padding: 13px 20px; font-family: var(--f-ui); font-weight: 600; font-size: 14px; letter-spacing: .01em; text-decoration: none; transition: background-color .25s var(--ease), transform .35s var(--ease); }
.btn:hover { background: var(--ink-soft); }
.btn:active { transform: scale(.97); }
.btn--lg { padding: 15px 24px; font-size: 14px; }
.btn[disabled] { background: var(--line); color: var(--ink); cursor: progress; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li, .tags--check span { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 9999px; padding: 7px 14px; font-size: 14px; font-weight: 500; }

/* ---------- pontos dos cantos ---------- */
.dot { position: fixed; z-index: 120; top: 17px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bg); box-shadow: 0 0 0 1px rgba(216, 212, 201, .45); display: grid; place-items: center; padding: 0; transition: transform .35s var(--ease); }
.dot:hover { transform: scale(1.06); }
.dot--menu { left: 17px; }
.dot--menu svg { width: 19px; height: 19px; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; fill: none; }
.dot--menu path { transition: transform .35s var(--ease), opacity .2s; transform-origin: 12px 12px; }
.dot--menu[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.dot--menu[aria-expanded="true"] .l2 { opacity: 0; }
.dot--menu[aria-expanded="true"] .l3 { transform: translateY(-4px) rotate(-45deg); }
.dot--brand { right: 17px; }
.dot--brand img { width: 26px; height: auto; }

.float-cta { position: fixed; z-index: 110; right: 17px; bottom: 17px; background: var(--ink); color: var(--bg); border-radius: 9999px; padding: 12px 19px; font-weight: 600; font-size: 14px; text-decoration: none; translate: 0 140%; transition: translate .5s var(--ease), background-color .25s; }
.float-cta.is-on { translate: 0 0; }
.float-cta.is-on.is-over { translate: 0 140%; }
.float-cta:hover { background: var(--ink-soft); }

.menu { position: fixed; inset: 0; z-index: 100; background: var(--bg); padding: 94px var(--gutter) 34px; overflow-y: auto; gap: 34px; display: flex; flex-direction: column; justify-content: space-between; }
.menu a { text-decoration: none; }
.menu ul { display: grid; gap: .14em; font-size: min(9.35vw, 10vh); line-height: 1; }
.menu ul a { display: inline-block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: 1; font-size: 1em; color: var(--ink); transition: color .25s var(--ease); }
.menu ul a:hover { color: var(--muted); }
.menu__foot a { color: var(--ink); font-weight: 500; }

/* ---------- dobras ---------- */
.fold { position: relative; min-height: 100svh; padding: var(--fold-y) var(--gutter); }

/* 01 abertura */
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 61px); align-items: end; padding-top: 85px; padding-bottom: clamp(34px, 4.25vw, 61px); }
.hero__text { display: grid; gap: 24px; align-content: end; }
.hero__lockup { display: grid; gap: 12px; margin-bottom: clamp(20px, 4vh, 48px); }
.hero__logo { width: clamp(119px, 11.05vw, 178px); }
.hero__lockup .label { line-height: 1.35; }
/* entrelinha 1.2: em caixa alta, o acento (Ê, Á) sobe acima da letra e encostava na linha de cima com .86 */
.hero__title { font-size: clamp(40px, 4.9vw, 88px); line-height: 1.2; text-wrap: balance; max-width: 12em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 27px; }
.hero__slab { align-self: stretch; display: flex; flex-direction: column; min-height: 0; }
.hero__slab img { flex: 1 1 auto; width: 100%; min-height: 306px; max-height: calc(100svh - 136px); object-fit: cover; }
.hero__slab img { animation: slab-in 1.4s var(--ease) .2s both; }
@keyframes slab-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* 02 sobre a BK: texto à esquerda, duas fotos à direita */
.manifesto { min-height: 64svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5.1vw, 94px); align-items: center; border-top: 1px solid var(--line); }
.manifesto__body { display: grid; gap: 20px; }
/* duas fotos em grade, sem sobreposição: escritório em pé, fachada deitada, alinhadas pela base */
.about__pics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(16px, 2vw, 32px); align-items: end; }
.apic { margin: 0; min-width: 0; }
.apic img { width: 100%; height: auto; object-fit: cover; }
.apic--1 img { aspect-ratio: 3 / 4; }
.apic--2 img { aspect-ratio: 3 / 2; }

/* 03 obras */
.intro-obras { min-height: 70svh; display: flex; flex-direction: column; justify-content: flex-end; gap: 17px; }
.open { position: relative; height: 190vh; }
.open__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.open__frame { position: absolute; inset: 0; will-change: clip-path; clip-path: inset(var(--ct, 16%) var(--cr, 30%) var(--cb, 16%) var(--cl, 30%)); }
.open__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(var(--s, 1.18)); transform-origin: center; }
.open__cap { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(17px, 3.4vw, 48px); width: min(374px, calc(100% - 2 * var(--gutter))); background: var(--bg); padding: 19px 22px 22px; display: grid; gap: 12px; }
.open--right .open__cap { left: auto; right: var(--gutter); }
.open__cap .body { font-size: 16px; }
.open__meta { font-size: 12px; text-wrap: balance; }

/* 04 galeria lateral */
.rail { position: relative; background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rail .display { color: var(--ink); }
.rail .echo-inline { color: var(--muted); }
.rail__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 2.55vw, 41px); padding: 85px 0 41px; }
.rail__head { padding-inline: var(--gutter); display: grid; gap: 12px; }
.rail__hint { font-size: 14px; display: flex; align-items: center; gap: 12px; }
.rail__hint svg { width: 34px; height: 12px; stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.hint-swipe { display: none; }
.rail__track { display: flex; gap: clamp(17px, 2.04vw, 34px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.work { width: clamp(204px, 20.4vw, 340px); flex: none; }
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work__client { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: .9; color: var(--ink); margin-top: 12px; }
.work__proj { font-size: 14px; margin-top: 6px; }
.work__meta { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; color: var(--muted); }
.work--end { display: flex; flex-direction: column; justify-content: center; gap: 17px; padding-right: var(--gutter); }

/* 05 serviços */
.services { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 34px; }
.svc { border-top: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: baseline; gap: 8px 27px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .4s var(--ease); }
.svc__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3.06vw, 53px); line-height: .9; color: var(--ink); transition: color .25s var(--ease); }
.svc__who { font-size: 14px; justify-self: end; text-align: right; color: var(--muted); }
.svc a:hover, .svc a:focus-visible { padding-left: 15px; }
.svc a:hover .svc__name, .svc a:focus-visible .svc__name { color: var(--muted); }

/* 06 fábrica */
.factory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5.1vw, 94px); align-items: center; }
.factory__copy { display: grid; gap: 24px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 27px; margin-top: 12px; }
.steps b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 34px; line-height: .8; color: var(--muted); }
.steps h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: .9; color: var(--ink); margin-top: 8px; }
.steps p { font-size: 14px; margin-top: 6px; }
/* fotos em grade: cada foto e cada legenda têm a sua célula, então nada se sobrepõe em nenhuma tela */
.factory__pics { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 40px) clamp(16px, 2vw, 32px); align-items: start; }
.fpic { margin: 0; min-width: 0; }
.fpic img { width: 100%; object-fit: cover; }
.fpic--1 img { aspect-ratio: 3 / 4; }
.fpic--2 { margin-top: 22%; }
.fpic--2 img { aspect-ratio: 3 / 4; }
.fpic--3 { grid-column: 1 / -1; width: 62%; justify-self: end; }
.fpic--3 img { aspect-ratio: 4 / 3; }

/* 07 missão: uma frase em corpo grande, sozinha na dobra */
.mission { min-height: 56svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 20px; border-top: 1px solid var(--line); }
.mission__text { font-size: clamp(19px, 1.9vw, 30px); line-height: 1.35; font-weight: 500; max-width: 30em; text-wrap: pretty; }

/* 08 marcas */
.brands { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 27px; }
.brands__title { font-weight: 500; }
.wall { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.72vw, 46px); line-height: 1.05; max-width: 1020px; }
.wall span { color: var(--ink); }
.wall span:nth-child(2n) { color: var(--muted); }

/* 09 orçamento */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(34px, 5.1vw, 94px); align-items: start; }
.quote__intro { display: grid; gap: 20px; position: sticky; top: 85px; min-width: 0; }
.quote__intro .display--lg { font-size: clamp(42px, 5.1vw, 92px); }
.quote__direct { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease); }
.icon-btn:hover { background: var(--ink); color: var(--bg); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pending { border: 1px dashed var(--muted); border-radius: 10px; padding: 12px 15px; font-size: 14px; max-width: 46ch; }
.form { display: grid; gap: 31px; padding-top: 12px; }
.form__types { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__types legend { font-weight: 600; padding: 0; margin-bottom: 12px; }
.tags--check label { position: relative; cursor: pointer; }
.tags--check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tags--check span { transition: background-color .2s var(--ease), color .2s var(--ease); }
.tags--check label:hover span { background: var(--raised); }
.tags--check input:checked + span { background: var(--ink); color: var(--bg); }
.tags--check input:checked + span::before { content: ""; width: 11px; height: 6px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }
.tags--check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 27px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; transition: border-color .2s var(--ease); }
.field textarea { resize: vertical; min-height: 102px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 2px 0 var(--ink); }
.field [aria-invalid="true"] { border-bottom-color: var(--err); box-shadow: 0 1px 0 var(--err); }
.field__err { color: var(--err); font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__privacy { font-size: 14px; }
.form__status { padding: 15px 19px; border-radius: 0; font-weight: 500; background: var(--raised); }
.form__status[data-state="ok"] { border-left: 3px solid var(--ink); }
.form__status:focus { outline: none; }

/* rodapé */
.foot { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); padding: clamp(54px, 5.95vw, 95px) var(--gutter) 24px; overflow: clip; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 27px; }
.foot__logo { width: clamp(128px, 11.9vw, 187px); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__nav a { font-weight: 500; text-decoration: none; }
.foot__nav a:hover { color: var(--muted); }
.foot__base p { text-wrap: balance; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: clamp(48px, 5.95vw, 88px); padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }

/* ---------- entrada dos blocos (só com JS) ---------- */
.js [data-reveal] { opacity: 0; translate: 0 31px; transition: opacity .8s var(--ease), translate 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js .display[data-reveal] { opacity: 1; translate: 0 .18em; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), translate 1.1s var(--ease); }
.js .display[data-reveal].is-in { clip-path: inset(-0.2em 0 -0.2em 0); translate: 0 0; }

/* ---------- responsivo ---------- */
@media (max-width: 1000px) {
  .hero, .factory, .quote, .manifesto { grid-template-columns: 1fr; }
  .hero__slab img { max-height: 70svh; }
  .quote__intro { position: static; }
  .svc a { grid-template-columns: 1fr; }
  .svc__who { justify-self: start; text-align: left; }
}
@media (max-width: 720px) {
  .dot { top: 12px; width: 42px; height: 42px; }
  .dot--menu { left: 12px; }
  .dot--brand { right: 12px; }
  .float-cta { right: 12px; bottom: 12px; }
  .hero { padding-top: 71px; }
  .hero__logo { width: 119px; }
  .hero__title { font-size: 10.4vw; }
  .display--lg { font-size: 11.9vw; }
  .quote__intro .display--lg { font-size: 11.9vw; }
  .rail__hint .hint-scroll { display: none; }
  .rail__hint .hint-swipe { display: inline; }
  .display--md { font-size: 9.78vw; line-height: 1.12; }
  .open { height: 170vh; }
  .open__cap { padding: 15px 17px 19px; bottom: 71px; }
  .rail__track { scroll-padding-inline: var(--gutter); }
  .rail__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .rail__track::-webkit-scrollbar { display: none; }
  .work { width: 62.9vw; scroll-snap-align: start; }
  .rail__pin { position: relative; height: auto; padding: var(--fold-y) 0; }
  .fpic--3 { width: 100%; }
  .about__pics { grid-template-columns: minmax(0, 1fr); }
  .apic--1 img { aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal], .js .display[data-reveal] { opacity: 1; translate: none; clip-path: none; }
  .rail__hint .hint-scroll { display: none; }
  .rail__hint .hint-swipe { display: inline; }
  .rail__hint svg { animation: none; }
  .hero__slab img { animation: none; }
  .open { height: auto; }
  .open__pin { position: relative; height: auto; display: grid; }
  .open__frame { position: relative; clip-path: none; aspect-ratio: 16 / 9; }
  .open__frame img { transform: none; }
  .open__cap { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -64px var(--gutter) 0; }
  .rail__pin { position: relative; height: auto; }
  .rail__track { width: auto; overflow-x: auto; padding-bottom: 12px; }
}
