@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --mur: #F6F4EF;
  --bouleau: #EADFCB;
  --fauteuil: #3E9CA3;
  --sarcelle: #1B626B;
  --encre: #1D2526;
  --gris: #59625F;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 2px;
  --wrap: 1400px;
  --gutter: 24px;
  --top-h: 64px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top-h); }
body {
  margin: 0;
  background: var(--mur);
  color: var(--encre);
  font: 400 17px/1.55 var(--sans);
  letter-spacing: 0;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sarcelle); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid var(--sarcelle); outline-offset: 3px; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }

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

.nw, a[href^="tel:"] { white-space: nowrap; }
h1, h2, .close__line, .formats__title { text-wrap: balance; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--encre); color: var(--mur); padding: 8px 16px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top { height: var(--top-h); display: flex; align-items: center; }
.top__in { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--encre); line-height: 1.15; margin-right: auto; }
.brand__name { font: 500 20px/1.1 var(--serif); }
.brand__trade { font-size: 13px; color: var(--gris); }
.top .top__nav, .top .top__call { display: none; }
.top__venir { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 10px 24px;
  border-radius: var(--radius);
  background: var(--sarcelle); color: #fff;
  font: 500 15px/1.25 var(--sans);
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}
.btn--call::before { content: attr(data-label); font-size: 17px; font-weight: 600; }
.btn--line { min-height: 44px; padding: 8px 16px; background: transparent; color: var(--sarcelle); box-shadow: inset 0 0 0 1px var(--sarcelle); font-weight: 600; }
.btn--light { background: var(--mur); color: var(--sarcelle); }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.arrow::after { content: "→"; transition: transform .3s ease; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--encre); }
  .btn--line:hover { background: var(--sarcelle); color: #fff; }
  .btn--light:hover { background: #fff; color: var(--encre); }
  .arrow:hover::after { transform: translateX(4px); }
  .top__nav a:hover { color: var(--sarcelle); }
}

/* ---------- hero ---------- */
.hero { display: flex; flex-direction: column; min-height: calc(100svh - var(--top-h) - var(--bar-h)); }
.hero__media { height: 30svh; min-height: 200px; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 72%; }
.hero__text { padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; }
.hero__kicker { font-size: 14px; font-weight: 500; color: var(--gris); margin-bottom: 8px; }
.hero__name { font: 400 46px/1 var(--serif); letter-spacing: -0.01em; font-variation-settings: "opsz" 72; }
.motto { font: 300 26px/1.22 var(--serif); margin-top: 20px; font-variation-settings: "opsz" 36; }
.motto__line { display: block; }
.motto__step { display: flex; align-items: flex-end; gap: 8px; margin-left: 1.1em; margin-top: 2px; color: var(--sarcelle); }
.motto__step em { font-style: italic; font-weight: 400; }
.motto__stair { flex: none; width: 1.1em; height: .62em; margin-bottom: .22em; fill: none; stroke: var(--fauteuil); stroke-width: 2.2; stroke-linecap: square; }
.hero__proof { margin-top: 20px; font-size: 14px; color: var(--gris); }
.hero__actions .btn--call { display: none; }
.hero__actions { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.hero__when { margin-top: 8px; font-size: 15px; color: var(--gris); }

/* ---------- the list, in her words ---------- */
.maux { background: var(--bouleau); padding: 64px 0; }
.maux__list { font: 300 30px/1.25 var(--serif); font-variation-settings: "opsz" 48; text-wrap: pretty; }
.maux__foot { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.maux__note { font-size: 15px; color: var(--gris); max-width: 44em; }

/* ---------- formats ---------- */
.formats { padding: 72px 0 64px; }
.formats__title { font: 400 34px/1.1 var(--serif); font-variation-settings: "opsz" 60; max-width: 14em; }
.formats__list { margin-top: 40px; display: grid; gap: 32px; }
.formats__list li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; align-items: baseline; }
.formats__n { font: italic 400 24px/1 var(--serif); color: var(--fauteuil); grid-row: span 2; }
.formats__list h3 { font: 400 24px/1.2 var(--serif); font-variation-settings: "opsz" 36; }
.formats__list p { color: var(--gris); margin-top: 4px; max-width: 30em; }

/* ---------- reviews ---------- */
.avis { padding: 32px 0 72px; }
.avis__in { display: grid; gap: 40px; }
.avis blockquote p { font-family: var(--serif); quotes: "«\00a0" "\00a0»"; }
.avis blockquote p::before { content: open-quote; }
.avis blockquote p::after { content: close-quote; }
.avis__main blockquote p { font-size: 27px; line-height: 1.25; font-weight: 300; font-variation-settings: "opsz" 40; text-wrap: pretty; }
.avis__side blockquote p { font-size: 20px; line-height: 1.35; font-style: italic; }
.avis figcaption { margin-top: 16px; font-size: 14px; color: var(--gris); }
.avis__main figcaption::before, .avis__side figcaption::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--fauteuil); vertical-align: middle; margin-right: 12px; }
.avis__score { font-size: 15px; color: var(--gris); }
.avis__score strong { font: 400 22px/1 var(--serif); color: var(--encre); margin-right: 4px; }

/* ---------- cabinet ---------- */
.cabinet { padding: 0 0 72px; }
.cabinet__in { display: grid; gap: 32px; }
.cabinet__photo { margin: 0 calc(var(--gutter) * -1); }
.cabinet__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cabinet__text h2 { font: 400 32px/1.12 var(--serif); font-variation-settings: "opsz" 60; max-width: 12em; }
.cabinet__about { margin-top: 16px; font-size: 18px; max-width: 32em; }
.facts { margin-top: 24px; display: grid; gap: 8px; }
.facts li { padding-left: 24px; position: relative; color: var(--gris); }
.facts li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--fauteuil); }

