@font-face {
  font-family: Anton;
  src: url("assets/Anton.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --blue: #1487ff;
  --solid: #0069e2;
  --paper: #f5f5f5;
  --muted: #bbbfc8;
  --line: #36373b;
  --edge: 6vw;
  --bar: clamp(80px, 6.8vw, 104px);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scrollbar-gutter: stable }
body { background: var(--bg); color: var(--paper); margin: 0; font: 1rem/1.45 Arial, sans-serif }
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0 }
a,button { transition: color .2s, border-color .2s, background .2s }
:focus-visible { outline: 3px solid #60b6ff; outline-offset: 5px }
h1,h2,h3,p,ul { margin: 0 }
b { color: var(--blue); font-weight: inherit }
.wrap { width: min(calc(100% - 2 * var(--edge)), 1580px); margin-inline: auto }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.skip:focus { display: block; padding: 1rem }
::selection { background: var(--solid); color: white }

/* Navegação */
header { background: #08090b; border-bottom: 1px solid #292a2d; position: relative; z-index: 5 }
.bar,#menu,.contact,.primary,.foot-head,.foot-base,.head,.caption,.tools,.toggle { display: flex; align-items: center; justify-content: space-between }
.bar { min-height: var(--bar) }
.logo { display: block; width: clamp(170px, 15vw, 234px) }
#menu { gap: clamp(30px, 3.6vw, 66px); font-weight: 600 }
#menu > a:not(.contact) { position: relative; padding-block: .7rem }
#menu > a[aria-current]::after { content: ""; position: absolute; bottom: .25rem; inset-inline: 0; height: 3px; background: var(--blue) }
.contact,.primary,.filters a { border-radius: 60px; border: 1px solid var(--blue); gap: .7em; padding: .7em 1.55em }
.contact svg { color: var(--blue) }
.contact:hover,.filters a[aria-current] { background: var(--solid); color: white }
.contact:hover svg { color: white }
.toggle { display: none }

/* Cartaz */
.hero { position: relative; background: #050608; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line) }
.hero::before { content: ""; background: url(assets/grain.png); opacity: .04; position: absolute; inset: 0; pointer-events: none }
.poster {
  --h: clamp(min(46vw, 820px), calc(100svh - var(--bar) - 2px), min(56vw, 1000px));
  min-height: var(--h); position: relative; display: flex; align-items: center;
}
.art { position: absolute; width: min(69%, calc(1.135 * var(--h))); left: 76%; top: 50%; transform: translate(-50%,-50%); mix-blend-mode: screen }
.art img { width: 100%; mask-image: linear-gradient(90deg, transparent, #000 12%,#000 94%,transparent); animation: float 8s ease-in-out infinite alternate }
@keyframes float { to { transform: translateY(-.85%) rotate(1deg) } }
.message { position: relative; width: 49%; padding-block: 4%; }
.message h1 { container-type: inline-size; mix-blend-mode: screen }
.pre { display: flex; align-items: center; gap: .95em; font-size: clamp(.82rem,2.68cqw,1.25rem); line-height: 1.4; letter-spacing: .115em; text-transform: uppercase }
.pre::before { content: ""; flex: 0 0 2.4em; height: 3px; background: var(--blue) }
.dose { display: block; font: 400 32.7cqw/1 Anton,Impact,sans-serif; text-transform: uppercase; letter-spacing: -.015em; white-space: nowrap; transform: skewX(-7deg); margin: 5% 0 0 1% }
.brush { position: relative; width: 106%; max-width: none; margin: -2.5% 0 0 -3%; mix-blend-mode: lighten; transform: rotate(-2deg) }
.primary { display: inline-flex; background: #0067df; border-color: transparent; padding: .98em 1.7em; margin-top: 6.5%; font-weight: bold; color: white; font-size: clamp(1rem, 1.39vw, 1.25rem) }
.primary span { width: .92em; height: .92em; background: currentColor; mask-image: linear-gradient(to right,black 42%,transparent 42% 58%,black 58%),linear-gradient(black 42%,transparent 42% 58%,black 58%); mask-composite: intersect }
.primary:hover { background: white; color: #0051ae }
.scroll { position: absolute; left: 50%; bottom: 2.5%; width: 44px; height: 44px; display: grid; place-items: center; transform: translateX(-50%) }
.scroll span { border: 1px solid #aaa; border-radius: 20px; width: 21px; height: 33px; display: flex; justify-content: center }
.scroll span::before { content: ""; width: 3px; height: 7px; border-radius: 4px; background: var(--blue); margin-top: 6px }
.poster::after,.poster::before { content: ""; background: linear-gradient(#777,#777) center/100% 1px,linear-gradient(#777,#777) center/1px 100%; background-repeat: no-repeat; position: absolute; width: 14px; height: 14px; bottom: 4.5% }
.poster::after { right: 0 }

/* Índices */
.section,.inner { padding-top: clamp(66px,7vw,130px) }
.intro,.head h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; line-height: 1.15; text-transform: uppercase; letter-spacing: -.015em; transform: skewX(-5deg) }
.head { gap: 1rem; align-items: baseline; margin-bottom: 3.2vw }
.head h2 { font-size: clamp(2.4rem,5.3vw,6.5rem) }
.intro { font-size: clamp(3.75rem,10vw,11rem); margin-bottom: 4vw }
.more,.foot-head a { display: inline-block; font-size: 1rem; font-weight: 600; border-bottom: 2px solid var(--blue); padding-block: .4rem }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,3.5vw,70px) 2.5vw }
.piece { display: block }
.frame { aspect-ratio: 1.58; overflow: hidden; background: #191b20 }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease }
.caption { gap: 1em; padding-top: 1.2rem }
.caption h3 { font-size: clamp(1.25rem,2vw,2.3rem); line-height: 1.13; letter-spacing: -.035em }
.plus { display: grid; place-items: center; position: relative; flex: none; width: 44px; height: 44px; border: 1px solid #50545a; border-radius: 50%; transition: background .22s, transform .3s; color: white }
.plus::before,.plus::after { content: ""; width: 36%; height: 2px; background: currentColor; position: absolute }
.plus::after { transform: rotate(90deg) }
.story { display: grid; grid-template-columns: min(23%,270px) 1fr auto; gap: 4%; align-items: center; border-top: 1px solid var(--line); padding-block: clamp(23px,2.2vw,46px) }
.story img { width: 100% }
.story h3,.story h2 { font-size: clamp(1.45rem,2.65vw,3.2rem); letter-spacing: -.04em; line-height: 1.08; text-wrap: balance }
.story p,.notice { margin-top: .6em; color: var(--muted); max-width: 65ch }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3vw }
.filters a { border-color: #53555b; font-weight: 600 }
.filters a[aria-current], .filters a:hover { border-color: var(--blue) }
.archive { padding: 0; list-style: none; margin-top: 2rem }
.archive li { padding-block: .8em; font-size: clamp(1.35rem,2.45vw,3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; border-top: 1px solid var(--line); display: flex; gap: .6em; flex-wrap: wrap; justify-content: space-between; align-items: center }
.archive a { letter-spacing: normal }
@media (hover:hover) {
  .piece:hover img { transform: scale(1.045) }
  a:hover .plus { transform: rotate(90deg); background: var(--solid); border-color: var(--solid) }
  .more:hover,.story:hover,.tools button:hover,.bar a:not(.contact):hover,footer a:hover { color: #499fff }
}

/* Leitura e ampliação */
body.locked { overflow: hidden }
dialog { border: 1px solid var(--line); padding: 0; background: #101114; color: inherit; width: min(1120px,94vw); max-height: 94dvh; overscroll-behavior: contain }
dialog::backdrop { background: rgb(0 0 0 / .86) }
.viewer { padding: 0 clamp(20px,3vw,48px) }
.tools { background: #101114; padding: .6rem 0; font-weight: 600 }
.tools:first-child { position: sticky; top: 0; z-index: 1 }
.meta { font-size: .88rem; letter-spacing: .1em; color: #66b2ff; text-transform: uppercase }
.tools button { min-height: 44px; padding: 0 .25rem }
.close { display: flex; align-items: center; gap: .6em }
.close span { font-size: 1.7rem; font-weight: 400 }
.turns { border-top: 1px solid var(--line) }
.count { font-variant-numeric: tabular-nums; color: var(--muted) }
.detail { padding: 1rem 0 2rem; text-align: center }
.detail img { margin: auto; object-fit: contain; max-height: 59dvh }
.detail h2 { font-size: clamp(1.55rem,2.7vw,2.5rem); margin-top: .75em; line-height: 1.08; letter-spacing: -.03em }
.detail p { margin-top: 1em; color: #d1d3d9 }
.detail.read { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: center; text-align: left; font-size: clamp(1.08rem,1.5vw,1.25rem); line-height: 1.55 }
.read h2 { margin: 0 }
.read:has(.small) { grid-template-columns: min(34%,300px) 1fr }

/* Rodapé */
footer { margin-top: clamp(66px,8vw,146px); background: #07080a; padding: clamp(36px,5vw,96px) 0; border-top: 1px solid var(--line) }
.foot-head h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em }
.email { display: inline-block; font-size: min(7.9vw,8.5rem); font-weight: 700; letter-spacing: -.065em; color: var(--blue); margin-block: .25em .45em }
.foot-base { border-top: 1px solid var(--line); padding-top: 2.5rem; gap: 1.5rem; flex-wrap: wrap }
address { font-style: normal; color: var(--muted) }

@media (max-width: 800px) {
  :root { --bar: 72px }
  .logo { width: 158px }
  .toggle { display: flex; gap: .7em; padding: .8rem 0 .8rem 1rem; font-weight: bold }
  .toggle span { position: relative; width: 24px; height: 9px }
  .toggle span::before,.toggle span::after { position: absolute; content: ""; background: var(--blue); height: 2px; inset: 0 0 auto; transition: transform .25s }
  .toggle span::after { top: 8px }
  .toggle[aria-expanded=true] span::before { transform: translateY(4px) rotate(45deg) }
  .toggle[aria-expanded=true] span::after { transform: translateY(-4px) rotate(-45deg) }
  #menu { position: absolute; inset: 100% 0 auto; padding: .75rem var(--edge) 2rem; background: #08090b; flex-direction: column; align-items: flex-start; gap: .45rem; border-bottom: 1px solid var(--line); box-shadow: 0 35vh 0 35vh #0008; clip-path: inset(0 0 -100vh) }
  .toggle[aria-expanded=false] + nav { display: none !important }
  #menu a:not(.contact) { font-size: 1.6rem }
  .contact { margin-top: 1rem }
  .intro,.filters,.head { margin-bottom: 2rem }
  .head { flex-wrap: wrap }
  .filters a { padding: .62rem .98rem }
  .art { left: 78% }
  .pre { letter-spacing: .07em; max-width: 28ch }
  .scroll,.poster::before,.poster::after { display: none }
  .foot-base { align-items: flex-start; flex-direction: column }
  .detail.read,.read:has(.small) { grid-template-columns: 1fr; gap: 1.6rem }
  .read img { max-height: 36dvh }
}
@media (max-width: 640px) {
  .poster { display: block; min-height: auto; padding: 10vw 0 69vw }
  .message { width: 98%; padding: 0 }
  .pre { max-width: none; font-size: clamp(.77rem,3.28vw,1.2rem); letter-spacing: .035em; gap: .55em; text-wrap: balance }
  .pre::before { flex-basis: 1.5em }
  .dose { margin-top: 6% }
  .art { width: 108%; top: auto; left: 62%; bottom: -4vw; transform: translateX(-50%); mask-image: linear-gradient(160deg, transparent 18%, black 37%) }
  .primary { margin-top: 9%; padding: .84em 1.22em }
  .gallery { grid-template-columns: 1fr; gap: 1.9rem }
  .caption { padding-top: .85rem }
  .story { grid-template-columns: 1fr auto; gap: 16px }
  .story img { width: min(66vw,270px); grid-column: 1 / -1 }
  .story .plus { align-self: start }
  .story p { margin-right: -55px; padding-top: .5em }
  .head { flex-direction: column; align-items: start }
  .head h2 { font-size: 8vw }
  .section:last-child .head { flex-direction: row; align-items: center }
  .intro { font-size: 16vw }
  .filters { gap: .5rem }
  .filters a { font-size: .95rem; padding-inline: .9rem }
  dialog { width: 100%; max-width: 100%; max-height: 100dvh }
  dialog:has(.read) { height: 100dvh }
  .viewer { min-height: 100%; display: flex; flex-direction: column }
  .turns { margin-top: auto }
  .inner { padding-top: 3.5rem }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *,*::before,*::after { transition: none !important; animation: none !important }
}

/* Marcas do acervo em preto e branco */
.client-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.6rem; margin-bottom: max(2.5rem,4vw) }
.client-head h1 { margin: 0 }
.search { color: var(--blue); display: flex; align-items: center; gap: .85rem; border-bottom: 1px solid #737880; width: min(100%,310px) }
.search:focus-within { border-color: var(--blue); box-shadow: 0 2px var(--blue) }
.search input { outline: none; background: none; color: var(--paper); border: 0; font: inherit; flex: 1; padding: .85rem 0; min-width: 0 }
.search input::placeholder { color: var(--muted) }
#resultado:not(.sr) { color: var(--muted); padding: 2rem 0 }
.brands { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; padding: 0 }
.brands li:not([hidden]) { display: grid; place-items: center; border: 1px solid var(--line); margin: 0 -1px -1px 0; padding: 9% 12%; transition: background .28s }
.brands img { width: 100%; filter: contrast(1.46) brightness(1.26); mix-blend-mode: screen }
@media (hover:hover) { .brands li:hover { background: #004fa7 } }
@media (min-width:801px) and (max-width:940px) { #menu { gap: 1.35rem } }
@media (max-width:900px) { .brands { grid-template-columns: repeat(3,1fr) } }
@media (max-width:640px) {
  .search { width: 100% }
  .brands { grid-template-columns: repeat(2,1fr) }
  .brands li:not([hidden]) { padding: 10% 6% }
}
