@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --plaque: #F2F1EC;      /* the white plastic of their roof sign */
  --blanc: #FFFFFF;
  --panneau: #17191B;     /* the black panel of the sign */
  --bitume: #2B2E31;
  --gris: #5C6166;
  --gris-nuit: #A9AEB3;   /* secondary text on the dark sections */
  --vert: #1C7A4A;        /* the green light of a free taxi: the call, the links */
  --vert-fonce: #155E39;
  --radius: 10px;
  --gutter: 20px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--plaque);
  color: var(--panneau);
  font: 400 18px/1.55 var(--text);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--vert); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; }

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

/* The call: every tel: link that is a button says "Appeler" before the number */
.btn-call, .top-call, .bar {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vert); color: var(--blanc);
  text-decoration: none; font-family: var(--display); font-weight: 700;
  letter-spacing: 0.02em; border-radius: var(--radius);
  font-variant-numeric: tabular-nums;
  transition: background-color 300ms ease;
}
.btn-call::before, .top-call::before, .bar::before {
  content: "Appeler";
  font-family: var(--text); font-weight: 500; letter-spacing: 0;
}
@media (hover: hover) and (pointer: fine) {
  .btn-call:hover, .top-call:hover, .bar:hover { background: var(--vert-fonce); }
  a:hover { text-decoration-thickness: 2px; }
}

/* Header: on the desktop only, once the hero's call has left the screen */
.top { display: none; background: var(--panneau); color: var(--plaque); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { display: inline-block; text-decoration: none; }
.mark-dome {
  display: inline-block; background: var(--blanc); padding: 5px 8px 6px;
  border-radius: 40% 40% 4px 4px / 90% 90% 4px 4px;
}
.mark-panel {
  display: block; background: var(--panneau); color: var(--blanc);
  font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 9px 4px; border-radius: 3px;
}
.top-call { display: none; }

/* Hero */
.hero {
  background: var(--panneau); color: var(--plaque);
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 48px 0;
}
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }

.sign { display: flex; justify-content: center; width: 100%; font-weight: inherit; }
.sign-dome {
  display: inline-block;
  background: var(--blanc);
  padding: 20px 16px 14px;
  border-radius: 56px 56px 6px 6px / 40px 40px 6px 6px;
  max-width: 100%;
}
.sign-panel {
  display: block; background: var(--panneau); color: var(--blanc);
  font: 700 clamp(38px, 13.4vw, 150px)/0.9 var(--display);
  text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap;
  padding: 0.2em 0.24em 0.14em; border-radius: var(--radius);
}

