@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("fonts/martian-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --gomme: #151514;
  --beton: #dfe0dd;
  --beton-2: #d0d2ce;
  --ardoise: #425660;
  --enseigne: #ebcf2f;
  --rouge-cric: #a72b29;
  --rouge-clair: #e06a5f;
  --g: clamp(16px, 4vw, 56px);
  --bar: 56px;
  --large: "Anybody", "Arial Narrow", sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); scrollbar-color: var(--ardoise) var(--beton); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beton);
  color: var(--gomme);
  font: 400 1.0625rem/1.6 var(--large);
  font-stretch: 100%;
}
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--enseigne); color: var(--gomme); }
:focus-visible { outline: 3px solid var(--enseigne); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.petit { font-size: .875rem; }
.enveloppe { padding-inline: var(--g); max-width: 1440px; margin-inline: auto; }
.intro { max-width: 52ch; margin: 0 0 clamp(2rem, 5vw, 4rem); color: var(--ardoise); }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--enseigne); color: var(--gomme); padding: 12px 16px; }
.skip:focus { left: 8px; top: 8px; }

h2, h3 { font-family: var(--large); text-wrap: balance; }
h2 {
  font-size: clamp(2rem, 4.4vw, 4.25rem);
  font-stretch: 130%;
  font-weight: 850;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

/* Barre du haut */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--bar);
  display: flex; align-items: center; gap: 24px; padding-inline: var(--g);
  background: var(--gomme); color: var(--beton);
  border-bottom: 1px solid rgb(223 224 221 / .14);
}
.bar__nom { font-stretch: 150%; font-weight: 900; text-transform: uppercase; text-decoration: none; font-size: 1rem; letter-spacing: .01em; white-space: nowrap; padding-block: 11px; }
.bar__nav { display: flex; gap: 22px; margin-left: auto; font-size: .9375rem; }
.bar__nav a { text-decoration: none; opacity: .8; padding-block: 10px; }
.bar__nav a:hover { opacity: 1; text-decoration: underline; }
.bar__tel {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: var(--enseigne); color: var(--gomme); text-decoration: none; font-weight: 700; white-space: nowrap;
  transition: background-color .2s ease-out;
}
.bar__tel:hover { background: var(--beton); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 22px;
  font-weight: 700; font-stretch: 112%; text-decoration: none; border: 2px solid transparent;
  transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}
.btn--plein { background: var(--enseigne); color: var(--gomme); border-color: var(--enseigne); }
.btn--plein:hover { background: var(--beton); border-color: var(--beton); }
.btn--trait { border-color: currentColor; }
.btn--trait:hover { background: var(--beton); color: var(--gomme); border-color: var(--beton); }

/* Accueil : la bande de roulement */
.une {
  position: relative; min-height: 100svh; padding-top: var(--bar);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--gomme); color: var(--beton); overflow: hidden;
}
.une__photo { position: absolute; inset: 0; }
.une__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.62); }
.une::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--gomme) 8%, rgb(21 21 20 / .15) 60%); }
.une__contenu { position: relative; z-index: 1; padding: 0 var(--g) clamp(20px, 3vw, 40px); container-type: inline-size; }
.une__nom {
  margin: 0 0 clamp(16px, 2vw, 28px);
  font-stretch: 150%; font-weight: 900; text-transform: uppercase;
  font-size: calc(100cqw / 11.35);
  line-height: .82; letter-spacing: -.02em; white-space: nowrap;
}
.une__accroche { max-width: 40ch; margin: 0 0 24px; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.45; }
.une__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.une__releve {
  list-style: none; margin: 0; padding: 14px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 0;
  border-top: 1px solid rgb(223 224 221 / .35); font-size: .875rem; color: rgb(223 224 221 / .82);
}
.une__releve li { padding-right: 18px; margin-right: 18px; border-right: 1px solid rgb(223 224 221 / .35); }
.une__releve li:last-child { border-right: 0; }
.une__releve .mono { font-size: 1em; }

/* Jauge de profondeur (dans l'accueil) */
.jauge {
  position: absolute; z-index: 2; right: var(--g); top: calc(var(--bar) + clamp(20px, 5vh, 56px));
  display: flex; flex-direction: column; align-items: flex-end; pointer-events: none;
}
.jauge__echelle { position: relative; }
.jauge__svg { display: block; width: 52px; height: clamp(110px, calc(100svh - 600px), 200px); overflow: visible; }
.jauge__corps { fill: var(--beton); stroke: var(--gomme); stroke-width: 1.5; }
.jauge__graduations line { stroke: var(--gomme); stroke-width: 1.5; }
.jauge__graduations text { font: 400 13px var(--mono); fill: var(--beton); }
.jauge__legal { stroke: var(--rouge-cric); stroke-width: 3; }
.jauge__touche { fill: var(--enseigne); stroke: var(--gomme); stroke-width: 1.5; }
.jauge__usure {
  position: absolute; right: calc(100% + 4px); top: calc(16.07% - .85em); margin: 0; white-space: nowrap;
  font-size: 12px; color: var(--gomme); background: var(--enseigne); padding: 3px 7px;
}
.jauge__legende {
  position: absolute; right: calc(100% + 4px); top: calc(77.1% - .7em); margin: 0; white-space: nowrap;
  font-size: 12px; line-height: 1.2; color: var(--rouge-clair); background: var(--gomme); padding: 3px 7px;
}
@media (min-width: 760px) {
  .jauge__svg { width: 76px; height: clamp(140px, calc(100svh - 520px), 420px); }
}

