@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 350 450;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 340 420;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 400 650;
  font-style: normal;
  font-display: swap;
}

:root {
  --fauteuil: #6FB3C1;
  --fauteuil-dark: #5CA2B1;
  --canard: #246673;
  --wenge: #241918;
  --mur: #F4F4F2;
  --blanc: #FFFFFF;
  --ocre: #C9A85E;
  --parquet: #6B5D57;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Next", "Segoe UI", system-ui, sans-serif;

  --radius: 4px;
  --header: 64px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--mur);
  color: var(--wenge);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--canard); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--canard); outline-offset: 3px; }

.nw { white-space: nowrap; }
h1, h2, .quote p { text-wrap: balance; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--wenge); color: var(--mur); padding: 8px 16px; z-index: 30; }
.skip:focus { left: 8px; }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  background: var(--fauteuil);
  color: var(--wenge);
  font-family: var(--sans);
  font-weight: 650;
  font-size: 17px;
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 300ms ease;
}
.btn-small { min-height: 44px; padding: 0 18px; font-size: 16px; }
.link-call { white-space: nowrap; }
.link-call a { display: inline-block; padding: 8px 0; font-weight: 650; color: var(--canard); }
.text-link { font-weight: 650; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--fauteuil-dark); }
  .link-call a:hover, .text-link:hover, .menu a:not(.btn):hover { text-decoration-thickness: 2px; }
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--mur);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 450;
  color: var(--wenge);
  text-decoration: none;
  transition: opacity 300ms ease;
}
.js .top.at-top .brand { opacity: 0; pointer-events: none; }
.menu-toggle {
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  color: var(--wenge);
  background: none;
  border: 0;
  min-height: 44px;
  padding: 0 4px;
  cursor: pointer;
}
.menu { display: none; }
.menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  background: var(--mur);
  padding: 8px var(--gutter) 24px;
}
.menu a:not(.btn) {
  color: var(--wenge);
  text-decoration: none;
  font-size: 20px;
  padding: 12px 0;
}
.menu.open .btn { margin-top: 16px; }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header));
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px var(--gutter) 40px;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.02;
  font-variation-settings: "opsz" 72;
}
.hero-what { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; margin-top: 8px; }
.hero-proof { color: var(--parquet); font-size: 16px; margin-top: 16px; max-width: 30ch; }
.actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 32px; }
.hero .actions .btn { width: 100%; }

/* Who she sees */
.ages { padding: 96px 0 88px; }
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: 34px;
  line-height: 1.12;
  max-width: 16ch;
  font-variation-settings: "opsz" 60;
}
.ages-list {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.2;
}
.ages-list li { padding: 4px 0; }
.moments { margin-top: 40px; max-width: 62ch; }
.moments-lead { color: var(--parquet); font-size: 16px; }
.moments-list { font-size: 19px; margin-top: 8px; }

/* Sessions */
.seances { background: var(--blanc); padding: 96px 0; }
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  font-variation-settings: "opsz" 60;
  max-width: 20ch;
}
.scale {
  position: relative;
  height: 24px;
  margin-top: 48px;
  font-size: 14px;
  color: var(--parquet);
}
.scale span { position: absolute; top: 0; white-space: nowrap; }
.scale span:nth-child(1) { left: 0; }
.scale span:nth-child(2) { left: 33.333%; transform: translateX(-50%); }
.scale span:nth-child(3) { left: 66.667%; transform: translateX(-50%); }
.scale span:nth-child(4) { right: 0; }
.seance-list { margin-top: 8px; }
.seance { padding: 0 0 40px; }
.bar {
  width: calc(var(--d) / 90 * 100%);
  min-height: 64px;
  background: var(--fauteuil);
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.bar-time {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
  font-variation-settings: "opsz" 48;
}
.seance-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
}
.seance h3 { font-size: 19px; font-weight: 650; line-height: 1.3; }
.price {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}
.seance-note { color: var(--parquet); font-size: 16px; margin-top: 4px; }
.groupe { margin-top: 24px; max-width: 58ch; }
.groupe h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.groupe p { margin-top: 8px; }
.pay { color: var(--parquet); font-size: 16px; margin-top: 40px; max-width: 58ch; }
.seances .btn { margin-top: 32px; }

/* Path */
.parcours { background: var(--ocre); }
.parcours-in { padding: 0; }
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
}
.parcours-text { padding: 56px var(--gutter) 88px; }
.about { font-size: 19px; margin-top: 24px; max-width: 58ch; }
.timeline { margin-top: 40px; }
.timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 12px 0;
  align-items: baseline;
}
.year { font-family: var(--serif); font-size: 26px; line-height: 1; }
.ids { margin-top: 32px; font-size: 14px; }

/* Practice */
.cabinet { padding: 96px 0; }
.address { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.12; max-width: 16ch; }
.access { margin-top: 16px; }
.cabinet .text-link { display: inline-block; margin-top: 16px; }
.hours-title { font-size: 17px; font-weight: 650; margin-top: 48px; }
.hours { margin-top: 12px; max-width: 460px; }
.hours div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  padding: 8px 0;
}
.hours dt { font-weight: 650; }
.hours dd span + span::before { content: ", "; }
.hours .off { color: var(--parquet); }
.hours .today dt::after { content: "aujourd'hui"; display: block; font-weight: 400; font-size: 14px; color: var(--canard); }
.entree { margin-top: 48px; }
.entree img { width: 100%; max-width: 640px; }
.entree figcaption { color: var(--parquet); font-size: 14px; margin-top: 8px; }