/* ---------- venir ---------- */
.venir { background: var(--bouleau); padding: 64px 0; }
.venir__in { display: grid; gap: 32px; grid-template-areas: "where" "photo" "hours"; }
.venir__where { grid-area: where; }
.venir__photo { grid-area: photo; }
.venir__hours { grid-area: hours; }
.venir__title { font: 400 34px/1.1 var(--serif); font-variation-settings: "opsz" 60; }
.venir__address { margin: 16px 0 8px; font: 400 22px/1.35 var(--serif); white-space: pre-line; }
.venir__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
.venir__photo figcaption { margin-top: 8px; font-size: 14px; color: var(--gris); }
.venir__hours h3 { font: 600 15px/1.3 var(--sans); color: var(--gris); margin-bottom: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; box-shadow: inset 0 -1px 0 rgba(29, 37, 38, .14); }
.hours dt { font-weight: 500; }
.hours dd { text-align: right; font-variant-numeric: tabular-nums; }
.hours dd span + span::before { content: " · "; }
.hours .off { color: var(--gris); }
.hours div.is-today dt, .hours div.is-today dd { color: var(--sarcelle); font-weight: 600; }
.hours__note { margin-top: 16px; color: var(--gris); }

/* ---------- close ---------- */
.close { background: var(--sarcelle); color: var(--mur); padding: 64px 0; }
.close__in { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.close__line { font: 300 34px/1.15 var(--serif); font-variation-settings: "opsz" 60; max-width: 13em; }

/* ---------- footer ---------- */
.foot { background: var(--encre); color: #C9CFCC; padding: 40px 0 48px; font-size: 15px; }
.foot__in { display: grid; gap: 24px; }
.foot a { color: #fff; }
.foot__name { color: #fff; font-weight: 500; }
.foot__legal p + p { margin-top: 8px; color: #9AA3A0; }

/* ---------- call bar, phone only ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--sarcelle); color: #fff;
  font: 500 17px/1 var(--sans); text-decoration: none;
}
.callbar::before { content: attr(data-label); font-weight: 600; }
.callbar::after { content: ""; }

/* ---------- reveal ---------- */
.js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in > * { opacity: 1; transform: none; }
.js .reveal.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal.is-in > *:nth-child(4) { transition-delay: .24s; }

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

/* ---------- 768 and up ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; --top-h: 80px; --bar-h: 0px; }
  .callbar { display: none; }
  .top__venir { display: none; }
  .top .top__call { display: inline-flex; }
  .top .top__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
  .top__nav a { color: var(--encre); text-decoration: none; }
  .brand__name { font-size: 22px; }

  .hero { min-height: calc(100vh - var(--top-h)); }
  .hero__media { height: 46vh; }
  .hero__text { padding: 48px var(--gutter) 64px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn--call { display: inline-flex; }
  .hero__when { margin-top: 16px; }
  .hero__name { font-size: 64px; }
  .motto { font-size: 34px; }

  .maux { padding: 96px 0; }
  .maux__list { font-size: 40px; }
  .maux__foot { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 32px; }

  .formats { padding: 112px 0 96px; }
  .formats__title { font-size: 44px; }

  .avis { padding: 32px 0 112px; }
  .avis__in { grid-template-columns: 7fr 5fr; column-gap: 64px; align-items: end; }
  .avis__main blockquote p { font-size: 34px; }
  .avis__score { grid-column: 1 / -1; }

  .cabinet { padding-bottom: 112px; }
  .cabinet__in { grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
  .cabinet__photo { margin: 0; }
  .cabinet__text h2 { font-size: 44px; }

  .venir { padding: 96px 0; }
  .venir__in { grid-template-columns: 1fr 1fr; grid-template-areas: "where photo" "hours hours"; column-gap: 48px; row-gap: 48px; align-items: start; }
  .venir__title { font-size: 44px; }
  .venir__address { font-size: 26px; }
  .venir__hours { max-width: 560px; }

  .close { padding: 96px 0; }
  .close__in { flex-direction: row; align-items: center; justify-content: space-between; }
  .close__line { font-size: 44px; }

  .foot__in { grid-template-columns: 1fr auto; align-items: end; }
  .foot__legal { text-align: right; }
}

/* ---------- 1000 and up ---------- */
@media (min-width: 1000px) {
  .formats__list { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .venir__in { grid-template-columns: 5fr 6fr; grid-template-areas: "where photo" "hours photo"; column-gap: 64px; row-gap: 40px; }
  .venir__hours { max-width: none; }
}

/* ---------- 1100 and up: the photo takes the right half of the hero ---------- */
@media (min-width: 1100px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__media { order: 2; height: auto; min-height: 0; }
  .hero__media img { object-position: 14% 70%; }
  .hero__text {
    order: 1; justify-content: center;
    padding: 48px 64px 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  }
  .hero__name { font-size: 88px; }
  .motto { font-size: 42px; margin-top: 32px; }
  .hero__proof { margin-top: 32px; font-size: 15px; }
  .hero__actions { margin-top: 32px; }

  .maux__list { font-size: 52px; max-width: 22em; }
  .formats__title { font-size: 52px; }
  .avis__main blockquote p { font-size: 40px; }
  .cabinet__text h2, .venir__title, .close__line { font-size: 52px; }
}
