@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --linge: #F5F6F3;
  --encre: #141A24;
  --ardoise: #5A6270;
  --carreau: #E2E6E9;
  --bleu: #2848A0;
  --bleu-fonce: #1E3A86;
  --bleu-clair: #AFC0EA;

  --wrap: 1400px;
  --pad: 20px;
  --radius: 2px;
  --header: 64px;

  --narrow: 68%;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }

body {
  margin: 0;
  background: var(--linge);
  color: var(--encre);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  font-stretch: 100%;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Calls: the anchor holds the number only, so the owner's edit stays clean */
.call::before { content: "Appeler le\00a0"; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--bleu); color: #fff;
  font-weight: 650; font-size: 1.0625rem; text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 300ms ease;
  white-space: nowrap;
}
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.close a:focus-visible, .foot a:focus-visible { outline-color: var(--bleu-clair); }
.callbar:focus-visible { outline-color: var(--encre); outline-offset: -6px; }

.link { color: var(--bleu); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link-quiet { color: var(--encre); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--ardoise); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--bleu-fonce); }
  .link:hover, .link-quiet:hover { text-decoration-color: var(--bleu); color: var(--bleu); }
  .top-nav a:hover { color: var(--bleu); }
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--linge);
}
.top-in { display: flex; align-items: center; gap: 32px; height: var(--header); }
.mark { text-decoration: none; font-size: 1.5rem; line-height: 1; font-stretch: var(--narrow); letter-spacing: 0; white-space: nowrap; }
.mark b { font-weight: 800; }
.mark span { font-weight: 500; }
.top-nav { display: none; margin-left: auto; gap: 32px; }
.top-nav a { text-decoration: none; font-weight: 500; color: var(--ardoise); transition: color 300ms ease; }
.btn-top { display: none; margin-left: auto; min-height: 44px; font-size: 1rem; padding: 0 20px; transition: background-color 300ms ease, opacity 300ms ease, visibility 300ms; }
.hero-cta-on .btn-top { opacity: 0; visibility: hidden; }

/* Hero: the ruled job sheet */
.hero { min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header)); display: flex; }
.hero-in { display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 24px; padding-bottom: 40px; }

.hero-lead {
  font-size: 1.25rem; line-height: 1.3; font-weight: 500;
  max-width: 22ch; color: var(--encre);
  margin-bottom: 24px;
}

.sheet { border-top: 2px solid var(--encre); }
.sheet-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "tick word" "note note";
  align-items: center;
  column-gap: 12px;
  padding: 10px 0 14px;
  border-bottom: 2px solid var(--carreau);
}
.tick { grid-area: tick; width: 30px; height: 30px; fill: none; stroke: var(--bleu); stroke-width: 3; stroke-linecap: square; }
.sheet-word {
  grid-area: word;
  font-size: clamp(3.75rem, 19vw, 4.75rem);
  font-weight: 800; font-stretch: var(--narrow);
  line-height: 0.9; letter-spacing: -0.01em;
}
.sheet-note { grid-area: note; color: var(--ardoise); font-size: 1rem; padding-top: 4px; }

.hero-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.proof { font-weight: 600; font-size: 1.0625rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.actions .btn { display: none; }

/* Services */
.services { padding: 96px 0 104px; }
.h2 {
  font-size: 2.75rem; line-height: 0.95;
  font-weight: 800; font-stretch: var(--narrow);
  letter-spacing: -0.01em;
  max-width: 12ch;
}
.services-cols { display: grid; gap: 40px; margin-top: 48px; }
.nb { white-space: nowrap; }
.place-address, .foot-addr { white-space: pre-line; }
.h3 { font-size: 1.125rem; font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--encre); }
.lines li {
  font-size: 1.375rem; line-height: 1.25; font-weight: 500;
  padding: 16px 0; border-bottom: 2px solid var(--carreau);
}
.services-foot { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.services-foot .btn { display: none; }
.also { color: var(--ardoise); max-width: 46ch; font-size: 1.0625rem; }

/* Who */
.who { background: var(--carreau); padding: 72px 0; }
.who-year {
  font-size: 5.5rem; line-height: 0.85; font-weight: 800; font-stretch: var(--narrow);
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}
.who-text {
  font-size: 1.625rem; line-height: 1.2; font-weight: 600; font-stretch: 88%;
  max-width: 26ch; white-space: pre-line;
}

/* Hours and address */
.hours { padding: 88px 0 96px; }
.hours-in { display: grid; gap: 56px; }
.week-list { border-top: 2px solid var(--encre); }
.day {
  display: grid; grid-template-columns: 6.75rem 1fr; align-items: baseline;
  padding: 14px 0; border-bottom: 2px solid var(--carreau);
}
.day dt {
  font-weight: 800; font-stretch: var(--narrow);
  font-size: 1.625rem; line-height: 1.1; letter-spacing: 0;
}
.day dd { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 1rem; font-variant-numeric: tabular-nums; }
.day dd .off { color: var(--ardoise); }
.day.is-today dt { color: var(--bleu); }
.day.is-today dt::after {
  content: "aujourd'hui"; display: block;
  font-size: 0.8125rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--bleu);
}