/* Occasion */
.occasion { position: relative; padding: clamp(64px, 10vw, 140px) var(--g); overflow: hidden; }
.occasion__mot {
  position: absolute; left: 0; right: 0; top: clamp(40px, 9vw, 110px); margin: 0; text-align: center;
  font-stretch: 150%; font-weight: 900; text-transform: uppercase; line-height: 1;
  font-size: calc(100vw / 8.5); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--gomme); opacity: .55; white-space: nowrap;
}
.occasion__grille { position: relative; display: grid; gap: clamp(32px, 5vw, 80px); max-width: 1440px; margin: 0 auto; }
.occasion__photo { position: relative; margin-top: clamp(24px, 5vw, 64px); }
.occasion__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.occasion__texte p { max-width: 50ch; }
.citation { margin-top: clamp(28px, 4vw, 48px); padding-top: 18px; border-top: 2px solid var(--gomme); }
.citation p { margin: 0 0 10px; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-stretch: 112%; font-weight: 650; line-height: 1.15; max-width: 22ch; }
.citation footer { font-family: var(--mono); font-size: .8125rem; color: var(--ardoise); }
.citation--garage { border-top-width: 1px; }
.citation--garage p { font-size: clamp(1.125rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.3; }
@media (min-width: 860px) {
  .occasion__grille { grid-template-columns: 5fr 6fr; align-items: start; }
  .occasion__texte { padding-top: clamp(120px, 16vw, 260px); }
}

/* Prestations : étiquettes de rack */
.atelier { padding: clamp(64px, 9vw, 130px) 0; background: var(--beton-2); }
.rack + .rack { margin-top: clamp(40px, 6vw, 72px); }
.rack__famille {
  margin: 0; padding: 12px 0; border-top: 3px solid var(--gomme);
  font-size: .875rem; font-stretch: 150%; font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
}
.rack__liste { margin: 0; }
.rack__liste > div { display: grid; gap: 4px 32px; padding: 16px 0 18px; border-top: 1px solid rgb(21 21 20 / .3); }
.rack__liste dt { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-stretch: 125%; font-weight: 750; line-height: 1.15; }
.rack__liste dd { margin: 0; max-width: 60ch; color: var(--ardoise); }
@media (min-width: 860px) {
  .rack { display: grid; grid-template-columns: 1fr 3fr; gap: 0 32px; }
  .rack__famille { border-top: 3px solid var(--gomme); align-self: start; }
  .rack__liste > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; }
  .rack__liste > div:first-child { border-top: 3px solid var(--gomme); }
}

/* Situations vécues */
.vecu { padding: clamp(64px, 9vw, 130px) 0; background: var(--ardoise); color: var(--beton); }
.vecu__liste { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 0 clamp(32px, 5vw, 72px); }
.vecu__liste li { padding: 22px 0 34px; border-top: 1px solid rgb(223 224 221 / .35); }
.vecu__liste h3 { margin: 0 0 12px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-stretch: 135%; font-weight: 800; line-height: 1.05; }
.vecu__liste p { margin: 0; max-width: 52ch; color: var(--beton); }
.vecu__liste .auteur { margin-top: 14px; font-family: var(--mono); font-size: .8125rem; color: var(--enseigne); }
@media (min-width: 860px) { .vecu__liste { grid-template-columns: 1fr 1fr; } }

/* Ce que les clients citent : la largeur suit le nombre de mentions */
.cites { padding: clamp(64px, 9vw, 130px) 0; }
.cites__liste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--gomme); }
.cites__liste li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--gomme); padding: 6px 0 4px; }
.cites__liste li:first-child { border-top-width: 3px; }
.cites__mot {
  font-size: clamp(1.9rem, 6.4vw, 5.5rem); font-weight: 820; text-transform: uppercase; line-height: 1;
  font-stretch: calc(var(--w) * 1%); letter-spacing: 0; min-width: 0; overflow-wrap: anywhere;
}
.cites__liste li:first-child .cites__mot { font-size: clamp(3.4rem, 13vw, 11rem); line-height: .9; }
.cites__n { flex: none; font-size: .9375rem; }

