@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --papier: #eef0ec;
  --encre: #1d2426;
  --encre-douce: #4a5557;
  --sarcelle: #0b545f;
  --sarcelle-fonce: #073d45;
  --fauteuil: #6a1620;
  --osier: #d6bc8c;
  --lin: #e3dccd;
  --filet: rgba(29, 36, 38, 0.16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --gutter: 24px;
  --header: 64px;
  --radius: 4px;
}
@media (min-width: 960px) {
  :root { --gutter: 48px; --header: 80px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sarcelle); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sarcelle); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.insecable { white-space: nowrap; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding-inline: 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: 56px; padding: 16px 24px;
  background: var(--sarcelle); color: var(--papier);
  font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color 300ms ease;
}
.btn--clair { background: var(--papier); color: var(--sarcelle); }
.lien {
  display: inline-flex; align-items: center; min-height: 48px;
  font-weight: 700; color: var(--sarcelle);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--sarcelle-fonce); }
  .btn--clair:hover { background: #ffffff; }
  .lien:hover { text-decoration-thickness: 2px; }
}

/* Header */
.entete { height: var(--header); position: relative; z-index: 20; background: var(--papier); }
.entete .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marque { font-family: var(--serif); font-size: 21px; line-height: 1.1; color: var(--encre); text-decoration: none; white-space: nowrap; }
.marque small { display: block; font-family: var(--sans); font-size: 13px; color: var(--encre-douce); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 24px; }
.nav a { color: var(--encre); text-decoration: none; font-size: 15px; }
.nav a[aria-current="page"] { text-decoration: underline; }
.nav .btn { min-height: 48px; padding: 12px 20px; font-size: 15px; color: var(--papier); }
.menu-bouton { display: none; }

@media (max-width: 1099px) {
  .nav ul a { font-size: 15px; }
  .nav ul { gap: 16px; }
}
@media (max-width: 959px) {
  .marque { font-size: 19px; }
  .menu-bouton {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px;
    background: none; border: 0; font: 700 16px/1 var(--sans); color: var(--encre); cursor: pointer;
  }
  .nav { display: none; }
  .nav.ouvert {
    display: block; position: absolute; top: var(--header); left: 0; right: 0;
    min-height: calc(100svh - var(--header)); overflow-y: auto;
    background: var(--papier); padding: 8px var(--gutter) 112px;
  }
  .nav.ouvert ul { flex-direction: column; gap: 0; }
  .nav.ouvert ul a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 26px; border-bottom: 1px solid var(--filet); }
  .nav.ouvert .btn { display: none; }
}

/* Hero */
.hero { position: relative; }
.hero__photo { margin: 0; overflow: hidden; background: var(--lin); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__texte { padding: 32px var(--gutter) 40px; }
.hero h1 { font-size: clamp(48px, 13.6vw, 96px); letter-spacing: -0.01em; line-height: 0.98; }
.hero h1 span { display: block; }
.hero__metier { margin-top: 20px; font-size: 19px; line-height: 1.45; max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 28px; }
.hero__preuve { margin-top: 24px; font-size: 14px; line-height: 1.5; color: var(--encre-douce); max-width: 44ch; }

@media (max-width: 959px) {
  .hero { min-height: calc(100svh - var(--header)); display: flex; flex-direction: column; }
  .hero__photo { order: -1; height: 31svh; min-height: 200px; }
  .hero__photo img { object-position: 52% 72%; }
  .hero__texte { flex: 1; padding-top: 24px; padding-bottom: 32px; }
  .hero__metier { margin-top: 16px; font-size: 18px; max-width: none; }
  .hero__actions { margin-top: 8px; }
  .hero__preuve { margin-top: 8px; }
  .hero__actions .btn { display: none; }
}
@media (min-width: 960px) {
  .hero {
    height: calc(100vh - var(--header)); min-height: 600px; max-height: 1000px;
    display: grid; grid-template-columns: 46% 54%;
  }
  .hero__texte {
    align-self: center;
    padding: 0 48px 48px max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter)));
  }
  .hero__photo { height: 100%; }
  .hero__metier { font-size: 21px; margin-top: 28px; }
  .hero__actions { margin-top: 40px; }
  .hero__preuve { margin-top: 40px; }
}

/* Practical band */
.pratique { padding: 40px 0; }
.pratique .wrap { display: grid; gap: 16px; }
.pratique__phrase { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; max-width: 22ch; }
.pratique__details { display: grid; gap: 8px; font-size: 16px; color: var(--encre-douce); }
.pratique__details strong { color: var(--encre); }
@media (min-width: 960px) {
  .pratique { padding: 64px 0; }
  .pratique .wrap { grid-template-columns: 7fr 5fr; align-items: center; gap: 48px; }
}

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.titre { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.005em; }
.chapeau { font-size: 19px; line-height: 1.55; max-width: 38ch; }

