@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 {
  --ardoise: #23282E;
  --ardoise-claire: #5B6570;
  --enduit: #F2F1EE;
  --pierre: #DDD5C7;
  --vert: #17694F;
  --vert-fonce: #10523D;
  --rule: rgba(35, 40, 46, .16);
  --radius: 4px;
  --gutter: 24px;
  --top: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 48px; --top: 80px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--top);
}

body {
  margin: 0;
  background: var(--enduit);
  color: var(--ardoise);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ardoise); color: var(--enduit); padding: 8px 16px; z-index: 60;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; }

/* Actions */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px;
  background: var(--vert); color: #fff;
  border-radius: var(--radius);
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: background-color .3s var(--ease);
}
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }

.link {
  color: var(--vert);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  transition: color .3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--vert-fonce); }
  .link:hover { color: var(--ardoise); }
  .number:hover { color: var(--vert); }
}

/* Header */

.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--enduit);
}
.top__in {
  height: var(--top);
  display: flex; align-items: center; justify-content: space-between;
}
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.mark__name { font-weight: 700; font-size: 19px; font-stretch: 88%; letter-spacing: .01em; }
.mark__trade { font-size: 14px; color: var(--ardoise-claire); font-weight: 500; }
.top__call { display: none; transition: opacity .3s var(--ease), background-color .3s var(--ease); }
.top--calm .top__call { opacity: 0; pointer-events: none; }

/* Hero */

.hero__in {
  min-height: calc(100vh - var(--top));
  min-height: calc(100svh - var(--top));
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 32px; padding-bottom: 104px;
}
.hero__title {
  font-size: 32px; line-height: 1.12; font-weight: 600; font-stretch: 92%;
  max-width: 24ch; letter-spacing: -.005em;
  text-wrap: balance;
}
.hero__where { margin-top: 16px; font-size: 17px; color: var(--ardoise-claire); }

.hero__call { padding-top: 32px; }
.number {
  display: block;
  font-size: calc((min(100vw, 1400px) - 2 * var(--gutter)) / 5.2);
  line-height: .9;
  font-weight: 720;
  font-stretch: 72%;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
  margin-left: -.04em;
  transition: color .3s var(--ease);
}
.hero__actions { margin-top: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__btn { display: none; }
.hero__proof { margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--ardoise-claire); }

/* Voice */

.voice { background: var(--ardoise); color: var(--enduit); padding: 80px 0 88px; }
.voice__quote { margin: 0; }
.voice__quote p {
  font-size: 32px; line-height: 1.16; font-weight: 500; font-stretch: 90%;
  max-width: 22ch; text-indent: -.5em; text-wrap: balance;
}
.voice__quote p::before { content: "«\00a0"; }
.voice__quote p::after { content: "\00a0»"; }
.voice__who { margin-top: 24px; font-size: 15px; color: rgba(242, 241, 238, .72); }
.voice__score { margin-top: 48px; font-size: 17px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.voice__score strong { font-weight: 700; }
.voice .link { color: var(--enduit); }

/* Soins */

.soins { padding: 88px 0 96px; }
.h2 { font-size: 30px; line-height: 1.1; font-weight: 650; font-stretch: 88%; letter-spacing: -.005em; }
.soins__lede { margin-top: 16px; max-width: 34ch; color: var(--ardoise-claire); }
.soins__list { list-style: none; margin: 40px 0 0; padding: 0; }
.soins__list li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 19px; line-height: 1.35; font-weight: 500;
}
.soins__note { margin-top: 32px; font-weight: 500; }

/* Annie */

.annie { padding: 32px 0 112px; }
.annie__in { display: grid; gap: 48px; }
.annie__year {
  font-size: 112px; line-height: .86; font-weight: 720; font-stretch: 72%;
  letter-spacing: -.01em; margin-bottom: 24px;
}
.annie__since {
  display: block; font-size: .34em; line-height: 1; font-weight: 650; font-stretch: 80%;
  letter-spacing: 0; color: var(--ardoise-claire); margin-bottom: .12em;
}
.annie__text .h2 + p { margin-top: 16px; font-size: 19px; max-width: 30ch; }
.annie__team { margin-top: 12px; font-size: 19px; color: var(--ardoise-claire); }
.annie__photo { margin: 0; max-width: 240px; }
.annie__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--pierre); border-radius: var(--radius); }
.annie__photo figcaption { margin-top: 12px; font-size: 14px; color: var(--ardoise-claire); }