/* Avis */
.avis { padding: clamp(64px, 9vw, 130px) 0; background: var(--beton-2); }
.avis__note { margin: -8px 0 clamp(28px, 4vw, 48px); font-size: 1.0625rem; }
.avis__colonnes { columns: 1; column-gap: clamp(32px, 4vw, 56px); }
.avis__colonnes blockquote { break-inside: avoid; padding: 18px 0 28px; border-top: 1px solid rgb(21 21 20 / .35); }
.avis__colonnes p { margin: 0 0 10px; font-size: 1.125rem; line-height: 1.5; }
.avis__colonnes footer, .avis__garage footer { font-family: var(--mono); font-size: .8125rem; color: var(--ardoise); }
.avis__garage { margin-top: clamp(40px, 6vw, 80px); padding-top: 20px; border-top: 3px solid var(--gomme); }
.avis__garage p { margin: 0 0 12px; max-width: 30ch; font-size: clamp(1.6rem, 3.4vw, 2.75rem); font-stretch: 118%; font-weight: 700; line-height: 1.1; }
@media (min-width: 700px) { .avis__colonnes { columns: 2; } }
@media (min-width: 1100px) { .avis__colonnes { columns: 3; } }

/* Le hangar */
.hangar { padding: clamp(64px, 9vw, 130px) 0 0; background: var(--gomme); color: var(--beton); }
.hangar__grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 12px; }
.hangar__grille img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.hangar__grille .h1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.hangar__grille .h1 img { object-position: 50% 40%; }
.hangar__grille .h2, .hangar__grille .h6 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.hangar__grille .h3, .hangar__grille .h4, .hangar__grille .h5 { aspect-ratio: 3 / 4; }
.hangar__grille .h5 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.hangar__grille .h5 img { object-position: 50% 78%; }
@media (min-width: 860px) {
  .hangar__grille { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 16vw, 240px); }
  .hangar__grille figure { aspect-ratio: auto !important; }
  .hangar__grille .h1 { grid-column: 1 / 6; grid-row: 1 / 4; }
  .hangar__grille .h2 { grid-column: 6 / 10; grid-row: 1 / 3; }
  .hangar__grille .h3 { grid-column: 10 / 13; grid-row: 1 / 3; }
  .hangar__grille .h4 { grid-column: 6 / 8; grid-row: 3 / 5; }
  .hangar__grille .h5 { grid-column: 8 / 13; grid-row: 3 / 5; }
  .hangar__grille .h6 { grid-column: 1 / 6; grid-row: 4 / 5; }
}

/* Venir */
.venir { padding: clamp(64px, 9vw, 130px) 0; background: var(--ardoise); color: var(--beton); }
.venir__grille { display: grid; gap: clamp(32px, 5vw, 72px); }
.venir__infos > p { max-width: 50ch; }
.venir address { font-style: normal; margin: 24px 0; font-size: 1.25rem; font-stretch: 115%; font-weight: 650; line-height: 1.35; }
.lien-tel { display: inline-block; padding-block: 8px 4px; font-size: 1.375rem; text-decoration: none; border-bottom: 2px solid var(--enseigne); }
.venir h3 { margin: 32px 0 8px; font-size: .875rem; font-stretch: 150%; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.horaires { border-collapse: collapse; width: 100%; max-width: 30rem; margin-bottom: 18px; }
.horaires th, .horaires td { text-align: left; padding: 9px 0; border-top: 1px solid rgb(223 224 221 / .35); font-weight: 400; vertical-align: baseline; }
.horaires th { padding-right: 18px; font-weight: 700; width: 7.5rem; }
.venir .btn { margin-top: 12px; }
.venir__carte iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.5) contrast(1.05); }
@media (min-width: 960px) { .venir__grille { grid-template-columns: 1fr 1fr; } }

/* Pied */
.pied { container-type: inline-size; background: var(--gomme); color: var(--beton); padding: clamp(48px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.pied__nom {
  margin: 0 0 clamp(24px, 4vw, 48px); padding-inline: var(--g); white-space: nowrap;
  font-stretch: 150%; font-weight: 900; text-transform: uppercase; line-height: .85; letter-spacing: -.02em;
  font-size: calc((100cqw - 2 * var(--g)) / 11.35);
  color: transparent; -webkit-text-stroke: 1px rgb(223 224 221 / .55);
}
.pied__bas { display: grid; gap: 8px; color: rgb(223 224 221 / .8); }
.pied__bas p { margin: 0; }

/* Barre mobile */
.mobile { display: none; }
@media (max-width: 759px) {
  :root { --bar: 52px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .bar { gap: 8px; }
  .bar__nom { font-size: .875rem; }
  .bar__tel { padding: 0 10px; }
  .bar__nav { display: none; }
  .bar__tel { margin-left: auto; }
  .bar__tel-label { display: none; }
  .une__nom { font-size: calc(100cqw / 5.42); line-height: .86; }
  .une__nom span { display: block; }
  .une__releve li { border-right: 0; margin-right: 0; padding-right: 0; flex-basis: 100%; }
  .une__actions .btn { flex: 1 1 100%; }
  .une__appel { display: none; }
  .mobile {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 30;
    padding-bottom: env(safe-area-inset-bottom); background: var(--gomme);
  }
  .mobile a { display: flex; align-items: center; justify-content: center; height: 60px; font-weight: 800; font-stretch: 125%; text-decoration: none; text-transform: uppercase; color: var(--beton); }
  .mobile a:first-child { background: var(--enseigne); color: var(--gomme); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
