@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sarcelle: #2b5f63;
  --encre: #142b30;
  --papier: #f4f6f3;
  --brume: #e1e9e7;
  --bleu: #5d8ac6;
  --ocre: #e0a63a;
  --encre-douce: #3d5459;
  --ligne: rgba(20, 43, 48, 0.16);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1400px;
  --gutter: 24px;
  --radius: 4px;
  --header: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--ocre); text-decoration-thickness: 2px; text-underline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--papier); padding: 8px 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px;
  font: 700 17px/1.2 var(--sans);
  text-decoration: none; border-radius: var(--radius);
  transition: background-color 300ms ease, color 300ms ease;
}
.btn-book { background: var(--ocre); color: var(--encre); }
.btn-line { color: var(--papier); box-shadow: inset 0 0 0 2px rgba(244, 246, 243, 0.55); }
.btn-ink { color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
@media (hover: hover) and (pointer: fine) {
  .btn-book:hover { background: #ebb85a; }
  .btn-line:hover { background: rgba(244, 246, 243, 0.12); }
  .btn-ink:hover { background: var(--encre); color: var(--papier); }
  a.link:hover { text-decoration-color: var(--encre); }
}
.btn svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }

/* Header */
.site-header { background: var(--papier); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 20px; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 13px; color: var(--encre-douce); margin-top: 4px; letter-spacing: 0; }
.nav-toggle {
  font: 700 16px/1 var(--sans); color: var(--encre); background: none; border: 0;
  min-height: 44px; padding: 0 4px; cursor: pointer;
}
.nav { display: none; }
.nav.open {
  display: block; position: absolute; top: var(--header); left: 0; right: 0;
  background: var(--papier); padding: 8px var(--gutter) 24px;
}
.nav ul { display: flex; flex-direction: column; }
.nav a:not(.btn) { display: block; padding: 14px 0; font-size: 20px; text-decoration: none; border-top: 1px solid var(--ligne); }
.nav .btn { margin-top: 16px; width: 100%; }

/* Hero */
.hero {
  background: var(--sarcelle); color: var(--papier);
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  position: relative; overflow: hidden;
  display: flex;
}
.hero .wrap { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 32px; padding-bottom: 32px; }
.hero-text { position: relative; z-index: 2; max-width: 640px; }
.hero-kicker { font-size: 16px; font-weight: 700; color: rgba(244, 246, 243, 0.82); }
.hero h1 { font-size: 64px; line-height: 0.95; margin-top: 12px; }
.hero h1 span { display: block; }
.hero-lead { font-size: 19px; line-height: 1.45; margin-top: 20px; white-space: pre-line; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
.hero-proof { margin-top: 20px; font-size: 15px; color: rgba(244, 246, 243, 0.86); max-width: 52%; }
.hero-proof span { display: block; }
.hero-photo {
  position: absolute; z-index: 1; right: -12px; bottom: 0;
  height: 52%; width: auto; max-width: none;
}

/* Sections */
.section { padding: 72px 0; }
.section-title { font-size: 36px; line-height: 1.1; max-width: 18ch; }
.lead { font-size: 20px; line-height: 1.5; max-width: 40ch; }
.muted { color: var(--encre-douce); }

/* Patients */
.patients-list { display: grid; gap: 48px; margin-top: 48px; }
.patient h3 { font-size: 32px; line-height: 1.05; }
.patient > p { margin-top: 12px; max-width: 36ch; }
.patient blockquote { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--bleu); }
.patient blockquote p { font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.patient cite { display: block; margin-top: 12px; font-style: normal; font-size: 15px; color: var(--encre-douce); }
.patients-foot { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.rating { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rating strong { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 600; }

/* Photo band */
.band { position: relative; background: var(--encre); }
.band img { width: 100%; height: 280px; object-fit: cover; object-position: 50% 60%; }
.band figcaption { font-size: 15px; color: var(--papier); background: var(--encre); padding: 12px var(--gutter); }

/* Séance */
.seance { background: var(--brume); }
.seance-top { display: grid; gap: 24px; }
.seance-top .section-title { max-width: 22ch; }
.big-number { font-family: var(--serif); font-weight: 600; font-size: 96px; line-height: 0.9; letter-spacing: -0.02em; }
.big-number span { font-size: 0.4em; letter-spacing: 0; margin-left: 8px; }
.steps { display: grid; gap: 32px; margin-top: 48px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps h3 { font-size: 26px; display: flex; gap: 12px; align-items: baseline; }
.steps h3::before { content: counter(step); font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--sarcelle); min-width: 16px; }
.steps p { margin-top: 8px; padding-left: 28px; max-width: 40ch; }
.after { margin-top: 40px; font-size: 18px; font-weight: 700; }
.price { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ligne); display: grid; gap: 24px; }
.price-amount { font-family: var(--serif); font-size: 64px; line-height: 1; }
.price-line { font-size: 18px; font-weight: 700; margin-top: 4px; }
.price-notes li { padding: 12px 0; border-top: 1px solid var(--ligne); max-width: 46ch; }
.price-notes li:first-child { border-top: 0; padding-top: 0; }

/* Ronan */
.ronan-grid { display: grid; gap: 40px; }
.ronan-line { font-family: var(--serif); font-size: 26px; line-height: 1.3; max-width: 24ch; margin-top: 24px; }
.creds li { padding: 16px 0; border-top: 1px solid var(--ligne); }
.creds li:last-child { border-bottom: 1px solid var(--ligne); }
.creds strong { display: block; font-size: 18px; }
.creds span { display: block; color: var(--encre-douce); margin-top: 2px; }
.rpps { margin-top: 16px; font-size: 15px; color: var(--encre-douce); }

/* Cabinets */
.cabinets { background: var(--brume); }
.cab-places { display: grid; gap: 40px; }
.cab-grid { display: grid; gap: 40px; margin-top: 40px; }
.cab h3 { font-size: 28px; line-height: 1.1; }
.cab address { font-style: normal; margin-top: 8px; font-size: 18px; }
.cab p { margin-top: 8px; color: var(--encre-douce); }
.cab .link { display: inline-block; margin-top: 16px; font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 17px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-top: 1px solid var(--ligne); font-weight: 400; vertical-align: top; }
.hours td { text-align: right; }
.hours td span + span::before { content: ", "; }
.hours .off { color: var(--encre-douce); }
.hours-title { font-size: 28px; line-height: 1.1; }
.phone-block { margin-top: 24px; }
.phone-big { font-family: var(--serif); font-size: 36px; line-height: 1.1; text-decoration: none; display: inline-block; }
.urgent { margin-top: 8px; font-weight: 700; }

/* Close */
.close { background: var(--sarcelle); color: var(--papier); padding: 80px 0; }
.close h2 { font-size: 40px; line-height: 1.05; max-width: 16ch; }
.close-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
.close p.small { margin-top: 24px; color: rgba(244, 246, 243, 0.82); font-size: 15px; }

/* Footer */
.site-footer { background: var(--encre); color: rgba(244, 246, 243, 0.86); padding: 48px 0 120px; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 24px; }
.site-footer strong { color: var(--papier); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.site-footer a { color: var(--papier); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(244, 246, 243, 0.16); }

/* Pinned bar, phone */
.pinned {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--papier); box-shadow: 0 -1px 0 var(--ligne);
  transition: transform 300ms ease;
}
.pinned .btn { min-height: 52px; }
.pinned .btn-book { flex: 1; }
.pinned .btn-ink { padding: 0 18px; }
.pinned.away { transform: translateY(110%); }

/* Second page */
.page-head { padding: 56px 0 48px; }
.page-head h1 { font-size: 44px; line-height: 1.05; max-width: 16ch; }
.page-head .lead { margin-top: 20px; }
.motifs { display: grid; gap: 0; margin-top: 40px; }
.motifs div { padding: 20px 0; border-top: 1px solid var(--ligne); }
.motifs dt { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.motifs dd { margin: 6px 0 0; color: var(--encre-douce); }
.split { display: grid; gap: 32px; }
.his-words { font-family: var(--serif); font-size: 28px; line-height: 1.3; max-width: 24ch; }
.his-words::before { content: "« "; color: var(--bleu); }
.his-words::after { content: " »"; color: var(--bleu); }
.prose p + p { margin-top: 16px; }
.prose { max-width: 60ch; }

/* Reveal */
.reveal > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in > * { opacity: 1; transform: none; }
.reveal.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal.in > *:nth-child(5) { transition-delay: 0.32s; }
.no-js .reveal > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal > * { opacity: 1; transform: none; transition: none; }
  .btn, .pinned { transition: none; }
}

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 40px; }
  .hero h1 { font-size: 88px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-photo { height: 64%; right: 0; }
  .hero-proof { max-width: none; }
  .patients-list { grid-template-columns: 1fr 1fr; }
  .band img { height: 420px; }
  .cab-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .motifs { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

/* Desktop */
@media (min-width: 1024px) {
  :root { --header: 80px; }
  body { font-size: 18px; }
  .site-header { position: sticky; top: 0; box-shadow: 0 1px 0 var(--ligne); }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 22px; }
  .nav-toggle { display: none; }
  .nav, .nav.open { display: block; position: static; padding: 0; background: none; }
  .nav ul { flex-direction: row; align-items: center; gap: 32px; }
  .nav a:not(.btn) { padding: 8px 0; font-size: 17px; border: 0; }
  .nav .btn { margin: 0; width: auto; min-height: 48px; }
  .hero .wrap { justify-content: center; padding-top: 64px; padding-bottom: 64px; }
  .hero-text { max-width: 760px; }
  .hero-kicker { font-size: 18px; }
  .hero h1 { font-size: 132px; margin-top: 16px; }
  .hero-lead { font-size: 23px; margin-top: 28px; }
  .hero-actions { margin-top: 36px; }
  .hero-proof { font-size: 16px; max-width: none; margin-top: 28px; }
  .hero-proof span { display: inline; }
  .hero-photo { height: 94%; right: max(0px, calc((100vw - var(--wrap)) / 2 + 40px)); }
  .section { padding: 120px 0; }
  .section-title { font-size: 56px; }
  .stories { max-width: none; font-size: 64px; }
  .stories span { display: block; }
  .patients-list { grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 72px; }
  .patient h3 { font-size: 40px; }
  .patients-foot { flex-direction: row; align-items: baseline; justify-content: space-between; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--ligne); }
  .band img { height: 640px; }
  .band figcaption { padding: 16px max(40px, calc((100vw - var(--wrap)) / 2 + 40px)); font-size: 16px; }
  .seance-top { grid-template-columns: 5fr 7fr; align-items: end; gap: 56px; }
  .big-number { font-size: 200px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 80px; }
  .price { grid-template-columns: 5fr 7fr; gap: 56px; margin-top: 80px; padding-top: 48px; align-items: start; }
  .price-amount { font-size: 96px; }
  .ronan-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .ronan-line { font-size: 34px; }
  .cab-grid { grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 64px; }
  .cab-places { gap: 56px; }
  .cab h3 { font-size: 36px; }
  .cab address { font-size: 22px; }
  .close { padding: 96px 0; }
  .close .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
  .close h2 { font-size: 64px; }
  .close-actions { margin-top: 0; }
  .close-actions .btn { min-width: 300px; }
  .close p.small { margin-top: 16px; }
  .site-footer { padding-bottom: 48px; }
  .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .pinned { display: none; }
  .page-head { padding: 96px 0 72px; }
  .page-head .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
  .page-head h1 { font-size: 72px; }
  .page-head .lead { margin-top: 0; }
  .motifs { grid-template-columns: repeat(3, 1fr); column-gap: 56px; margin-top: 64px; }
  .split { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .his-words { font-size: 36px; }
}
