@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 {
  --blanc: #F3F2EE;
  --ardoise: #262F37;
  --ocre: #CFAE6E;
  --gris: #C4C5BD;
  --verre: #AEC2C8;
  --ruban: #1E55D0;
  --radius: 2px;
  --gutter: 16px;
  --callbar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--ardoise);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  padding-bottom: var(--callbar);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--blanc); padding: 8px 16px; }

/* buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 700; font-stretch: 112%; font-size: 16px;
  text-decoration: none;
  transition: background-color 300ms ease, transform 300ms ease;
}
.btn-call { background: var(--ruban); color: #fff; }
.btn-big { min-height: 56px; font-size: 18px; padding: 0 32px; }
.link {
  color: var(--ruban); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
:focus-visible { outline: 3px solid var(--ruban); outline-offset: 3px; }

/* header */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 800; font-stretch: 125%; font-size: 17px; text-decoration: none; letter-spacing: -0.01em; }
.top-call { display: none; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; }
.hero-in {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 72px; padding-bottom: 24px; gap: 24px;
}
.proof { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.name {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(84px, 24vw, 196px);
  line-height: 0.86; letter-spacing: -0.02em;
}
.lede { font-size: 19px; line-height: 1.4; max-width: 30ch; margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.hero-call { display: none; }

/* the fan deck */
.fan {
  --w: 60px; --h: 250px; --step: 22deg;
  position: relative; height: calc(var(--h) + 8px); width: 100%;
  margin-top: 0;
}
.strip {
  position: absolute; left: calc(50% - var(--w) / 2); bottom: 0;
  width: var(--w); height: var(--h);
  transform-origin: 50% calc(100% - var(--w) / 2);
  transform: rotate(var(--r));
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 12px 0; gap: 10px;
  border-radius: var(--radius);
  text-decoration: none; color: var(--ardoise);
  background-color: var(--c);
  background-image: linear-gradient(to bottom,
    var(--c) 0 46%,
    var(--blanc) 46% calc(46% + 2px),
    color-mix(in srgb, var(--c) 82%, var(--blanc)) calc(46% + 2px) 64%,
    var(--blanc) 64% calc(64% + 2px),
    color-mix(in srgb, var(--c) 64%, var(--blanc)) calc(64% + 2px) 82%,
    var(--blanc) 82% calc(82% + 2px),
    color-mix(in srgb, var(--c) 46%, var(--blanc)) calc(82% + 2px) 100%);
  transition: transform 300ms ease;
}
.strip .num { font-size: 12px; font-weight: 700; font-stretch: 112%; }
.strip .lbl {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 14px; font-weight: 700; font-stretch: 112%; white-space: nowrap;
}
.lbl-long { display: none; }
.s1 { --r: calc(var(--step) * -1.5); --c: var(--ocre); z-index: 1; }
.s2 { --r: calc(var(--step) * -0.5); --c: var(--gris); z-index: 2; }
.s3 { --r: calc(var(--step) * 0.5); --c: var(--ardoise); color: var(--blanc); z-index: 3; }
.s4 { --r: calc(var(--step) * 1.5); --c: var(--verre); z-index: 4; }
.rivet {
  position: absolute; z-index: 5; width: 14px; height: 14px; border-radius: 50%;
  left: calc(50% - 7px); bottom: calc(var(--w) / 2 - 7px);
  background: var(--blanc); box-shadow: 0 0 0 3px var(--ardoise);
}

/* Sofien */
.who { padding: 88px 0 96px; }
.who-in { display: grid; gap: 16px; }
.who-name {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(72px, 21vw, 184px); line-height: 0.9; letter-spacing: -0.02em;
}
.who-text { font-size: 21px; line-height: 1.4; max-width: 28ch; }

/* trades */
.trades-title {
  font-weight: 400; font-stretch: 125%;
  font-size: clamp(30px, 8.4vw, 88px); line-height: 1.04; letter-spacing: -0.02em;
  padding-bottom: 48px;
}
.trades-title span { display: block; }
.trades-title span + span { font-weight: 800; }
.num { font-size: 14px; font-weight: 700; font-stretch: 112%; }
.band h3, .half h3 {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(40px, 11vw, 96px); line-height: 0.95; letter-spacing: -0.015em;
  margin: 8px 0 16px;
}
.half h3 { font-size: clamp(32px, 8.4vw, 56px); }
.half h3 span { display: block; }
.band p:not(.num), .half p:not(.num) { font-size: 19px; line-height: 1.45; max-width: 30ch; }

.band { padding: 64px 0; }
.band-ocre { background: var(--ocre); }
.band-verre { background: var(--verre); }
.band-in { display: grid; gap: 32px; }
.slot img { width: 100%; border-radius: var(--radius); }

.split { display: grid; }
.half { padding: 64px var(--gutter); }
.half-gris { background: var(--gris); }
.half-ardoise { background: var(--ardoise); color: var(--blanc); }
.half .slot { margin-top: 32px; }

.vit-in { display: grid; justify-items: start; }
.vit-in .btn { margin-top: 32px; }

/* contact */
.contact { padding: 96px 0 104px; }
.big-phone {
  display: inline-block;
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(30px, 9.4vw, 140px); line-height: 1; letter-spacing: -0.02em;
  color: var(--ruban); text-decoration: none; white-space: nowrap;
}
.contact-lede { font-size: 19px; margin-top: 16px; }
.contact-grid { display: grid; gap: 40px; margin-top: 56px; }
.ctitle { font-size: 14px; font-weight: 700; font-stretch: 112%; margin-bottom: 8px; }
.addr { white-space: pre-line; font-size: 19px; line-height: 1.45; margin-bottom: 8px; }
.mail { word-break: break-all; }
.hours { display: grid; grid-template-columns: 7.5em 1fr; row-gap: 8px; font-size: 16px; }
.hours dt { font-weight: 500; }
.hours dd span + span::before { content: ", "; }
.hours dd:empty::before {
  content: ""; display: block; width: 72px; height: 0; margin-top: 0.8em;
  border-top: 1px solid var(--gris);
}

/* footer */
.foot { background: var(--ardoise); color: var(--blanc); padding: 56px 0 48px; font-size: 15px; }
.foot-in { display: grid; gap: 16px; }
.foot-name { font-weight: 800; font-stretch: 125%; font-size: 22px; }
.foot a { color: var(--blanc); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-by { opacity: 0.75; }

/* phone call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: var(--callbar); display: flex; align-items: center; justify-content: center;
  background: var(--ruban); color: #fff; text-decoration: none;
  font-weight: 700; font-stretch: 112%; font-size: 18px;
  padding-bottom: env(safe-area-inset-bottom);
}

/* reveal */
.js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.in > * { opacity: 1; transform: none; }

@media (max-width: 767px) and (max-height: 700px) {
  .hero-in { gap: 16px; padding-top: 56px; padding-bottom: 8px; }
  .name { font-size: clamp(72px, 21vw, 120px); }
  .actions { margin-top: 16px; }
  .fan { height: calc((var(--h) + 8px) * 0.8); }
  .fan { transform: scale(0.8); transform-origin: 50% 100%; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .fan { --w: 84px; --h: 320px; --step: 18deg; }
  .strip .lbl { font-size: 15px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .half h3 { font-size: clamp(32px, 4.4vw, 56px); }
  .half { padding: 88px 32px; }
  .band { padding: 96px 0; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; align-items: end; }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .top-call { display: inline-flex; }
  .hero-call { display: inline-flex; }
  .wordmark { font-size: 20px; }
  .top-in { height: 88px; }
  .hero-in {
    display: grid; grid-template-columns: 7fr 5fr; align-items: center;
    padding-top: 112px; padding-bottom: 48px; gap: 32px;
  }
  .hero-text { padding-bottom: 24px; }
  .proof { font-size: 17px; }
  .lede { font-size: 22px; }
  .name { font-size: clamp(84px, 13.6vw, 196px); }
  .fan { --w: 88px; --h: 400px; --step: 15deg; height: 420px; margin: 0; }
  .strip { padding: 16px 0; gap: 14px; }
  .strip .num { font-size: 13px; }
  .strip .lbl { font-size: 17px; }
  .rivet { width: 18px; height: 18px; left: calc(50% - 9px); bottom: calc(var(--w) / 2 - 9px); }

  .who { padding: 136px 0; }
  .who-in { grid-template-columns: 7fr 5fr; align-items: end; gap: 32px; }
  .who-text { font-size: 24px; padding-bottom: 16px; }

  .trades-title { padding-bottom: 72px; }
  .band-in { grid-template-columns: 7fr 5fr; align-items: center; gap: 64px; }
  .half .slot { max-width: 460px; }
  .half { padding: 112px 0; }
  .half-in { max-width: 700px; padding: 0 32px; }
  .half-gris .half-in { margin-left: auto; padding-right: 48px; }
  .half-ardoise .half-in { padding-left: 48px; }
  .vit-in { grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 48px; }
  .vit-in .num { grid-column: 1 / -1; }
  .vit-in h3 { margin: 8px 0 0; }
  .vit-in .btn { margin-top: 0; }
  .contact { padding: 136px 0; }
  .contact-grid { margin-top: 72px; gap: 64px; }
}

@media (min-width: 1280px) {
  .fan { --w: 112px; --h: 500px; --step: 16deg; height: 520px; }
  .lbl-long { display: inline; }
}

@media (hover: hover) and (pointer: fine) {
  .btn-call:hover { background: #1745B0; }
  .strip:hover { transform: rotate(var(--r)) translateY(-14px); }
  .link:hover { text-decoration-thickness: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
  .strip, .btn { transition: none; }
}
