:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  background: #111713;
  color: #f3f6f1;
}

* { box-sizing: border-box; }
body { margin: 0; }
main {
  max-width: 920px;
  margin-inline: auto;
  padding: max(24px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
}
header { margin: 0 0 16px 2px; }
h1 {
  margin: 3px 0;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: .99;
  letter-spacing: -.06em;
}
.brand, .description { margin: 0; font-size: 1rem; }
.brand { color: #c9f87c; font-weight: 650; }
.description { margin-top: 8px; color: #dae1d7; }
figure {
  margin: 0;
  border-radius: 17px;
  overflow: hidden;
  background: #222b24;
}
model-viewer {
  display: block;
  width: 100%;
  height: clamp(360px, 61svh, 645px);
  background-color: #d6dcda;
  --poster-color: #d6dcda;
  --progress-bar-color: #4b742c;
}
model-viewer:not(:defined) {
  background: #d6dcda url("./maquete.jpg") center / contain no-repeat;
}
model-viewer:not(:defined) .place { display: none; }
.place {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 48px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  background: #caee88;
  color: #111b0d;
  box-shadow: 0 6px 24px #1f301636;
  font: 700 1rem / 1.2 system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
figcaption {
  min-height: 42px;
  padding: 10px 14px;
  color: #e0e8de;
  font-size: .9375rem;
}
footer { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #6f7c71;
  border-radius: 8px;
  color: #f0f5ed;
  text-decoration: none;
}
:focus-visible { outline: 3px solid #77a342; outline-offset: 3px; }
