.carnet .surround {
  padding: 0;
  background: #171c15;
}

.carnet .stage {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.garage {
  --outer: clamp(17px, 4.15vw, 88px);
  --ivory: #f8f5f2;
  --muted: #bdb6cd;
  --golden: #ffd440;
  --line: #eeebff28;
  position: relative;
  width: 100%;
  padding: clamp(35px, 5vw, 78px) var(--outer) clamp(25px, 3vw, 47px);
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 14% 23%, #302447 0, #1b1529 36%, transparent 71%),
    radial-gradient(ellipse at 87% 111%, #2b204145, transparent 58%),
    #13101d;
  scroll-margin-block-start: 0;
  overflow: clip;
}

.garage [hidden] { display: none !important; }
.garage button { color: inherit; font-family: inherit; cursor: pointer; }
.garage :is(button, a, input):focus-visible {
  outline: 2px solid var(--golden);
  outline-offset: 3px;
}
.garage > :is(.garage-head, .garage-viewport, .garage-rail, .garage-credit) {
  max-width: 1640px;
  margin-inline: auto;
}
.garage-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: clamp(20px, 2.6vw, 40px);
}
.garage-head :is(h1,h2) {
  margin: 0;
  font-size: clamp(38px, 5.25vw, 91px);
  font-weight: 500;
  letter-spacing: -.069em;
  line-height: .98;
}
.garage-navigation { display: flex; align-items: center; gap: clamp(9px, 1.1vw, 19px); }
.garage-navigation span {
  min-width: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: .07em;
  white-space: nowrap;
}
.garage-navigation button {
  display: grid;
  place-content: center;
  width: 47px;
  height: 47px;
  padding: 0;
  border: 1px solid #bfb8e259;
  border-radius: 50%;
  background: #231d33;
}
.garage-navigation button:hover { color: #1b1421; background: var(--golden); border-color: var(--golden); }
.garage .chev {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 1.6px 1.6px 0 0;
  transform: translateX(-2px) rotate(45deg);
}
.garage .chev.prev { transform: translateX(2px) rotate(-135deg); }

.garage-main {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(325px, 1fr);
  min-width: 0;
  border: 1px solid #dad0f246;
  border-radius: 24px;
  overflow: hidden;
  background: #1d172a;
  box-shadow: 0 38px 82px -35px #08060ddb, 0 5px 14px #09070c40;
}
.garage-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(447px, 36vw, 650px);
  background:
    radial-gradient(ellipse 70% 43% at 55% 91%, #9685b235, transparent 83%),
    radial-gradient(ellipse 75% 91% at 49% 32%, #62577f, #38304f 53%, #1d182b 91%);
}
.garage-visual::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 26% at 50% 75%, #b7a8d026, transparent 97%),
    linear-gradient(158deg, #9b83bc16, transparent 38%),
    linear-gradient(0deg, #100d1985, transparent 41%);
}
.garage-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.garage-photo {
  position: absolute;
  inset: 15% 7% 16%;
  width: 86%;
  height: 69%;
  object-fit: contain;
  filter: brightness(.94) drop-shadow(0 20px 10px #0d0915b8);
}
.garage-visual-actions {
  position: absolute;
  z-index: 2;
  top: clamp(13px, 2vw, 30px);
  left: clamp(13px, 2vw, 30px);
  right: clamp(13px, 2vw, 30px);
  display: flex;
  justify-content: space-between;
  gap: 7px;
  pointer-events: none;
}
.garage-visual-actions button, .garage-load-options button {
  min-height: 42px;
  padding: 5px 15px;
  border: 1px solid #eee8ff44;
  border-radius: 99px;
  background: #171222dc;
  box-shadow: 0 2px 7px #110e173d;
  pointer-events: auto;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.garage-visual-actions button:hover, .garage-load-options button:hover { background: #4b405c; }
.garage-expand { margin-left: auto; }
.garage-load {
  position: relative;
  padding: clamp(67px, 6.4vw, 94px) clamp(13px, 3vw, 39px) 23px;
}
.garage-load-heading h3 { font-size: clamp(25px, 2.35vw, 37px); font-weight: 650; line-height: 1.08; }
.garage-load-heading p { margin: 5px 0 12px; color: #e0d6f1; font-size: 14px; }
.garage-load-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
}
.garage-load-options fieldset { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; border: 0; }
.garage-load-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 41px;
  padding: 6px 12px;
  border: 1px solid #ede3ff50;
  border-radius: 99px;
  background: #1d172bbb;
  cursor: pointer;
  font-size: 13px;
  font-weight: 620;
}
.garage-load-options label:has(input:checked) { border-color: #ffe188; background: #3d304e; }
.garage-load-options input { margin: 0; accent-color: var(--golden); }
.garage-load canvas {
  width: 100%;
  height: auto;
  margin-block: 12px;
  border: 1px solid #efe3ff33;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 53%, #605276b5, #241d36b8 83%),
    #342845;
}
.garage-load-progress { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 650; }
.garage-load-progress progress { min-width: 45px; height: 9px; flex: 1; accent-color: var(--golden); }
.garage-load-status { margin-top: 9px; font-size: 13px; }
.garage-load-note { margin-top: 5px; color: #e0d6f1; font-size: 12px; line-height: 1.4; }

.garage-fiches {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(27px, 3.15vw, 61px);
  border-left: 1px solid var(--line);
  background: radial-gradient(ellipse at 0% 4%, #30263f, transparent 120%), #201929;
  touch-action: pan-y;
}
.garage-fiches article { width: 100%; }
.garage-type {
  color: var(--golden);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin: 0 0 12px;
}
.garage-fiches h3 {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 70px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.garage-desc {
  max-width: 45ch;
  margin: 15px 0 23px;
  color: #d4ccde;
  font-size: clamp(15px, 1.08vw, 19px);
  line-height: 1.55;
}
.garage-fiches dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
}
.garage-fiches dl div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 11px 13px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #100c1852;
}
.garage-fiches dl div:last-child:nth-child(odd) { grid-column: span 2; }
.garage-fiches dt { color: var(--muted); font-size: 12px; line-height: 1.35; }
.garage-fiches dd { margin: 0; font-size: clamp(15px, 1.2vw, 20px); font-weight: 610; line-height: 1.24; }
.garage-note { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 10px 0 0; }
.garage-contact {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-block: 1px;
  margin-top: 14px;
  color: var(--golden);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.garage-rail {
  display: flex;
  align-items: stretch;
  gap: clamp(6px, .85vw, 14px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #87809a #211b2e;
  padding: 7px 3px 8px;
  margin-top: clamp(12px, 1.5vw, 24px);
}
.garage-rail button {
  position: relative;
  display: flex;
  min-width: 98px;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(9px, 1.05vw, 18px) 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(150deg, #342a45, #221b30);
  scroll-snap-align: center;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.garage-rail button:hover { transform: translateY(-3px); border-color: #b1a5c6; }
.garage-rail button[aria-pressed=true] {
  border-color: #ffd756d6;
  color: var(--golden);
  background: radial-gradient(ellipse at 48% 20%, #645368 0, #39304c 63%, #2d2440);
  box-shadow: inset 0 0 18px #e6b95618;
}
.garage-rail img {
  display: block;
  width: min(100%, 165px);
  height: clamp(36px, 4.3vw, 78px);
  object-fit: contain;
  filter: drop-shadow(0 6px 5px #0f0c17db);
}
.garage-rail span { font-size: 14px; font-weight: 610; line-height: 1.25; white-space: nowrap; }
.garage-credit {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding: 7px 3px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.garage-credit a { text-decoration: underline; text-underline-offset: 3px; }
.garage-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.garage-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  height: 100dvh;
}
.garage-dialog .garage-visual { width: 100%; height: 100%; min-height: 0; }
.garage-dialog .garage-load-toggle { display: none; }
.garage-dialog::backdrop { background: #14101c; }

@media (max-width: 1040px) {
  .garage-main { grid-template-columns: minmax(0, 1.42fr) minmax(303px, 1fr); }
  .garage-fiches { padding: 25px; }
}
@media (max-width: 720px) {
  .garage { padding-block: 31px 26px; }
  .garage-head { margin-block-end: 11px; }
  .garage-rail { margin-block: 0 9px; }
  .garage-head :is(h1,h2) { font-size: clamp(32px, 8.2vw, 48px); }
  .garage-navigation button { width: 38px; height: 38px; }
  .garage-navigation span { min-width: 42px; font-size: 11px; }
  .garage-main { display: flex; flex-direction: column; border-radius: 16px; }
  .garage-visual { min-height: clamp(280px, 78vw, 445px); }
  .garage-fiches { padding: 23px 17px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .garage-fiches h3 { font-size: clamp(34px, 8.2vw, 49px); }
  .garage-desc { margin: 10px 0 15px; }
  .garage-visual-actions button, .garage-load-options button { min-height: 38px; padding-inline: 11px; font-size: 12px; }
  .garage-load-options label { min-height: 38px; padding-inline: 8px; font-size: 12px; }
  .garage-rail button { flex: 0 0 25%; min-width: 83px; padding-inline: 5px; }
  .garage-rail span { font-size: 12px; }
}
@media (max-width: 365px) {
  .garage { --outer: 13px; }
  .garage-head :is(h1,h2) { font-size: 29px; }
  .garage-navigation button { width: 33px; height: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  .garage button { transition: none; }
  .garage-rail button:hover { transform: none; }
}