/* What she treats */
.consult { border-top: 1px solid var(--filet); }
.consult .wrap { display: grid; gap: 40px; }
.consult__tete .chapeau { margin-top: 24px; }
.consult__axes { margin-top: 32px; }
.consult__axes li {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2;
  padding: 14px 0; border-bottom: 1px solid var(--filet);
}
.consult__axes li:first-child { border-top: 1px solid var(--filet); }
.consult__listes { display: grid; gap: 32px; margin-top: 40px; }
.consult h3 { font-family: var(--sans); font-weight: 700; font-size: 15px; line-height: 1.4; margin-bottom: 12px; }
.consult__listes li { padding: 6px 0; }
.consult__listes li span { color: var(--encre-douce); }
.consult__note { margin-top: 32px; color: var(--encre-douce); max-width: 52ch; }
@media (min-width: 720px) { .consult__listes { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 960px) {
  .consult .wrap { grid-template-columns: 6fr 6fr; gap: 80px; }
  .consult .titre { font-size: clamp(40px, 3.6vw, 52px); }
  .consult .titre span { display: block; white-space: nowrap; }
  .consult__axes { margin-top: 0; }
}

/* First appointment */
.premier { background: var(--fauteuil); color: var(--papier); }
.premier__intro { font-size: 17px; color: var(--osier); }
.premier__intro strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; color: var(--papier); margin-bottom: 12px; }
.etapes { display: grid; gap: 40px; margin-top: 48px; counter-reset: etape; }
.etape { counter-increment: etape; display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; }
.etape::before {
  content: counter(etape);
  grid-row: span 2;
  font-family: var(--serif); font-size: 72px; line-height: 0.8; color: var(--osier);
  font-variant-numeric: lining-nums;
}
.etape h3 { font-size: 26px; line-height: 1.15; }
.etape p { margin-top: 8px; color: rgba(238, 240, 236, 0.86); }
.premier__pied { display: grid; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(214, 188, 140, 0.4); }
.premier__placement { max-width: 56ch; color: rgba(238, 240, 236, 0.86); }
.premier__placement strong { color: var(--papier); }
@media (min-width: 720px) { .etapes { grid-template-columns: 1fr 1fr; gap: 56px 48px; } }
@media (min-width: 1200px) {
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 72px; }
  .etape { grid-template-columns: 1fr; }
  .etape::before { grid-row: auto; font-size: 120px; margin-bottom: 24px; }
  .premier__pied { grid-template-columns: 1fr auto; align-items: center; margin-top: 80px; }
}

/* Who */
.qui .wrap { display: grid; gap: 40px; }
.qui__portrait { margin: 0; max-width: 420px; }
.qui__portrait img { width: 100%; height: auto; border-radius: var(--radius); }
.qui__portrait figcaption { margin-top: 12px; font-size: 14px; color: var(--encre-douce); }
.qui .chapeau { margin-top: 24px; }
.parcours { margin-top: 40px; }
.parcours li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--filet); }
.parcours li:last-child { border-bottom: 1px solid var(--filet); }
.parcours .annee { color: var(--encre-douce); font-size: 15px; padding-top: 2px; }
.qui__plus { margin-top: 32px; display: grid; gap: 4px; color: var(--encre-douce); }
.qui__plus .lien { margin-top: 8px; }
@media (min-width: 960px) {
  .qui .wrap { grid-template-columns: 4fr 7fr; gap: 96px; align-items: start; }
  .qui__portrait { max-width: none; }
}

/* Fees */
.honoraires { background: var(--lin); }
.honoraires .wrap { display: grid; gap: 40px; }
.tarifs { margin-top: 32px; }
.tarifs li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.tarifs li:first-child { border-top: 1px solid var(--filet); }
.tarifs .prix { font-family: var(--serif); font-size: 28px; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.tarifs .prix small { font-family: var(--sans); font-size: 14px; color: var(--encre-douce); margin-right: 4px; }
.remboursement { display: grid; gap: 16px; align-content: start; }
.remboursement strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; display: block; }
.remboursement p { color: var(--encre-douce); }
@media (min-width: 960px) {
  .honoraires .wrap { grid-template-columns: 7fr 4fr; gap: 96px; }
  .remboursement { padding-top: 120px; }
}