/* Venir */

.venir { background: var(--pierre); padding: 88px 0 96px; }
.venir__in { display: grid; gap: 56px; }
.venir__address {
  font-size: 38px; line-height: 1.04; font-weight: 700; font-stretch: 76%;
  letter-spacing: -.005em; max-width: 10ch;
}
.venir__access { margin-top: 20px; }
.venir__links { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.venir__h3 { font-size: 15px; font-weight: 650; letter-spacing: .02em; color: var(--ardoise); }
.hours { margin: 12px 0 0; }
.hours > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-top: 1px solid var(--rule);
}
.hours dt { font-weight: 500; }
.hours dd { margin: 0; text-align: right; }
.hours dd span + span::before { content: ", "; }
.hours dd:empty::after { content: "—"; color: var(--ardoise); opacity: .55; }
.hours .off { color: var(--ardoise); opacity: .7; }
.venir__phone { margin-top: 24px; }
.venir__phone a { color: var(--vert); font-weight: 700; white-space: nowrap; text-underline-offset: .22em; }

/* Close */

.close { padding: 104px 0 112px; }
.close__in { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.close__title {
  font-size: 36px; line-height: 1.06; font-weight: 700; font-stretch: 80%;
  letter-spacing: -.01em; max-width: 24ch; text-wrap: balance;
}

/* Footer */

.foot { background: var(--ardoise); color: rgba(242, 241, 238, .78); padding: 48px 0 128px; font-size: 15px; }
.foot__in { display: grid; gap: 32px; }
.foot__name { color: var(--enduit); font-weight: 600; margin-bottom: 4px; }
.foot a { color: var(--enduit); text-underline-offset: .2em; }
.foot__legal p:first-child { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__by { margin-top: 12px; }

/* Dock, phone only */

.dock {
  position: fixed; z-index: 50;
  left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--vert); color: #fff;
  border-radius: var(--radius);
  font-weight: 600; font-size: 17px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(35, 40, 46, .22);
}

/* Tablet and up */

@media (min-width: 600px) {
  .hero__title { font-size: 52px; }
  .voice__quote p { font-size: 40px; }
  .h2 { font-size: 40px; }
  .venir__address { font-size: 52px; }
  .close__title { font-size: 48px; }
  .annie__year { font-size: 152px; }
}

@media (min-width: 900px) {
  .top__call { display: inline-flex; }
  .mark__name { font-size: 22px; }
  .mark__trade { font-size: 15px; }
  .dock { display: none; }
  .hero__btn { display: inline-flex; }
  .foot { padding-bottom: 56px; }

  .hero__in { padding-top: 56px; padding-bottom: 56px; }
  .hero__title { font-size: 52px; max-width: none; }
  .hero__where { font-size: 19px; }
  .hero__actions { margin-top: 32px; gap: 32px; }

  .voice { padding: 128px 0 136px; }
  .voice__quote p { font-size: 84px; line-height: 1.04; }
  .voice__who { font-size: 17px; margin-top: 40px; }
  .voice__score { margin-top: 16px; font-size: 17px; }

  .soins { padding: 128px 0; }
  .soins .h2 { font-size: 56px; }
  .soins__in { display: grid; grid-template-columns: 5fr 7fr; gap: 0 64px; align-items: start; }
  .soins__list { margin-top: 0; }
  .soins__list li { font-size: 24px; padding: 18px 0; }
  .soins__note { grid-column: 2; }

  .annie { padding: 32px 0 144px; }
  .annie__in { grid-template-columns: 8fr 4fr; gap: 64px; align-items: end; }
  .annie__year { font-size: 220px; }
  .annie__photo { justify-self: end; width: 100%; max-width: 320px; }

  .venir { padding: 120px 0 128px; }
  .venir__in { grid-template-columns: 7fr 5fr; gap: 64px; }
  .venir__address { font-size: 68px; }
  .venir__links { flex-direction: row; gap: 32px; }

  .close { padding: 144px 0; }
  .close__in { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .close__title { font-size: 64px; }

  .foot__in { grid-template-columns: 1fr auto; align-items: end; }
  .foot__legal { text-align: right; }
  .foot__legal p:first-child { justify-content: flex-end; }
}

/* Reveal */

.js [data-reveal] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] > * { opacity: 1; transform: none; transition: none; }
  .btn, .link, .number, .top__call { transition: none; }
}
