/* Garage Brazil — photographic exhibition teaser; usable without JavaScript. */
:root {
  color-scheme: dark;
  --fundo: #090909;
  --papel: #eeeae2;
  --secundario: #b3afa7;
  --ouro: #c9a45c;
  --linha: #33312d;
  --cond: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --texto: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --margem: clamp(24px, 4.5vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fundo); scroll-behavior: smooth; }
body { margin: 0; color: var(--papel); font-family: var(--texto); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: #c9a45c33; }
img { display: block; width: 100%; }
p, h1, h2, figure { margin: 0; }
::selection { color: var(--fundo); background: var(--ouro); }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 7px; }
.pular { position: absolute; top: 12px; left: var(--margem); padding: 14px 20px; background: var(--papel); color: var(--fundo); z-index: 10; transform: translateY(-160%); }
.pular:focus { transform: none; }
.rotulo, .edicao, .estado { font-family: var(--mono); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
.rotulo { color: var(--ouro); }
.sinal { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; margin-right: 9px; border-radius: 50%; background: var(--ouro); vertical-align: 2px; }

.topo { position: absolute; top: 0; left: var(--margem); right: var(--margem); z-index: 2; height: 102px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff26; }
.marca { display: inline-flex; gap: 13px; align-items: center; }
.marca img { width: 48px; height: 48px; border-radius: 50%; }
.marca-texto { font-family: var(--cond); font-weight: 700; font-size: 23px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.marca-texto small { display: block; margin-top: 7px; font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: .21em; }
.topo-link { display: flex; gap: 35px; align-items: center; min-height: 44px; font-size: 12px; }
.topo-link span { font-size: 21px; color: var(--ouro); }
.topo-link:hover { color: var(--ouro); }

.entrada { position: relative; min-height: max(1000px, 100svh); overflow: hidden; isolation: isolate; background: #090909; }
.entrada-imagem { position: absolute; inset: 0; z-index: -3; }
.entrada-imagem img { height: 100%; object-fit: cover; object-position: 62% center; }
.entrada::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #090909b3, #09090991 35%, #0909091a 62%, #09090980 100%); }
/* Real alpha cutout: independent composition without baking type into an image. */
.entrada-carro { position: absolute; z-index: -1; right: 3%; bottom: 85px; width: min(76vw, 1120px); height: auto; pointer-events: none; }
.entrada-conteudo { min-height: inherit; padding: 133px var(--margem) 30px; display: flex; flex-direction: column; }
.entrada-cab { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.edicao { color: var(--secundario); font-size: 9px; }
.entrada-grade { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: end; gap: 40px; margin-top: 27px; }
h1, h2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; }
h1 { font-size: clamp(82px, 9.6vw, 174px); line-height: .88; }
.entrada-apoio { padding-bottom: 3px; max-width: 270px; }
.entrada-apoio > p:first-child { font-size: 18px; line-height: 1.4; }
.descricao { margin-top: 15px; font-size: 13px; line-height: 1.7; color: var(--secundario); text-wrap: pretty; }
.botao { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; padding: 13px 17px; margin-top: 23px; background: var(--ouro); color: #17130b; font-size: 12px; font-weight: 500; transition: background-color .2s; }
.botao span { font-size: 21px; }
.botao:hover { background: #e6c98c; }
.entrada-base { margin-top: auto; padding-top: 300px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.entrada-base p { display: grid; gap: 6px; }
.entrada-base p > span:last-child { color: var(--secundario); font-size: 12px; }
.explorar { display: inline-flex; align-items: center; gap: 32px; min-height: 44px; font-size: 11px; }
.explorar span { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #ffffff40; border-radius: 50%; font-size: 18px; transition: border-color .2s, transform .2s; }
.explorar:hover span { border-color: var(--ouro); transform: translateY(3px); }

.detalhes { padding: 106px var(--margem) 100px; scroll-margin-top: 30px; }
.detalhes-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 49px; }
h2 { font-size: clamp(48px, 5.4vw, 94px); line-height: .95; text-wrap: balance; }
.detalhes-intro h2 { margin-top: 22px; }
.texto-intro { max-width: 420px; justify-self: end; padding-bottom: 3px; font-size: 15px; line-height: 1.85; color: var(--secundario); text-wrap: pretty; }
.detalhes-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.detalhe-foto { aspect-ratio: 4 / 4.5; overflow: hidden; background: #171611; }
.detalhe-foto img { height: 100%; object-fit: cover; transition: transform .7s ease; }
@media (hover: hover) { .detalhe:hover img { transform: scale(1.035); } }
figcaption { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; row-gap: 5px; align-items: baseline; padding: 19px 0; border-bottom: 1px solid var(--linha); font-family: var(--cond); font-weight: 500; font-size: clamp(20px, 2vw, 30px); text-transform: uppercase; }
.detalhe-numero, .detalhe-legenda { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .05em; }
.detalhe-numero { color: var(--ouro); }
.detalhe-legenda { grid-column: 2; color: var(--secundario); }

.chamada { margin: 0 var(--margem); padding: 32px 0 82px; border-top: 1px solid var(--linha); }
.chamada-cab { display: flex; justify-content: space-between; gap: 20px; }
.estado { color: var(--secundario); font-size: 9px; }
.chamada-grade { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; padding-top: 60px; }
.chamada-apoio { width: 100%; max-width: 420px; justify-self: end; }
.chamada-apoio p { color: var(--secundario); font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.instagram { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; margin-top: 23px; border-bottom: 1px solid var(--ouro); color: var(--ouro); font-family: var(--cond); font-size: clamp(26px, 3vw, 42px); font-weight: 500; transition: color .2s; }
.instagram:hover { color: var(--papel); }
.instagram span { transition: transform .2s; }
.instagram:hover span { transform: translate(3px, -3px); }
.rodape { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px var(--margem); border-top: 1px solid var(--linha); color: var(--secundario); font-family: var(--mono); font-size: 9px; line-height: 1.7; text-transform: uppercase; letter-spacing: .04em; }
.rodape a { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; }
.rodape a:hover { color: var(--ouro); }

@media (min-width: 1800px) {
  .entrada { min-height: max(1100px, 100svh); }
  .entrada-grade { grid-template-columns: minmax(0, 1fr) 320px; }
  .entrada-apoio { max-width: 320px; }
}
@media (max-width: 1000px) {
  .entrada-carro { width: 86%; right: 4%; bottom: 100px; }
  .entrada-grade { grid-template-columns: minmax(0, 1fr) 215px; gap: 24px; }
  h1 { font-size: 10.5vw; }
  .entrada-apoio > p:first-child { font-size: 16px; }
  .edicao { display: none; }
  .detalhes-intro, .chamada-grade { gap: 36px; }
  .detalhes-grade { gap: 16px; }
  .texto-intro { font-size: 14px; }
}
@media (max-width: 700px) {
  .topo { height: 86px; }
  .marca img { width: 40px; height: 40px; }
  .marca-texto { font-size: 20px; }
  .marca-texto small { font-size: 7px; }
  .topo-link { gap: 16px; font-size: 11px; }
  .entrada { min-height: 920px; }
  .entrada-conteudo { padding-top: 113px; padding-bottom: 24px; }
  .entrada-grade { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  h1 { font-size: clamp(48px, 15.6vw, 104px); }
  .entrada-apoio { max-width: 310px; }
  .entrada-apoio > p:first-child br { display: none; }
  .entrada-apoio > p:first-child { font-size: 15px; }
  .descricao { max-width: 30ch; margin-top: 8px; font-size: 12px; }
  .botao { width: 234px; margin-top: 18px; }
  .entrada-imagem { top: 220px; }
  .entrada-imagem img { object-position: 65% center; }
  .entrada-carro { width: 100%; right: 0; bottom: 85px; }
  .entrada::after { background: linear-gradient(180deg, #090909 27%, #090909a6 44%, #09090900 65%, #090909b3 100%); }
  .entrada-base { align-items: center; padding-top: 330px; }
  .entrada-base .rotulo { max-width: 160px; font-size: 8px; }
  .entrada-base p > span:last-child { font-size: 10px; }
  .explorar { gap: 10px; max-width: 120px; font-size: 10px; line-height: 1.5; }
  .explorar span { flex-shrink: 0; width: 32px; height: 32px; }
  .detalhes { padding-top: 67px; padding-bottom: 60px; }
  .detalhes-intro { grid-template-columns: 1fr; gap: 25px; margin-bottom: 32px; }
  h2 { font-size: clamp(48px, 10vw, 68px); }
  .texto-intro { justify-self: start; max-width: 42ch; }
  .detalhes-grade { grid-template-columns: 1fr; gap: 32px; }
  .detalhe-foto { aspect-ratio: 4 / 3; }
  figcaption { font-size: 27px; padding: 16px 0; }
  .chamada { padding-top: 24px; padding-bottom: 52px; }
  .chamada-cab { align-items: center; gap: 12px; }
  .chamada-cab .rotulo, .estado { font-size: 8px; letter-spacing: .06em; }
  .estado .sinal { margin-right: 4px; }
  .chamada-grade { grid-template-columns: 1fr; gap: 30px; padding-top: 37px; }
  .chamada-apoio { justify-self: start; max-width: none; }
  .rodape { display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; font-size: 8px; padding-top: 22px; padding-bottom: 22px; }
  .rodape > span:nth-child(2) { grid-row: 2; }
  .rodape a { grid-column: 2; grid-row: 1 / 3; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
