/* ===== Fontes (auto-hospedadas) ===== */
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

/* ===== Tokens ===== */
:root {
  --bg: #000;
  --fg: #fff;
  --fg-2: #b3b3b3;
  --fg-3: #7a7a7a;
  --line: #2e2e2e;
  --panel: #0f1015;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
::selection { background: #fff; color: #000; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.cap { font-size: 12px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; vertical-align: middle; margin: 0 .6em; opacity: .7; }
.idx { margin: 0 0 clamp(28px, 4vw, 48px); }

/* ===== Header ===== */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding-inline: var(--gutter);
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: #000; border-bottom-color: var(--line); }
.brand { font-weight: 600; font-size: 15px; letter-spacing: -.01em; min-height: 44px; display: flex; align-items: center; }
.nav { display: flex; gap: clamp(4px, 2vw, 32px); }
.nav a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; padding-inline: 6px; transition: color .2s; }
.nav a:hover { color: var(--fg); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--fg); transition: background .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 12px; height: 12px; }
.btn--light { background: var(--fg); color: #000; }
.btn--light:hover { background: transparent; color: var(--fg); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: var(--fg); background: var(--fg); color: #000; }
.ibtn { min-height: 44px; min-width: 44px; padding: 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); transition: color .2s; }
.ibtn:hover { color: var(--fg); }

/* ===== Hero ===== */
.hero { position: relative; height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: #000 url('media/reel-960.jpg') center / cover no-repeat; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-on { opacity: 1; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.35) 100%); }
.hero__meta { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vh, 96px); }
.hero__role { margin: 0 0 18px; color: var(--fg); opacity: .85; }
.hero__name { margin: 0; font-weight: 500; font-size: clamp(56px, 12.5vw, 196px); line-height: .86; letter-spacing: -.045em; }
.hero__line { margin: clamp(16px, 2.4vw, 28px) 0 0; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.15; max-width: 22ch; color: #e6e6e6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.5vw, 40px); }
.hero__credit { position: absolute; z-index: 1; top: 76px; right: 0; left: 0; text-align: right; font-size: 12px; color: rgba(255,255,255,.55); }

/* ===== Intro ===== */
.intro { padding-block: clamp(96px, 14vw, 200px) clamp(72px, 10vw, 140px); }
.intro__t { margin: 0; max-width: 24ch; font-weight: 400; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.06; letter-spacing: -.03em; }
.intro__t em { color: var(--fg-2); }
.crafts { list-style: none; padding: 0; margin: clamp(56px, 8vw, 112px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.crafts li { padding: 22px 24px 0 0; }
.crafts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.crafts p { margin: 14px 0 0; color: var(--fg-2); font-size: 16px; max-width: 28ch; }

/* ===== Prova ===== */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(32px, 5vw, 64px) 24px clamp(32px, 5vw, 56px) 0; display: flex; flex-direction: column; gap: 14px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__n { font-size: clamp(56px, 7.5vw, 120px); line-height: .9; letter-spacing: -.05em; font-weight: 500; }
.stat__n sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; font-weight: 400; color: var(--fg-2); }
.stat .cap { max-width: 26ch; }
.channels { border-top: 1px solid var(--line); padding-block: 28px; display: flex; gap: 32px; align-items: baseline; flex-wrap: wrap; }
.channels p { margin: 0; flex: none; }
.channels ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 40px; }
.channels li { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.01em; }
.channels small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-left: 8px; }

/* ===== Destaques ===== */
.featured { padding-top: clamp(96px, 12vw, 180px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.feat { display: flex; flex-direction: column; gap: clamp(88px, 12vw, 180px); padding-bottom: clamp(96px, 12vw, 180px); }
.fp { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.fp__media { grid-column: 1 / span 8; position: relative; aspect-ratio: 16 / 9; background: var(--panel); overflow: hidden; cursor: pointer; }
.fp:nth-child(even) .fp__media { grid-column: 5 / span 8; grid-row: 1; }
.fp__info { grid-column: 9 / span 4; padding-bottom: 4px; }
.fp:nth-child(even) .fp__info { grid-column: 1 / span 4; grid-row: 1; }
.fp__num { font-size: 12px; letter-spacing: .14em; color: var(--fg-3); }
.fp__title { margin: 14px 0 0; font-size: clamp(32px, 3.6vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.fp__lead { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; color: #e2e2e2; }
.fp__meta { margin: 24px 0 0; display: grid; gap: 6px; }
.fp__meta div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 15px; color: var(--fg-2); }
.fp__meta dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
.fp__meta dd { margin: 0; }
.fp__open { margin-top: 28px; }

/* mídia (cards e destaques) */
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.media--vid { opacity: 0; }
.media--vid.is-on { opacity: 1; }
.fp__media:hover .media, .card:hover .media { transform: scale(1.025); }
.tag-play { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* ===== Arquivo ===== */
.archive { padding-bottom: clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); padding-top: clamp(72px, 9vw, 128px); }
.archive .idx { margin-bottom: 18px; }
.archive__t { margin: 0; font-weight: 500; font-size: clamp(36px, 5vw, 76px); letter-spacing: -.04em; line-height: 1; }
.section-head:has(.archive__t) { display: block; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 40px 0 48px; border-bottom: 1px solid var(--line); }
.filters button { min-height: 44px; padding: 0 16px 0 0; margin-right: 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); position: relative; transition: color .2s; }
.filters button sup { font-size: 9px; margin-left: 3px; letter-spacing: 0; }
.filters button:hover { color: var(--fg-2); }
.filters button[aria-pressed="true"] { color: var(--fg); }
.filters button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; right: 16px; bottom: -1px; height: 1px; background: var(--fg); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.card { display: block; width: 100%; text-align: left; }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 16 / 9; background: var(--panel); overflow: hidden; }
.card__row { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.card__title { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.card__year { font-size: 13px; color: var(--fg-3); white-space: nowrap; padding-top: 3px; font-variant-numeric: tabular-nums; }
.card__sub { margin: 6px 0 0; font-size: 15px; color: var(--fg-2); }
.card__yt { display: inline-block; margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.note { margin: clamp(56px, 7vw, 96px) 0 0; max-width: 72ch; font-size: 14px; color: var(--fg-3); }

/* ===== Sobre ===== */
.about { border-top: 1px solid var(--line); padding-top: clamp(96px, 12vw, 180px); }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.about__photo { grid-column: 1 / span 6; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: grayscale(1) contrast(1.05); }
.about__text { grid-column: 8 / span 5; }
.about__t { margin: 0 0 28px; font-size: clamp(36px, 4vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.about__text p:not(.cap) { margin: 0 0 1.1em; color: #d6d6d6; font-size: 18px; max-width: 46ch; }
.bts { margin-top: clamp(72px, 9vw, 128px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bts::-webkit-scrollbar { display: none; }
.bts__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 8px; width: max-content; }
.bts__track li { height: clamp(180px, 22vw, 300px); flex: none; }
.bts__track img { height: 100%; width: auto; filter: grayscale(.25); }

/* ===== Contato ===== */
.contact { padding-block: clamp(120px, 14vw, 220px) clamp(72px, 9vw, 120px); }
.contact__t { margin: 0; max-width: 20ch; font-weight: 400; font-size: clamp(34px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.035em; }
.contact__t em { color: var(--fg-2); }
.contact__list { list-style: none; padding: 0; margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); }
.contact__list li { border-bottom: 1px solid var(--line); }
.contact__list a { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 16px; min-height: 76px; padding-block: 18px; transition: padding .35s var(--ease), color .2s; }
.contact__list a:hover { padding-left: 12px; }
.contact__list .val { font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact__list .arr { color: var(--fg-3); font-size: 22px; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding-block: 28px 40px; font-size: 13px; color: var(--fg-3); border-top: 1px solid var(--line); }
.foot a { min-height: 44px; display: flex; align-items: center; }

/* ===== Botão WhatsApp (mobile) ===== */
.wa-fab { position: fixed; z-index: 45; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; background: #fff; color: #000; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 30px rgba(0,0,0,.45); transform: translateY(140%); transition: transform .5s var(--ease); }
.wa-fab svg { width: 22px; height: 22px; }
.wa-fab.is-on { transform: none; }

/* ===== Overlay de projeto ===== */
.sheet { position: fixed; inset: 0; z-index: 60; background: #000; overflow-y: auto; overscroll-behavior: contain; animation: fade .35s var(--ease); }
.sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 64px; padding-inline: var(--gutter); background: #000; border-bottom: 1px solid var(--line); }
.sheet__nav { display: flex; gap: 4px; }
.sheet__body { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter) 96px; }
.sv { position: relative; background: var(--panel); aspect-ratio: 16 / 9; max-height: 74vh; margin-inline: auto; }
.sv video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.sv--v { aspect-ratio: 9 / 16; max-height: 78vh; }
.sv__cap { position: absolute; left: 0; bottom: -28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.sd { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); margin-top: clamp(64px, 7vw, 96px); }
.sd__head { grid-column: 1 / span 7; }
.sd__cat { margin: 0 0 16px; }
.sd__title { margin: 0; font-size: clamp(36px, 5vw, 80px); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.sd__text { margin: 28px 0 0; font-size: clamp(18px, 1.5vw, 21px); color: #d6d6d6; max-width: 54ch; }
.sd__side { grid-column: 9 / span 4; }
.sd__meta { margin: 0; border-top: 1px solid var(--line); }
.sd__meta div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sd__meta dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.sd__meta dd { margin: 6px 0 0; font-size: 16px; }
.sd__links { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.sd__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px; border: 1px solid rgba(255,255,255,.4); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.sd__links a:hover { background: #fff; color: #000; border-color: #fff; }
.sd__nolink { margin: 28px 0 0; font-size: 14px; color: var(--fg-3); }

/* ===== Overlay do reel ===== */
.reel { position: fixed; inset: 0; z-index: 70; background: #000; display: flex; align-items: center; justify-content: center; animation: fade .35s var(--ease); }
.reel__video { width: 100%; max-height: 100svh; }
.reel__close { position: absolute; top: 10px; right: var(--gutter); z-index: 2; }

@keyframes fade { from { opacity: 0; } }

/* revelação suave ao rolar */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ===== Responsivo ===== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .crafts { grid-template-columns: repeat(2, 1fr); }
  .crafts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .crafts li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .top { height: 56px; }
  .brand { font-size: 15px; }
  .nav a { padding-inline: 4px; letter-spacing: .1em; }
  .hero { min-height: 600px; }
  .hero__credit { display: none; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .proof__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .stat { flex-direction: row; align-items: center; gap: 20px; }
  .stat__n { min-width: 3.4ch; font-size: 52px; }
  .channels { flex-direction: column; gap: 14px; }
  .channels ul { flex-direction: column; gap: 10px; }
  .fp { display: flex; flex-direction: column; }
  .fp__media { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); }
  .fp__info { margin-top: 24px; }
  .grid { grid-template-columns: 1fr; }
  .about__grid { display: flex; flex-direction: column; gap: 40px; }
  .about__photo { width: 100%; aspect-ratio: 4 / 5; }
  .contact__list a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .contact__list .cap { grid-column: 1 / -1; }
  .sd { display: block; }
  .sd__side { margin-top: 40px; }
  .wa-fab { display: inline-flex; }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 420px) {
  .nav a:nth-child(2) { display: none; }
  .crafts { grid-template-columns: 1fr; }
  .crafts li, .crafts li + li { padding: 20px 0 0; border-left: 0; }
  .crafts li + li { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .media, .hero__video { transition: none; }
}

/* ===== Ajustes v2 ===== */
.btn__sub { font-size: 11px; letter-spacing: .14em; opacity: .55; margin-left: 2px; }
.btn--light .btn__sub { opacity: .6; }
.badge { display: inline-block; margin-top: 16px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.5); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.badge::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 1px; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Bastidores */
.making { border-top: 1px solid var(--line); padding-block: clamp(96px, 12vw, 180px); }
.making__t { margin: 0 0 clamp(56px, 8vw, 120px); max-width: 18ch; font-weight: 400; font-size: clamp(34px, 5vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.making__t em { color: var(--fg-2); }
.making__grid { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 7vw, 112px); align-items: start; }
.mk figure { margin: 0; }
.mk__img { overflow: hidden; background: var(--panel); }
.mk__img img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.mk:hover .mk__img img { transform: scale(1.03); }
.mk figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); line-height: 1.5; }
.mk__n { color: var(--fg-3); margin-right: 8px; font-variant-numeric: tabular-nums; }
.mk__p { color: var(--fg-3); }
.mk:nth-child(1)  { grid-column: 1 / span 4; }
.mk:nth-child(2)  { grid-column: 6 / span 7; margin-top: 9vw; }
.mk:nth-child(3)  { grid-column: 2 / span 6; }
.mk:nth-child(4)  { grid-column: 9 / span 4; margin-top: 7vw; }
.mk:nth-child(5)  { grid-column: 1 / span 5; }
.mk:nth-child(6)  { grid-column: 7 / span 6; margin-top: 10vw; }
.mk:nth-child(7)  { grid-column: 3 / span 6; }
.mk:nth-child(8)  { grid-column: 10 / span 3; margin-top: 12vw; }
.mk:nth-child(9)  { grid-column: 1 / span 4; }
.mk:nth-child(10) { grid-column: 5 / span 4; margin-top: 8vw; }
.mk:nth-child(11) { grid-column: 9 / span 4; margin-top: 3vw; }

/* Sobre v2 */
.about__photo { aspect-ratio: 4 / 5; }
.about__photo img { filter: none; object-position: 50% 25%; }
.about__second { margin: 40px 0 0; max-width: 420px; }
.about__second img { width: 100%; height: auto; filter: grayscale(1); }

/* Bastidores no projeto */
.sd__bts { margin: 40px 0 0; max-width: 640px; }
.sd__bts img { width: 100%; height: auto; }
.sd__bts figcaption { margin-top: 10px; }

@media (max-width: 860px) {
  .making__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 12px; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .making__grid::-webkit-scrollbar { display: none; }
  .mk, .mk:nth-child(n) { flex: 0 0 82vw; margin-top: 0; scroll-snap-align: start; }
  .mk__img { aspect-ratio: 4 / 3; }
  .mk__img img { height: 100%; object-fit: cover; }
  .about__second { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .badge::before { animation: none; } }

/* ===== v3: galeria, lightbox e bastidores por projeto ===== */
button.mk__img { display: block; width: 100%; padding: 0; cursor: zoom-in; }
.making__more { margin-top: clamp(56px, 7vw, 96px); }

.sb { margin-top: clamp(64px, 7vw, 96px); border-top: 1px solid var(--line); padding-top: 24px; }
.sb__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.sb__head .cap { margin: 0; }
.sb__all { min-height: 44px; display: flex; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); border-bottom: 1px solid var(--fg-3); }
.sb__strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sb__strip button { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); cursor: zoom-in; }
.sb__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.sb__strip button:hover img { transform: scale(1.04); }

.lb { position: fixed; inset: 0; z-index: 90; background: #000; display: grid; grid-template-rows: 64px 1fr; animation: fade .25s var(--ease); touch-action: pan-y; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding-inline: var(--gutter); }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 var(--gutter) 28px; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 140px); width: auto; height: auto; opacity: 0; transition: opacity .35s var(--ease); }
.lb__fig img.is-on { opacity: 1; }
.lb__fig figcaption { margin-top: 14px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 88px; font-size: 22px; color: var(--fg-2); transition: color .2s; }
.lb__nav:hover { color: #fff; }
.lb__nav--prev { left: 4px; } .lb__nav--next { right: 4px; }

.page-gal { padding-top: 64px; }
.gal { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.back { color: var(--fg-2); min-height: 44px; display: inline-flex; align-items: center; }
.back:hover { color: var(--fg); }
.gal__t { margin: 0; font-weight: 500; font-size: clamp(44px, 7vw, 112px); line-height: .95; letter-spacing: -.045em; }
.gal__t em { color: var(--fg-2); font-weight: 400; }
.gal__lead { margin: 24px 0 0; color: var(--fg-2); max-width: 52ch; }
.gal__grid { list-style: none; margin: 0; padding: 0; columns: 4 280px; column-gap: clamp(8px, 1.2vw, 16px); }
.gi { break-inside: avoid; margin-bottom: clamp(20px, 2vw, 28px); }
.gi button { display: block; width: 100%; background: var(--panel); cursor: zoom-in; overflow: hidden; }
.gi img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .4s; }
.gi button:hover img { transform: scale(1.03); }
.gi__cap { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }

@media (max-width: 860px) {
  .sb__strip { grid-template-columns: repeat(2, 1fr); }
  .lb__nav { display: none; }
  .gal__grid { columns: 2 140px; }
  .gi__cap { font-size: 12px; letter-spacing: .08em; }
  .page-gal .wa-fab { display: none; }
}
.about__second { max-width: 340px; }
.about__second img { filter: none; }
.about__wide { margin: clamp(72px, 9vw, 128px) auto 0; }
.about__wide img { width: 100%; height: auto; }
.about__wide figcaption { margin-top: 12px; }
.about__media { grid-column: 1 / span 6; position: relative; padding-bottom: 72px; }
.about__media .about__photo { width: 86%; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 52%; margin: 0; z-index: 1; }
.about__inset img { width: 100%; height: auto; border: 6px solid #000; }
.about__inset figcaption { margin-top: 8px; text-align: right; }
@media (max-width: 860px) {
  .about__media { padding-bottom: 56px; }
  .about__media .about__photo { width: 88%; }
  .about__inset { width: 62%; }
  .about__inset img { border-width: 4px; }
}
.about__second img { filter: grayscale(1); }
.contact__lead { margin: clamp(24px, 3vw, 40px) 0 0; max-width: 48ch; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: #d6d6d6; }