.hero-lead {
  margin-top: 40px; max-width: 30ch;
  font: 500 20px/1.4 var(--text); color: var(--plaque);
}
.hero-act { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.btn-call {
  flex-direction: column; gap: 2px;
  width: 100%; max-width: 420px; padding: 14px 24px 16px;
  font-size: 40px; line-height: 1;
}
.btn-call::before { font-size: 16px; line-height: 1.2; opacity: 0.92; }
.link-quiet { color: var(--plaque); font-size: 17px; }
.hero-proof { margin-top: 32px; font-size: 16px; color: var(--gris-nuit); }

/* Proof */
.proof { padding: 96px 0 88px; }
.proof-in { display: grid; gap: 56px; }
.quote-main blockquote p {
  font: 500 26px/1.32 var(--text); max-width: 34ch;
}
figcaption { margin-top: 16px; font-size: 16px; color: var(--gris); }
.proof-side { display: grid; gap: 32px; align-content: start; }
.quote-small blockquote p { font: 700 30px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.quote-small figcaption { margin-top: 8px; }
.proof-count { font-size: 17px; }

/* Trips */
.trips { padding: 24px 0 96px; }
.trips-title {
  font: 700 min(44px, 10.6vw)/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.01em;
}
.trips-title span { display: inline-block; }
.trip-list { margin-top: 48px; display: grid; gap: 40px; }
.trip h3 { font: 700 30px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.trip p { margin-top: 8px; color: var(--gris); max-width: 36ch; }

/* Jim */
.jim { background: var(--blanc); padding: 88px 0; }
.jim-quote p {
  font: 600 36px/1.08 var(--display); max-width: 22ch;
}
.jim-quote p::before { content: "«\00a0"; }
.jim-quote p::after { content: "\00a0»"; }
.jim-sign { margin-top: 24px; font: 700 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.jim-team { margin-top: 8px; color: var(--gris); }

/* Area and hours */
.area { background: var(--bitume); color: var(--plaque); padding: 88px 0 96px; }
.area-in { display: grid; gap: 64px; }
.area-label { font-size: 16px; color: var(--gris-nuit); }
.towns { margin-top: 16px; font: 700 min(46px, 9.6vw)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.towns span { display: block; white-space: nowrap; }
.area-note { margin-top: 24px; font-size: 18px; color: var(--plaque); }
.area-week h3 { font: 700 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.days { margin-top: 16px; }
.days li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; }
.day { font-size: 17px; color: var(--gris-nuit); }
.slots { display: flex; gap: 12px; font: 600 22px/1.1 var(--display); letter-spacing: 0.02em; }
.slots .off { color: var(--gris-nuit); }
.area-map { margin-top: 24px; font-size: 17px; }
.area a { color: var(--plaque); }

/* Close */
.close { padding: 96px 0 104px; }
.close-in { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.close h2 { font: 700 44px/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.btn-call--big { max-width: 480px; }

/* Footer */
.foot { background: var(--panneau); color: var(--gris-nuit); padding: 56px 0 120px; font-size: 16px; }
.foot-in { display: grid; gap: 20px; }
.foot-name { font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--plaque); }
.foot a { color: var(--plaque); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-credit { color: var(--gris-nuit); }

/* The call pinned under the thumb */
.bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 10; height: 56px; gap: 10px; font-size: 26px;
  transition: transform 300ms ease, opacity 300ms ease, background-color 300ms ease;
}
.bar::before { font-size: 17px; }
.bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Entrances */
.js .reveal > .wrap > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.is-in > .wrap > * { opacity: 1; transform: none; }
.js .reveal.is-in > .wrap > *:nth-child(2) { transition-delay: 0.08s; }
.js .reveal.is-in > .wrap > *:nth-child(3) { transition-delay: 0.16s; }
.js .reveal.is-in > .wrap > *:nth-child(4) { transition-delay: 0.24s; }

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .trip-list { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 48px; }
  .trips-title { font-size: 64px; }
  .close h2 { font-size: 64px; max-width: 14ch; }
  .jim-quote p { font-size: 52px; max-width: none; }
  .towns { font-size: 64px; }
  .quote-main blockquote p { font-size: 30px; }
}

@media (min-width: 900px) {
  :root { --gutter: 48px; }
  .top { display: block; position: sticky; top: 0; z-index: 10; }
  .js-bar .top { position: fixed; left: 0; right: 0; transition: transform 300ms ease; }
  .js-bar .top.is-hidden { transform: translateY(-100%); }
  .top-in { height: 80px; }
  .mark-panel { font-size: 18px; }
  .top-call { display: inline-flex; gap: 10px; height: 48px; padding: 0 20px; font-size: 24px; }
  .top-call::before { font-size: 16px; }
  .bar { display: none; }

  .hero { min-height: 100vh; padding: 64px 0; }
  .sign-dome { padding: 52px 44px 36px; border-radius: 160px 160px 12px 12px / 110px 110px 12px 12px; }
  .hero-lead { margin-top: 56px; font-size: 26px; max-width: 34ch; }
  .hero-act { margin-top: 40px; }
  .btn-call { font-size: 52px; padding: 18px 32px 20px; }
  .btn-call::before { font-size: 18px; }

  .proof { padding: 160px 0 136px; }
  .proof-in { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 96px; align-items: end; }
  .quote-main blockquote p { font-size: 40px; line-height: 1.25; }
  .quote-small blockquote p { font-size: 40px; }

  .trips { padding: 40px 0 160px; }
  .trips-title { font-size: 88px; max-width: none; }
  .trip-list { margin-top: 72px; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 48px; }
  .trip h3 { font-size: 34px; }

  .jim { padding: 144px 0; }
  .jim-quote p { font-size: 80px; max-width: none; }
  .jim-sign { margin-top: 40px; font-size: 32px; }

  .area { padding: 144px 0; }
  .area-in { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 80px; align-items: end; }
  .towns { font-size: 80px; }
  .area-note { font-size: 20px; }
  .days li { padding: 10px 0; }
  .slots { font-size: 26px; }
  .day { font-size: 18px; }

  .close { padding: 144px 0; }
  .close-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .close h2 { font-size: 88px; max-width: none; }
  .btn-call--big { width: auto; min-width: 420px; }

  .foot { padding: 64px 0; }
  .foot-in { grid-template-columns: 1fr 1fr 1fr 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > .wrap > * { opacity: 1; transform: none; transition: none; }
  .bar, .btn-call, .top-call, .js-bar .top { transition: none; }
}