/* Close */
.close { background: var(--wenge); color: var(--mur); padding: 96px 0 48px; }
.close h2 { max-width: 22ch; }
.close .link-call, .close .link-call a { color: var(--mur); }
.urgence { margin-top: 40px; font-size: 15px; color: #CFC6C2; }

/* Footer */
.foot { background: var(--wenge); color: #CFC6C2; font-size: 14px; padding: 0 0 40px; }
.foot-in { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; }
.foot a { color: var(--mur); }
.foot-name { color: var(--mur); font-weight: 650; }
.foot-legal { display: flex; flex-direction: column; gap: 8px; }

/* Pinned action on the phone */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--mur);
  transform: translateY(110%);
  transition: transform 300ms ease;
}
.dock.show { transform: none; }
.dock .btn { width: 100%; }

/* Reveal, only when the script runs */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s ease; }
.js .reveal .wrap > * { opacity: 0; transform: translateY(28px); }
.js .reveal.in .wrap > * { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in .wrap > *:nth-child(2) { transition-delay: .08s; }
.js .reveal.in .wrap > *:nth-child(3) { transition-delay: .16s; }
.js .reveal.in .wrap > *:nth-child(4) { transition-delay: .24s; }
.js .reveal.in .wrap > *:nth-child(5) { transition-delay: .32s; }
.js .reveal.in .wrap > *:nth-child(6) { transition-delay: .40s; }
.js .reveal.in .wrap > *:nth-child(7) { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal .wrap > * { opacity: 1; transform: none; transition: none; }
  .btn, .dock { transition: none; }
}

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 40px; }
  .ages-list { display: flex; flex-wrap: wrap; gap: 8px 48px; }
  .hero .actions { flex-direction: row; align-items: center; gap: 32px; }
  .hero .actions .btn { width: auto; }
  .close .actions { flex-direction: row; align-items: center; gap: 32px; }
  .foot-in { flex-direction: row; justify-content: space-between; }
  .foot-legal { align-items: flex-end; text-align: right; }
}

/* Wide tablet: photos stop growing past their own size */
@media (min-width: 720px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 0 var(--gutter) 40px;
    min-height: calc(100vh - var(--header));
  }
  .hero-photo { order: 2; }
  .hero-photo img { max-width: 640px; margin-left: auto; }
  .hero-text { order: 1; padding: 0; }
  h1 { font-size: 64px; }
  .hero .actions { flex-direction: column; align-items: flex-start; gap: 16px; }

  .parcours-in {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 80px var(--gutter);
  }
  .portrait img { aspect-ratio: auto; }
  .parcours-text { padding: 0; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --header: 72px; --gutter: 56px; }
  body { font-size: 18px; }
  .menu-toggle { display: none; }
  .menu { display: flex; align-items: center; gap: 32px; }
  .menu a:not(.btn) { font-size: 16px; padding: 0; }
  .brand { font-size: 24px; }

  .hero {
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--gutter) 48px;
  }
  h1 { font-size: 88px; }
  .hero-what { font-size: 30px; margin-top: 16px; }
  .hero-proof { font-size: 18px; margin-top: 24px; }
  .actions { margin-top: 48px; }

  .ages { padding: 128px 0 120px; }
  .ages .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .quote { grid-column: 1 / 11; }
  .quote p { font-size: 72px; max-width: none; }
  .ages-list { grid-column: 1 / -1; justify-content: space-between; font-size: 44px; margin-top: 72px; }
  .moments { grid-column: 7 / 13; margin-top: 56px; max-width: none; }
  .moments-list { font-size: 21px; }

  .seances { padding: 128px 0; }
  h2 { font-size: 52px; }
  .scale { margin-top: 64px; font-size: 15px; }
  .bar { min-height: 80px; padding: 0 24px; }
  .bar-time { font-size: 48px; }
  .seance { padding-bottom: 48px; }
  .seance-line { width: calc(var(--d) / 90 * 100%); }
  .seance h3 { font-size: 21px; }
  .price { font-size: 36px; }
  .seance-note { width: calc(var(--d) / 90 * 100%); }
  .groupe { margin-top: 32px; }
  .groupe h3 { font-size: 32px; }

  .parcours-in {
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 80px;
    padding: 96px var(--gutter);
  }
  .about { font-size: 21px; }
  .timeline li { grid-template-columns: 96px 1fr; }
  .year { font-size: 32px; }

  .cabinet { padding: 128px 0; }
  .cabinet-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }
  .address { font-size: 48px; }
  .entree { margin-top: 0; justify-self: end; width: 100%; max-width: 640px; }

  .close { padding: 128px 0 64px; }
  .foot { padding-bottom: 48px; }
  .dock { display: none; }
}

@media (min-width: 1200px) {
  .hero .actions { flex-direction: row; align-items: center; gap: 32px; }
}
