/* P3 · Galeria — minimalista, catálogo (Knickerbocker) */
:root { --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; --muted: rgb(3 7 13 / .5); }
body { font-family: var(--sans); font-size: 13px; letter-spacing: -.005em; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; font-size: 13px; transition: .2s; }
.btn--solid { background: var(--preto); color: var(--branco); }
.btn--solid:hover { background: var(--oliva); }
.btn--block { width: 100%; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 var(--gutter); background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); }
.hdr__menu { margin-left: -8px; }
.hdr__nav { display: none; gap: 24px; font-size: 13px; }
.hdr__logo { justify-self: center; color: var(--preto); }
.hdr__logo .mark--full { width: 78px; }
.hdr__right { justify-self: end; display: flex; align-items: center; gap: 12px; font-size: 13px; margin-right: -8px; }
@media (min-width: 1024px) { .hdr { height: 80px; } .hdr__menu { display: none; } .hdr__nav { display: flex; } .hdr__logo .mark--full { width: 96px; } }

/* Hero */
.hero { height: 78vh; min-height: 460px; max-height: 900px; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }

/* Índice de categorias */
.index { display: grid; gap: 40px; padding: 72px var(--gutter); scroll-margin-top: 80px; }
.index__list a { display: inline-block; font-size: clamp(48px, 8vw, 104px); line-height: 1.08; letter-spacing: -.035em; font-weight: 400; color: rgb(3 7 13 / .4); transition: color .2s; scroll-margin-top: 100px; }
.index__list a:hover, .index__list li:first-child a { color: var(--preto); }
.index__list sup { font-size: .28em; letter-spacing: 0; margin-left: .2em; vertical-align: super; }
.index__img { background: var(--bege); aspect-ratio: 4 / 5; overflow: hidden; }
.index__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
@media (min-width: 640px) { .index { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 1024px) { .index { padding: 120px var(--gutter); } .index__img { max-width: 560px; justify-self: end; width: 100%; } }

/* Grade 50/50 */
.tiles { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { display: flex; flex-direction: column; background: var(--bege); }
.tile--photo { background: var(--offwhite); }
.tile__img { aspect-ratio: 1 / 1; overflow: hidden; }
.tile:not(.tile--photo) .tile__img { padding: 12%; }
.tile:not(.tile--photo) .tile__img img { mix-blend-mode: multiply; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover .tile__img img { transform: scale(1.03); }
.tile__meta { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px 22px; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.tile__meta span:last-child { color: var(--muted); }
.tile--photo .tile__meta { display: none; }
.tile--photo .tile__img { flex: 1; aspect-ratio: auto; min-height: 100%; }
@media (max-width: 639px) { .tile--photo { display: none; } .tile + .tile { border-top: 1px solid var(--branco); } }
.tiles--4 { gap: 1px; background: var(--branco); }
@media (min-width: 1024px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .tiles--4 { grid-template-columns: 1fr 1fr; } }

/* Sobre */
.about { display: grid; gap: 24px; padding: 96px var(--gutter); scroll-margin-top: 80px; }
.about h2 { font-size: 13px; font-weight: 400; text-transform: uppercase; }
.about__lead { font-size: clamp(24px, 3vw, 40px); line-height: 1.2; letter-spacing: -.02em; font-weight: 300; max-width: 26ch; }
.about__list { margin-top: 56px; border-top: 1px solid rgb(3 7 13 / .12); }
.about__list li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid rgb(3 7 13 / .12); }
.about__list li span:first-child { text-transform: uppercase; }
.about__list li span:last-child { color: var(--muted); }
@media (min-width: 640px) { .about__list li { grid-template-columns: 1fr 2fr; } }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1fr; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Rodapé */
.ftr { padding: 64px var(--gutter) 0; border-top: 1px solid rgb(3 7 13 / .08); }
.ftr__grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.ftr__nl { grid-column: 1 / -1; }
.ftr__nl p { color: var(--muted); margin: 6px 0 16px; }
.ftr__nl .nl-form { max-width: 440px; }
.ftr__nl .nl-form input { border: 0; border-bottom: 1px solid var(--preto); padding: 0; }
.ftr__nl .nl-form button { background: var(--preto); color: var(--branco); }
.ftr h4 { font-size: 13px; font-weight: 400; text-transform: uppercase; margin-bottom: 12px; }
.ftr__grid a { display: block; padding: 4px 0; color: var(--muted); }
.ftr__grid a:hover { color: var(--preto); }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .ftr__nl { grid-column: auto; } }
.ftr__pattern { height: 160px; margin: 64px calc(-1 * var(--gutter)) 0; background: var(--branco) url(../shared/logo/padrao-tile.svg) 0 0 / 70px 65px repeat; opacity: .8; }
.ftr__legal { padding: 16px 0 24px; color: var(--muted); font-size: 12px; }

/* Produto */
.pdp__grid { display: grid; gap: 32px; padding: 0 var(--gutter); }
.pdp .pdp__gallery img { background: var(--bege); }
@media (min-width: 1024px) {
  .pdp__grid { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; align-items: start; }
  .pdp .pdp__gallery { grid-template-columns: 1fr; gap: 0; }
  .pdp__info { position: sticky; top: 80px; padding: 64px 12% 64px 10%; }
}
.pdp__info { display: flex; flex-direction: column; gap: 22px; }
.pdp__cat { text-transform: uppercase; color: var(--muted); }
.pdp__title { font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; letter-spacing: -.03em; line-height: 1.05; margin-top: -12px; }
.pdp__price { font-size: 15px; }
.pdp__price span { color: var(--muted); margin-left: 8px; font-size: 13px; }
.pdp__desc { line-height: 1.6; color: rgb(3 7 13 / .7); font-size: 14px; }
.pdp__label { font-size: 13px; margin-bottom: 10px; display: flex; justify-content: space-between; text-transform: uppercase; }
.pdp__label strong { font-weight: 400; color: var(--muted); }
.pdp__label a { text-transform: none; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.pdp__note { font-size: 12px; color: var(--muted); text-align: center; margin-top: -8px; }
.pdp .size { border-radius: 0; }
.related { padding: 96px 0 0; }
.related h2 { font-size: 13px; font-weight: 400; text-transform: uppercase; padding: 0 var(--gutter) 20px; }
