@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --encre: #22292B;
  --appret: #F4F3EF;
  --verre-clair: #E3ECE8;
  --verre-2: #C2D6CE;
  --verre: #8FB3A6;
  --verre-4: #4F8274;
  --verre-profond: #24584B;
  --gris: #5B6467;
  --rule: rgba(34, 41, 43, .16);

  --radius: 4px;
  --wrap: 1400px;
  --gut: 16px;

  --fs-name: clamp(56px, 15.2vw, 176px);
  --fs-no: clamp(34px, 10vw, 136px);
  --fs-h2: clamp(36px, 7vw, 76px);
  --fs-lead: clamp(19px, 1.7vw, 24px);
  --fs-body: 17px;
  --fs-small: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--appret);
  color: var(--encre);
  font: 400 var(--fs-body)/1.55 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--verre-profond); outline-offset: 3px; }
.close a:focus-visible, .foot a:focus-visible, .dock:focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Buttons and links: the accent lives here */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 24px;
  background: var(--verre-profond); color: #fff;
  border-radius: var(--radius);
  font-weight: 650; font-stretch: 108%; font-size: 17px; text-decoration: none;
  transition: background-color .3s, color .3s;
}
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--light { background: var(--appret); color: var(--verre-profond); }
.link { color: var(--verre-profond); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 5; }
.top__in { display: flex; align-items: center; gap: 32px; height: 64px; }
.top__what { font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; color: var(--gris); margin-right: auto; }
.top__nav { display: none; gap: 24px; font-size: 15px; }
.top__nav a { text-decoration: none; }
.top__call { display: none; }

/* Hero */
.hero {
  background: var(--verre-clair);
  min-height: 100vh; min-height: 100svh;
  display: flex;
}
.hero__in {
  display: flex; flex-direction: column;
  padding-top: 64px; padding-bottom: 84px;
}
.hero__name {
  font-weight: 800; font-stretch: 118%;
  font-size: var(--fs-name); line-height: .88; letter-spacing: -.015em;
  margin-left: -.04em;
}
.hero__name span { display: block; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.4; max-width: 30ch; margin: 24px 0 32px; }
.hero__head { margin-top: auto; padding-top: 8px; }