/* The practice */
.cabinet { display: grid; }
.cabinet__photo { margin: 0; background: var(--lin); }
.cabinet__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 22%; }
.cabinet__texte { padding: 48px var(--gutter) 72px; }
.cabinet .titre { font-size: clamp(34px, 3.3vw, 48px); }
.adresse { font-style: normal; margin-top: 24px; font-size: 19px; line-height: 1.5; white-space: pre-line; }
.acces { margin-top: 8px; color: var(--encre-douce); }
.horaires { margin-top: 32px; max-width: 420px; }
.horaires li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--filet); font-variant-numeric: tabular-nums lining-nums; }
.horaires li:first-child { border-top: 1px solid var(--filet); }
.horaires .off { color: var(--encre-douce); }
.horaires li.aujourdhui { font-weight: 700; }
.horaires li.aujourdhui .jour::after { content: " · aujourd'hui"; font-weight: 400; color: var(--encre-douce); }
.cabinet__urgence { margin-top: 24px; font-size: 15px; color: var(--encre-douce); }
@media (max-width: 959px) {
  .cabinet__photo { aspect-ratio: 4 / 3; }
}
@media (min-width: 960px) {
  .cabinet { grid-template-columns: 55% 45%; min-height: 760px; }
  .cabinet__texte { padding: 120px max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))) 120px 80px; align-self: center; }
}

/* Close */
.fin { background: var(--encre); color: var(--papier); }
.fin .wrap { display: grid; gap: 32px; }
.fin__phrase { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 58px); line-height: 1.1; max-width: 20ch; }
.fin .btn { background: var(--papier); color: var(--sarcelle); justify-self: start; }
@media (hover: hover) and (pointer: fine) { .fin .btn:hover { background: #ffffff; } }
@media (min-width: 960px) {
  .fin .wrap { grid-template-columns: 1fr auto; align-items: end; }
}

/* Footer */
.pied { background: var(--encre); color: rgba(238, 240, 236, 0.74); font-size: 15px; padding: 0 0 120px; }
.pied a { color: var(--papier); }
.pied .wrap { display: grid; gap: 32px; padding-top: 8px; }
.pied__nom { font-family: var(--serif); font-size: 22px; color: var(--papier); line-height: 1.2; }
.pied ul { display: grid; gap: 4px; }
.pied__mention { font-size: 13px; }
@media (min-width: 960px) {
  .pied { padding-bottom: 56px; }
  .pied .wrap { grid-template-columns: 4fr 4fr 3fr; }
  .pied__mention { grid-column: 1 / -1; }
}

/* Pinned action on the phone */
.barre {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--papier);
  box-shadow: 0 -1px 0 var(--filet);
}
.barre .btn { width: 100%; }
@media (max-width: 959px) { body { padding-bottom: 80px; } }
@media (min-width: 960px) { .barre { display: none; } }

/* Professionals page */
.tete { padding: 56px 0 64px; border-bottom: 1px solid var(--filet); }
.tete h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.01em; }
@media (min-width: 960px) { .tete h1 span { display: block; } }
.tete .chapeau { margin-top: 24px; }
.tete .hero__actions { margin-top: 32px; }
@media (min-width: 960px) {
  .tete { padding: 96px 0 104px; }
  .tete .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 96px; align-items: end; }
  .tete .chapeau { margin-top: 0; }
}
.offres .wrap { display: grid; gap: 56px; }
.offre h2 { font-size: clamp(30px, 3.4vw, 44px); }
.offre p { margin-top: 16px; max-width: 54ch; }
.offre__note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--filet); font-size: 16px; color: var(--encre-douce); }
@media (min-width: 960px) { .offres .wrap { grid-template-columns: 1fr 1fr; gap: 96px; } }
.encart { background: var(--fauteuil); color: var(--papier); }
.encart .wrap { display: grid; gap: 16px; }
.encart h2 { font-size: clamp(28px, 3.2vw, 40px); }
.encart p { max-width: 60ch; color: rgba(238, 240, 236, 0.86); }
@media (min-width: 960px) {
  .encart .wrap { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
}
.cv .wrap { display: grid; gap: 56px; }
.cv h2 { font-size: clamp(34px, 4.4vw, 58px); }
.cv h3 { font-family: var(--sans); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.cv__colonnes { display: grid; gap: 48px; }
.cv .parcours { margin-top: 0; }
.cv .qui__plus { margin-top: 24px; }
@media (min-width: 960px) {
  .cv .wrap { grid-template-columns: 4fr 8fr; gap: 96px; }
  .cv__colonnes { grid-template-columns: 1fr 1fr; gap: 56px 64px; }
  .cv__colonnes > :first-child { grid-column: 1 / -1; }
}

/* Reveal, only when the script runs */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] > * { opacity: 0; transform: translateY(28px); }
  .js [data-reveal].vu > * {
    opacity: 1; transform: none;
    transition: opacity 0.9s ease, transform 0.9s ease;
    transition-delay: calc(var(--i, 0) * 0.08s);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Tablet */
@media (min-width: 600px) and (max-width: 959px) {
  .hero__photo { height: 46svh; }
  .qui .wrap { grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
  .qui .titre { font-size: 34px; }
}