.place-label { font-size: 0.875rem; font-weight: 700; color: var(--ardoise); margin-bottom: 8px; }
.place-address {
  font-size: 2.25rem; line-height: 1.05; font-weight: 800; font-stretch: var(--narrow);
  margin-bottom: 20px;
}
.place-label-2 { margin-top: 40px; }
.place-phone { font-size: 1.5rem; font-weight: 700; font-stretch: var(--narrow); }
.place-phone a { color: var(--bleu); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }

/* Close */
.close { background: var(--encre); color: var(--linge); padding: 88px 0 96px; }
.close-title {
  font-size: 2.125rem; line-height: 1.05; font-weight: 800; font-stretch: var(--narrow);
  max-width: 18ch; letter-spacing: -0.005em;
}
.close-phone {
  display: inline-block; margin-top: 32px;
  font-size: clamp(3rem, 16vw, 10rem); line-height: 1;
  font-weight: 700; font-stretch: var(--narrow);
  color: var(--bleu-clair); text-decoration: none;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  border-bottom: 3px solid var(--bleu-clair); padding-bottom: 6px;
  transition: color 300ms ease, border-color 300ms ease;
}
.close-phone::before {
  content: "Appeler le"; display: block;
  font-size: 1rem; font-weight: 600; font-stretch: 100%; color: var(--carreau);
  margin-bottom: 12px; letter-spacing: 0;
}
@media (hover: hover) and (pointer: fine) {
  .close-phone:hover { color: #fff; border-color: #fff; }
}

/* Footer */
.foot { background: var(--encre); color: var(--carreau); padding: 0 0 calc(48px + 60px); font-size: 0.9375rem; }
.foot-in { display: grid; gap: 12px; padding-top: 32px; border-top: 1px solid #2B3340; }
.foot a { color: var(--carreau); }
.foot-name { color: var(--linge); font-size: 1.0625rem; }
.foot-name { font-size: 1.375rem; line-height: 1; font-stretch: var(--narrow); }
.foot-name b { font-weight: 800; }
.foot-name span { font-weight: 500; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-credit { color: #8A93A1; }

/* Phone: the call under the thumb */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 20px calc(env(safe-area-inset-bottom, 0px));
  background: var(--bleu); color: #fff;
  font-weight: 650; font-size: 1.0625rem; text-decoration: none;
}

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal > *, .js .hero-in > :not(.sheet), .js .sheet-row {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    transition-delay: calc(var(--i, 0) * 0.08s);
  }
  .js .reveal.is-in > *, .js .hero-in.is-in > :not(.sheet), .js .hero-in.is-in .sheet-row { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 768 and up */
@media (min-width: 768px) {
  :root { --pad: 40px; --header: 72px; }
  .callbar { display: none; }
  .foot { padding-bottom: 48px; }
  .actions .btn, .services-foot .btn { display: inline-flex; }
  .btn-top { display: inline-flex; }

  .mark { font-size: 1.75rem; }
  .hero-lead { font-size: 1.5rem; max-width: 30ch; margin-bottom: 32px; }
  .sheet-row {
    grid-template-columns: 44px minmax(0, 6fr) minmax(0, 5fr);
    grid-template-areas: "tick word note";
    column-gap: 24px; align-items: end;
    padding: 12px 0 16px;
  }
  .tick { width: 44px; height: 44px; align-self: center; }
  .sheet-word { font-size: clamp(5rem, min(13vw, 15vh), 10rem); }
  .sheet-note { font-size: 1.125rem; line-height: 1.35; padding: 0 0 0.9em; max-width: 30ch; }

  .hero-foot { margin-top: 32px; }
  .proof { font-size: 1.125rem; }

  .services { padding: 128px 0 136px; }
  .h2 { font-size: 4rem; }
  .services-cols { grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; }
  .lines li { font-size: 1.5rem; }
  .services-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }

  .who { padding: 104px 0; }
  .who-in { display: grid; grid-template-columns: auto 1fr; column-gap: 56px; align-items: end; }
  .who-year { font-size: 9rem; margin-bottom: 0; }
  .who-text { font-size: 2.25rem; padding-bottom: 6px; }

  .hours { padding: 120px 0 128px; }
  .day { grid-template-columns: 11rem 1fr; padding: 16px 0; }
  .day dt { font-size: 2.25rem; }
  .day dd { font-size: 1.25rem; gap: 4px 40px; }

  .close { padding: 128px 0 120px; }
  .close-title { font-size: 3.5rem; }

  .foot-in { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .foot-legal, .foot-credit { grid-column: auto; }
}

@media (min-width: 1024px) {
  .hero-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .top-nav { display: flex; }
  .btn-top { margin-left: 0; }
}

@media (min-width: 1100px) {
  :root { --pad: 48px; }
  .services-in { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; column-gap: 64px; }
  .services-in .h2 { grid-column: 1; grid-row: 1; font-size: 5rem; }
  .services-cols { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .services-foot { grid-column: 1; grid-row: 2; align-self: end; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 40px; }
  .also { max-width: 34ch; }

  .hours-in { grid-template-columns: 7fr 4fr; gap: 96px; align-items: start; }
  .place { padding-top: 16px; }
  .place-address { font-size: 3rem; }

  .who-year { font-size: 13rem; }
  .who-text { font-size: 2.75rem; max-width: 24ch; padding-bottom: 12px; }

  .close-in { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 64px; }
  .close-title { font-size: 4.5rem; grid-column: 1 / -1; max-width: 20ch; }
  .close-phone { grid-column: 2; margin-top: 56px; }

  .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1.4fr 1.2fr; }
}