/* The fan deck: his number on five paint chips */
.deck { flex: 1 1 auto; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 136px; max-height: 440px; text-decoration: none; color: var(--encre); }
.deck__chip {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8px 8px 10px;
  transition: transform .3s;
}
.deck__chip:nth-child(1) { background: #fff; }
.deck__chip:nth-child(2) { background: var(--verre-2); }
.deck__chip:nth-child(3) { background: var(--verre); }
.deck__chip:nth-child(4) { background: var(--verre-4); color: #fff; }
.deck__chip:nth-child(5) { background: var(--verre-profond); color: #fff; }
.deck__no {
  font-weight: 800; font-stretch: 112%;
  font-size: var(--fs-no); line-height: .8; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.deck__go {
  position: absolute; top: 10px; right: 8px;
  font-size: 12px; font-weight: 650; letter-spacing: .02em;
}

.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; font-size: var(--fs-small); }
.hero__proof { font-weight: 600; }
.hero__more { color: var(--verre-profond); font-weight: 600; text-underline-offset: 3px; }

/* Fiche technique */
.fiche { padding: 80px 0; }
.fiche__in { display: grid; gap: 32px; }
.h2 { font-weight: 800; font-stretch: 112%; font-size: var(--fs-h2); line-height: .95; letter-spacing: -.01em; }
.fiche__note { color: var(--gris); margin-top: 16px; max-width: 32ch; }
.fiche__rows > div {
  display: grid; grid-template-columns: 6.5em 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--rule);
}
.fiche__rows > div:last-child { border-bottom: 1px solid var(--rule); }
.fiche__rows dt { color: var(--gris); font-size: var(--fs-small); padding-top: 3px; }
.fiche__rows dd { font-weight: 600; font-size: 19px; text-wrap: balance; }
.tab { font-variant-numeric: tabular-nums; }

/* Le métier */
.metier { padding: 0 0 80px; }
.metier__pair { display: grid; gap: 16px; }
.swatch {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px 16px 20px;
}
.swatch--peinture { background: var(--verre-4); color: #fff; }
.swatch--vitrerie { background: var(--verre); color: var(--encre); }
.swatch__tag { font-size: var(--fs-small); }
.swatch__word { font-weight: 800; font-stretch: 118%; font-size: var(--fs-h2); line-height: .9; letter-spacing: -.01em; }
.metier__act { margin-top: 32px; }

/* Horaires et siège */
.infos { background: var(--verre-clair); padding: 64px 0 80px; }
.infos__in { display: grid; gap: 64px; }
.infos__label { font-size: var(--fs-small); font-weight: 600; color: var(--gris); margin-bottom: 16px; }
.infos__place .infos__label:not(:first-child) { margin-top: 40px; }
.week > div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--rule); }
.week > div:last-child { border-bottom: 1px solid var(--rule); }
.week dt { font-weight: 700; font-stretch: 112%; font-size: 22px; }
.week dd { font-size: 19px; font-variant-numeric: tabular-nums; }
.week dd:empty::after { content: "—"; color: var(--gris); }
.week .off { color: var(--gris); }
.infos__note { margin-top: 16px; font-weight: 600; }
.infos__note:empty { display: none; }
.infos__addr { white-space: pre-line; font-weight: 700; font-stretch: 112%; font-size: 26px; line-height: 1.2; margin-bottom: 16px; }
.infos__tel a { font-weight: 800; font-stretch: 112%; font-size: 26px; text-decoration: none; color: var(--verre-profond); }

/* Close */
.close { background: var(--verre-profond); color: #fff; padding: 80px 0; }
.close__in { display: grid; gap: 32px; justify-items: start; }
.close__line { font-weight: 800; font-stretch: 112%; font-size: var(--fs-h2); line-height: .98; letter-spacing: -.01em; }
.close__line span { display: block; }

/* Footer */
.foot { background: var(--encre); color: #DDE3E0; padding: 48px 0 120px; font-size: var(--fs-small); }
.foot__in { display: grid; gap: 24px; }
.foot__name { font-weight: 800; font-stretch: 118%; font-size: 17px; color: #fff; }
.foot a { color: #fff; }
.foot__legal { color: #AEB8B5; }
.foot__addr { white-space: pre-line; }

/* Phone: the call pinned under the thumb */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 60px; padding: 0 var(--gut) env(safe-area-inset-bottom);
  background: var(--verre-profond); color: #fff; text-decoration: none;
  font-weight: 650; font-stretch: 108%;
}
.dock__no { font-variant-numeric: tabular-nums; opacity: .85; }

@media (min-width: 720px) {
  :root { --gut: 32px; }
  .fiche__in { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .fiche__rows > div { grid-template-columns: 8.5em 1fr; }
  .metier__pair { grid-template-columns: 1fr 1fr; gap: 16px; }
  .infos__in { grid-template-columns: 1.2fr 1fr; gap: 96px; }
  .foot__in { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  :root { --gut: 40px; }
  .top__nav, .top__call { display: flex; }
  .top { position: fixed; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
  .top.is-stuck { background: var(--appret); border-bottom-color: var(--rule); }
  [id] { scroll-margin-top: 72px; }
  .swatch { aspect-ratio: 16 / 10; padding: 24px 24px 28px; }
  .dock { display: none; }
  .foot { padding-bottom: 48px; }
  .hero__in { padding-top: 96px; padding-bottom: 40px; justify-content: center; }
  .hero__head { position: relative; margin: 0 0 48px; }
  .hero__lead { position: absolute; right: 0; bottom: .35em; max-width: 21ch; margin: 0; }
  .deck { min-height: 220px; max-height: 380px; }
  .deck__chip { padding: 16px 16px 20px; }
  .deck__go { top: 16px; right: 16px; font-size: 14px; }
  .fiche, .infos, .close { padding: 128px 0; }
  .metier { padding-bottom: 128px; }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--encre); }
  .btn--light:hover { background: #fff; color: var(--encre); }
  .deck:hover .deck__chip { transform: translateY(-6px); }
  .deck .deck__chip:nth-child(2) { transition-delay: .03s; }
  .deck .deck__chip:nth-child(3) { transition-delay: .06s; }
  .deck .deck__chip:nth-child(4) { transition-delay: .09s; }
  .deck .deck__chip:nth-child(5) { transition-delay: .12s; }
}

/* Reveal, once */
.js .reveal > .wrap > * { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in > .wrap > * { opacity: 1; transform: none; }
.js .reveal.is-in > .wrap > *:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-in > .wrap > *:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > .wrap > * { opacity: 1; transform: none; transition: none; }
  .deck__chip, .btn { transition: none; }
  .deck:hover .deck__chip { transform: none; }
}
