/* =====================================================================
   Dr Jeanne de Riedmatten — feuille de style
   Titres : EB Garamond · Texte : Jost (polices hébergées sur le site)
   Couleurs et tailles modifiables dans :root.
   ===================================================================== */

@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jost-latin-500-normal.woff2') format('woff2'); }

:root {
  /* Couleurs */
  --ivory: #fbf8f4;
  --white: #ffffff;
  --sand: #f1ebe3;
  --sand-dark: #e4dbcf;
  --ink: #2c2a27;
  --muted: #6b665f;
  --line: #e2d9ce;
  --accent: #9c6b55;
  --accent-dark: #7f5543;
  --accent-soft: #ead9cf;

  /* Polices */
  --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Rythme */
  --nav-h: 84px;
  --gutter: 20px;
  --section: 72px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --section: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; color: transparent; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 10px; top: 10px; }

/* =====================================================================
   Typographie — une seule échelle pour tout le site
   ===================================================================== */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.005em;
}
h1 { font-size: 44px; }
h2 { font-size: 36px; }
h3 { font-size: 25px; line-height: 1.2; }
@media (min-width: 768px) {
  h1 { font-size: 62px; }
  h2 { font-size: 46px; }
  h3 { font-size: 27px; }
}
.eyebrow {
  display: block;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--muted); }
.quote-text { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.45; color: var(--ink); }
p + p { margin-top: 16px; }
.muted { color: var(--muted); }

/* Titre de section centré, avec filet */
.title { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.title h2::after {
  content: ''; display: block;
  width: 48px; height: 1px; margin: 26px auto 0;
  background: var(--accent);
}
.title .lead { margin-top: 22px; }
.title--left { text-align: left; margin-left: 0; }
.title--left h2::after { margin-left: 0; }
@media (min-width: 768px) { .title { margin-bottom: 64px; } }

/* =====================================================================
   Mise en page
   ===================================================================== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.center { text-align: center; }

.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 96px; }
  .split--top { align-items: start; }
  .split--wide { grid-template-columns: 5fr 7fr; }
  .split--reverse > :first-child { order: 2; }
  .sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* =====================================================================
   Boutons & liens
   ===================================================================== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--small { padding: 11px 20px; font-size: 11px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.center .actions, .actions--center { justify-content: center; }

.link {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.link:hover { color: var(--accent); }

/* =====================================================================
   En-tête : barre d'infos + barre principale (logo · menu · rendez-vous)
   ===================================================================== */
.topbar { display: none; background: var(--ink); color: rgba(255,255,255,0.8); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar ul { display: flex; gap: 28px; align-items: center; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,244,0.97);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 76px; }

/* Logo + nom */
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__name { font-family: var(--serif); font-size: 19px; line-height: 1; letter-spacing: 0.02em; white-space: nowrap; }
.brand__tag { display: none; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.logo-mark { display: block; flex-shrink: 0; width: var(--s, 46px); height: var(--s, 46px); max-width: none; border-radius: 2px; }

/* Logo du pied de page */
.logo { display: inline-flex; flex-direction: column; gap: 10px; text-decoration: none; }
.logo__name { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.logo__tag { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }

/* Menu principal (ordinateur) */
.nav, .site-header__cta { display: none; }
.nav__list { display: flex; align-items: center; gap: 0; }
.nav__link {
  position: relative;
  display: flex; align-items: center;
  height: 76px; padding: 0 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; white-space: nowrap; text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 22px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--accent); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); }
.chev { display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.nav__item:hover .chev, .nav__item:focus-within .chev { transform: translateY(1px) rotate(225deg); }

/* Petit menu déroulant « Le Docteur » */
.has-drop { position: relative; }
.drop {
  position: absolute; top: 100%; left: 0;
  min-width: 300px; padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(44,42,39,0.08);
}
.drop a { display: block; padding: 14px 16px; text-decoration: none; font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.drop a small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.drop a:hover { background: var(--ivory); color: var(--accent); }

/* Grand menu « Les soins » */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(44,42,39,0.10);
}
.mega__inner { display: grid; grid-template-columns: 1fr 300px; gap: 56px; padding-top: 40px; padding-bottom: 44px; }
.mega__label { margin-bottom: 18px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.mega__cols--soins { grid-template-columns: 1fr 1fr; }
.mega__cols--soins .mega__grid { grid-template-columns: 1fr; gap: 2px; }
.mega__cols--soins > div:last-child .mega__grid { grid-template-columns: 1fr 1fr; gap: 2px 24px; }
.mega__cols--soins .mega__thumb { width: 52px; height: 52px; }
.mega__label--spaced { margin-top: 22px; }
.mega__links a { display: block; padding: 7px 0; text-decoration: none; font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.mega__links a:hover, .mega__links a[aria-current="page"] { color: var(--accent); }
.mega__all { margin-top: 20px; }
.mega__item { display: flex; align-items: flex-start; gap: 16px; padding: 10px; margin: 0 -10px; text-decoration: none; transition: background 0.2s ease; }
.mega__item:hover, .mega__item[aria-current="page"] { background: var(--ivory); }
.mega__thumb { flex-shrink: 0; width: 68px; height: 68px; overflow: hidden; background: var(--sand-dark); }
.mega__thumb img { transition: transform 0.6s ease; }
.mega__item:hover .mega__thumb img { transform: scale(1.08); }
.mega__name { display: block; margin-top: 4px; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.mega__item:hover .mega__name { color: var(--accent); }
.mega__desc { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.mega__side { padding-left: 40px; border-left: 1px solid var(--line); }
.mega__needs a { display: block; padding: 8px 0; text-decoration: none; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.mega__needs small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.mega__needs a:hover { color: var(--accent); }
.mega__cta { margin-top: 24px; padding: 20px; background: var(--sand); font-size: 14px; }
.mega__cta .link { margin-top: 10px; }

/* Ouverture au survol ou au clavier */
.drop, .mega { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
.nav__item:hover > .drop, .nav__item:focus-within > .drop,
.nav__item:hover > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }

/* Bouton menu (mobile) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px; cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.nav-burger__lines { display: flex; flex-direction: column; gap: 6px; width: 24px; }
.nav-burger__lines span { display: block; height: 1px; background: var(--ink); transition: transform 0.25s ease; }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--accent); }
.nav-toggle:checked + .nav-burger .nav-burger__lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle:checked + .nav-burger .nav-burger__lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Menu plein écran (mobile) */
.mobile-menu {
  display: none;
  position: fixed; top: 77px; left: 0; right: 0; bottom: 0;
  overflow-y: auto;
  background: var(--ivory);
  padding: 28px var(--gutter) 40px;
}
.nav-toggle:checked ~ .mobile-menu { display: block; }
.mobile-menu__main a { display: block; padding: 10px 0; text-decoration: none; font-family: var(--serif); font-size: 34px; line-height: 1.2; }
.mobile-menu__main { margin-bottom: 32px; }
.mobile-menu__soins { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-bottom: 32px; }
.mobile-menu__soins a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.mobile-menu .btn { display: block; }
.mobile-menu__contact { margin-top: 28px; font-size: 14px; color: var(--muted); }
.mobile-menu__contact a { text-decoration: none; }
body:has(.nav-toggle:checked) { overflow: hidden; }

@media (min-width: 560px) {
  .brand__tag { display: block; }
}
@media (min-width: 1200px) {
  .topbar { display: block; }
  .site-header__inner { height: 84px; }
  .nav__link { height: 84px; }
  .nav__link::after { bottom: 26px; }
  .nav, .site-header__cta { display: block; }
  .nav-burger, .mobile-menu, .nav-toggle:checked ~ .mobile-menu { display: none; }
  .brand__name { font-size: 23px; }
  .site-header__cta { margin-left: 12px; }
  html { scroll-padding-top: 100px; }
}


/* =====================================================================
   Accueil
   ===================================================================== */
.hero { position: relative; min-height: 560px; height: 78vh; max-height: 820px; overflow: hidden; background: #8c857c; color: #fff; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { object-position: 60% 30%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,31,28,0.25) 0%, rgba(34,31,28,0.55) 100%); }
.hero__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero .eyebrow { color: #f3e3da; }
.hero h1 { color: #fff; max-width: 900px; }
.hero .quote-text { color: rgba(255,255,255,0.92); margin-top: 22px; }
.hero .monogram { color: #fff; margin-bottom: 30px; }

/* Présentation du médecin */
.intro { display: grid; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.intro__portrait { width: 220px; height: 220px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: var(--sand-dark); }
@media (min-width: 900px) { .intro { grid-template-columns: 300px 1fr; gap: 72px; } .intro__portrait { width: 300px; height: 300px; } }
.intro .quote-text { margin-bottom: 22px; }

/* Cartes soins */
.cards { display: grid; gap: 56px 32px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; text-align: center; text-decoration: none; color: inherit; }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-dark); margin-bottom: 26px; }
.card__img img { transition: transform 0.9s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card h3 { margin-bottom: 12px; }
.card p { flex-grow: 1; color: var(--muted); font-size: 15px; font-weight: 300; padding: 0 8px; }
.card .link { align-self: center; margin-top: 22px; }
.card:hover .link { color: var(--accent); }
.cards--small .card__img { aspect-ratio: 4 / 3; }

/* Vos besoins */
.needs { display: grid; gap: 24px; }
@media (min-width: 900px) { .needs { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.need { background: var(--white); padding: 40px 32px; }
.need h3 { text-align: center; margin-bottom: 22px; }
.need li { border-top: 1px solid var(--line); }
.need li:last-child { border-bottom: 1px solid var(--line); }
.need a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; text-decoration: none; font-size: 15px; }
.need a span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.need a:hover { color: var(--accent); }

/* Engagements */
.values { display: grid; gap: 40px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.value { text-align: center; }
.value__num { display: block; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); margin-bottom: 12px; }
.value h3 { margin-bottom: 12px; }
.value p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* Lieux */
.places { display: grid; gap: 56px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .places { grid-template-columns: 1fr 1fr; gap: 72px; } }
.place { text-align: center; }
.place__img { width: 220px; height: 220px; margin: 0 auto 28px; border-radius: 50%; overflow: hidden; background: var(--sand-dark); }
.place h3 { margin-bottom: 12px; }
.place address { font-style: normal; color: var(--muted); }
.place p { color: var(--muted); font-size: 15px; font-weight: 300; margin-top: 10px; }
.place .link { margin-top: 20px; }

/* Instagram */
.social { text-align: center; }
.social .monogram { margin-bottom: 28px; color: var(--accent); }
.icon { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }

/* =====================================================================
   Pages intérieures
   ===================================================================== */
.page-hero { background: var(--sand); padding: 56px 0 60px; text-align: center; }
@media (min-width: 768px) { .page-hero { padding: 88px 0 92px; } }
.page-hero .lead { max-width: 640px; margin: 22px auto 0; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line); }

.photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-dark); }

.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--line); }
.fact { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 6px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; }

.list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.list li:first-child { border-top: 1px solid var(--line); }
.list li::before { content: ''; position: absolute; left: 0; top: 27px; width: 14px; height: 1px; background: var(--accent); }

.steps { display: grid; gap: 40px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.step { text-align: center; }
.step__num { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 22px; border: 1px solid var(--accent); border-radius: 50%; font-family: var(--serif); font-size: 24px; color: var(--accent); }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* Tarifs */
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.prices li:first-child { border-top: 1px solid var(--line); }
.price__name { font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.price__name small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 14px; font-weight: 300; color: var(--muted); }
.price__value { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.note { margin-top: 22px; font-size: 14px; font-weight: 300; color: var(--muted); }
.price-group + .price-group { margin-top: 64px; }
.price-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.price-group__head h2 { font-size: 32px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-family: var(--serif); font-size: 21px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; font-family: var(--sans); font-size: 22px; font-weight: 300; color: var(--accent); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq__body { padding: 0 0 24px; color: var(--muted); font-weight: 300; }

/* À propos */
.manifesto { font-size: 40px; line-height: 1.12; }
@media (min-width: 768px) { .manifesto { font-size: 58px; } }
.signature { display: block; margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--accent); }

/* Contact */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.contact-card { background: var(--white); padding: 40px 32px; text-align: center; }
.contact-card h3 { margin-bottom: 14px; }
.contact-card address, .contact-card p { font-style: normal; color: var(--muted); font-weight: 300; }
.contact-card .link, .contact-card .btn { margin-top: 22px; }
.infos { display: grid; gap: 32px; }
@media (min-width: 768px) { .infos { grid-template-columns: 1fr 1fr; gap: 56px; } }
.infos h3 { margin-bottom: 14px; }
.infos dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.infos dd { margin: 0; color: var(--muted); }

/* Mentions légales */
.legal h2 { font-size: 28px; margin: 48px 0 14px; }
.legal p { color: var(--muted); font-weight: 300; }

/* =====================================================================
   Pied de page
   ===================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 80px 0 32px; font-size: 15px; font-weight: 300; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 48px; } }
.site-footer .logo { align-items: flex-start; color: #fff; }
.site-footer .logo__name { font-size: 26px; }
.site-footer .logo__tag { color: rgba(255,255,255,0.6); }
.site-footer h4 { margin: 0 0 18px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; }
.site-footer li + li { margin-top: 8px; }
.site-footer address { font-style: normal; }
.site-footer address + address { margin-top: 16px; }
.site-footer .btn { margin-top: 28px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,0.55); }
.site-footer__bottom nav { display: flex; gap: 22px; }

/* Texte à compléter (repère temporaire) */
.todo { background: #fff3c4; color: #6b5200; padding: 0 4px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.social .logo-mark { margin: 0 auto; }

/* =====================================================================
   Rubriques : besoins, soins, conseils
   ===================================================================== */
/* Brand : slogan masqué quand la barre est chargée */
@media (min-width: 1200px) and (max-width: 1439px) { .brand__tag { display: none; } }
.site-header__cta { white-space: nowrap; }
.brand__tag { white-space: nowrap; }

/* Trois piliers de l'accueil */
.pillars { display: grid; gap: 24px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.pillar { display: flex; flex-direction: column; padding: 36px 32px; border: 1px solid var(--line); background: var(--ivory); text-decoration: none; transition: border-color 0.2s ease; }
.pillar:hover { border-color: var(--accent); }
.pillar__num { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--accent); }
.pillar h3 { margin: 8px 0 10px; }
.pillar p { flex-grow: 1; color: var(--muted); font-size: 15px; font-weight: 300; }
.pillar .link { align-self: flex-start; margin-top: 20px; }

/* Cartes « besoin » */
.needs-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .needs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .needs-grid { grid-template-columns: repeat(3, 1fr); } }
.need-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 56px 26px 26px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s ease; }
.need-card:hover { border-color: var(--accent); }
.need-card__q { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.need-card__t { font-size: 14px; color: var(--muted); }
.need-card__arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 20px; transition: transform 0.2s ease; }
.need-card:hover .need-card__arrow { transform: translate(4px, -50%); }
.bg-white .need-card { background: var(--ivory); }

/* Pages rubriques */
.hub-group + .hub-group { margin-top: 72px; }
.hub-group__title { font-size: 32px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* Liens vers les besoins (page soin) */
.chips-label { margin-top: 28px; font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); background: var(--white); font-size: 14px; text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* Articles */
.articles { display: grid; gap: 48px 32px; }
@media (min-width: 760px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article-card { display: flex; flex-direction: column; text-decoration: none; }
.article-card .card__img { aspect-ratio: 3 / 2; }
.article-card__meta { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.article-card h3 { margin: 10px 0; }
.article-card p { flex-grow: 1; color: var(--muted); font-size: 15px; font-weight: 300; }
.article-card .link { align-self: flex-start; margin-top: 18px; }
.article-card:hover h3 { color: var(--accent); }
.prose h2 { font-size: 32px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; font-weight: 300; line-height: 1.85; }
.author { display: flex; gap: 18px; align-items: center; margin-top: 56px; padding: 24px; background: var(--sand); }
.author p { margin: 0; font-size: 14px; color: var(--muted); }
.author strong { color: var(--ink); font-weight: 500; }

/* Parcours patient */
.journey { display: grid; gap: 0; }
.journey li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.journey li:first-child { border-top: 1px solid var(--line); }
.journey__num { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--accent); border-radius: 50%; font-family: var(--serif); font-size: 24px; color: var(--accent); }
.journey h2 { font-size: 28px; margin-bottom: 8px; }
.journey p { color: var(--muted); font-weight: 300; }

/* Pied de page : coordonnées */
.site-footer__top > div:first-child address { margin-top: 18px; }
.site-footer__top > div:first-child p { margin-top: 16px; }
.mobile-menu__soins--single { grid-template-columns: 1fr; }

/* =====================================================================
   Responsive : petits téléphones, mobiles, tablettes
   ===================================================================== */
/* Petits téléphones : l'en-tête tient sur une ligne */
@media (max-width: 419px) {
  .brand { gap: 10px; }
  .brand .logo-mark { width: 38px; height: 38px; }
  .brand__name { font-size: 16.5px; }
  .nav-burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .contact-card, .need, .pillar { padding: 28px 20px; }
  .hero h1 { font-size: 38px; }
  h1 { font-size: 38px; }
  .manifesto { font-size: 34px; }
}

/* Mobile : cartes en lignes compactes (vignette + texte) */
@media (max-width: 639px) {
  .cards { gap: 22px; }
  .card { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: start; text-align: left; }
  .card__img { grid-row: 1 / span 3; aspect-ratio: 1 / 1; margin: 0; }
  .card h3 { margin: 2px 0 4px; font-size: 22px; }
  .card p { padding: 0; font-size: 14px; line-height: 1.55; }
  .card .link { align-self: start; justify-self: start; margin-top: 10px; }

  .articles { gap: 26px; }
  .article-card { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: start; }
  .article-card .card__img { grid-row: 1 / span 4; aspect-ratio: 1 / 1; margin: 0; }
  .article-card h3 { margin: 4px 0; font-size: 21px; }
  .article-card p { font-size: 14px; line-height: 1.55; }
  .article-card .link { justify-self: start; margin-top: 8px; }

  .section { padding: 56px 0; }
  .title { margin-bottom: 36px; }
  .intro__portrait { width: 180px; height: 180px; }
  .place__img { width: 180px; height: 180px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact dd { font-size: 18px; }
  .journey li { grid-template-columns: 44px 1fr; gap: 16px; }
  .journey__num { width: 44px; height: 44px; font-size: 20px; }
  .price__name, .price__value { font-size: 19px; }
  .actions .btn { flex: 1 1 100%; }
}

/* Tablette : trois colonnes plutôt qu'une longue colonne */
@media (min-width: 700px) and (max-width: 999px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 14px; padding: 0; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pillar { padding: 28px 22px; }
  .values { gap: 28px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .needs { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .need { padding: 28px 20px; }
  .need a { flex-direction: column; gap: 2px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .contact-card { padding: 28px 18px; }
}
/* Tablette et petit portable : la mise en page 2 colonnes démarre plus tôt */
@media (min-width: 768px) and (max-width: 899px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split--top { align-items: start; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .intro { grid-template-columns: 200px 1fr; gap: 40px; }
  .intro__portrait { width: 200px; height: 200px; }
}

/* Horaires */
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours div:first-child { border-top: 1px solid var(--line); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Bouton flottant Doctolib (recommandé par Doctolib) */
.doctolib-float {
  position: fixed; z-index: 40;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 -6px 24px rgba(44, 42, 39, 0.15);
  transition: background 0.2s ease;
}
.doctolib-float:hover { background: var(--accent); }
.doctolib-float img { width: auto; height: 15px; object-fit: contain; color: #fff; font-size: 13px; letter-spacing: 0; text-transform: none; }
body { padding-bottom: 52px; }
body:has(.nav-toggle:checked) .doctolib-float { display: none; }
@media (min-width: 768px) {
  .doctolib-float {
    left: auto; right: 24px; bottom: 24px;
    padding: 14px 22px;
    box-shadow: 0 10px 30px rgba(44, 42, 39, 0.25);
  }
  body { padding-bottom: 0; }
}
@media print { .doctolib-float { display: none; } }
.topbar__rdv { color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px; }

/* =====================================================================
   Accueil (version éditoriale)
   ===================================================================== */
:root { --radius: 14px; }
.photo, .card__img, .intro__portrait, .need-card, .pillar, .contact-card, .need { border-radius: var(--radius); }
.photo, .card__img { overflow: hidden; }

/* Hero : texte + collage de deux photos */
.h-hero { padding: 40px 0 72px; }
.h-hero__grid { display: grid; gap: 48px; align-items: center; }
.h-hero h1 { font-size: 46px; line-height: 1.04; margin-bottom: 22px; text-wrap: balance; }
.h-hero h1 em { font-style: italic; color: var(--accent); }
.h-hero .lead { max-width: 520px; }
.h-hero__meta { display: grid; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.h-hero__meta strong { display: inline-block; min-width: 92px; font-weight: 500; color: var(--ink); }
.h-hero__media { position: relative; }
.h-hero__main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand-dark); }
.h-hero__badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(251, 248, 244, 0.94); border-radius: 999px;
  font-size: 13px; line-height: 1.3;
}
.h-hero__badge span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; }
@media (min-width: 900px) {
  .h-hero { padding: 64px 0 104px; }
  .h-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 72px; }
  .h-hero h1 { font-size: 64px; }
  .h-hero__badge { left: -28px; bottom: 48px; }
}
@media (min-width: 1200px) { .h-hero h1 { font-size: 76px; } }

/* Manifeste avec le monogramme en fond */
.h-manifesto { position: relative; overflow: hidden; padding: 96px 0; background: var(--sand); text-align: center; }
.h-manifesto__mark {
  position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 4vw;
  font-family: var(--serif); font-size: min(62vw, 720px); line-height: 1; color: var(--sand-dark); opacity: 0.55;
  pointer-events: none; user-select: none;
}
.h-manifesto__mark span:last-child { transform: translateY(18%); }
.h-manifesto__inner { position: relative; }
.h-manifesto__text { font-family: var(--serif); font-size: 30px; line-height: 1.3; margin: 8px 0 32px; text-wrap: balance; }
.h-manifesto__text em { color: var(--accent); }
.h-manifesto .lead { max-width: 640px; margin: 0 auto 32px; }
@media (min-width: 768px) { .h-manifesto { padding: 150px 0; } .h-manifesto__text { font-size: 44px; } }

/* Le docteur */
.h-doctor { display: grid; gap: 40px; align-items: center; }
.h-doctor__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand-dark); max-width: 520px; }
.h-doctor__text h2 { margin-bottom: 24px; }
.h-doctor__text .quote-text { margin-bottom: 20px; }
.h-doctor__facts { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.h-doctor__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.h-doctor__facts dt { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.h-doctor__facts dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.35; }
.h-doctor .actions { gap: 28px; }
@media (min-width: 900px) { .h-doctor { grid-template-columns: 5fr 6fr; gap: 88px; } }

/* Vos envies : carrousel horizontal */
.h-envies { overflow: hidden; }
.h-envies__head { display: grid; gap: 20px; margin-bottom: 40px; }
.h-envies__head .lead { margin-bottom: 18px; }
@media (min-width: 900px) { .h-envies__head { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; } }
.h-carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 20px;
  scrollbar-width: thin; scrollbar-color: var(--sand-dark) transparent;
}
@media (min-width: 640px) { .h-carousel { grid-auto-columns: 42%; } }
@media (min-width: 1000px) { .h-carousel { grid-auto-columns: 300px; gap: 20px; } }
.h-carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.h-carousel__nav[hidden] { display: none; }
.h-carousel__nav button {
  width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink); font: inherit; font-size: 18px; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.h-carousel__nav button:hover, .h-carousel__nav button:focus-visible { background: var(--ink); color: var(--ivory); }
.h-card { position: relative; scroll-snap-align: center; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand-dark); text-decoration: none; color: #fff; }
.h-card img { position: absolute; inset: 0; transition: transform 0.9s ease; }
.h-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 31, 28, 0) 40%, rgba(34, 31, 28, 0.72) 100%); }
.h-card:hover img { transform: scale(1.05); }
.h-card__body { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.h-card__group { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #f3e3da; }
.h-card__title { font-family: var(--serif); font-size: 26px; line-height: 1.15; padding-right: 32px; }
.h-card__arrow { position: absolute; right: 0; bottom: 2px; font-size: 20px; transition: transform 0.2s ease; }
.h-card:hover .h-card__arrow { transform: translateX(4px); }

/* Les traitements : liste éditoriale */
.h-treat { display: grid; gap: 40px; }
@media (min-width: 1000px) { .h-treat { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; } .h-treat__head { position: sticky; top: calc(var(--nav-h) + 40px); } }
.t-list { border-top: 1px solid var(--ink); }
.t-row { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.t-row__name { font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.t-row__name small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.t-row__tag { display: none; }
.t-row__time { display: none; }
.t-row__arrow { color: var(--accent); font-size: 20px; transition: transform 0.2s ease; }
.t-row__img { display: none; }
.t-row:hover .t-row__name { color: var(--accent); }
.t-row:hover .t-row__arrow { transform: translateX(6px); }
@media (min-width: 700px) {
  .t-row { grid-template-columns: 1fr 150px 120px 24px; }
  .t-row__tag { display: inline-block; justify-self: start; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
  .t-row__time { display: block; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
}
@media (min-width: 1000px) and (hover: hover) {
  .t-row__img {
    display: block; position: absolute; right: 40px; top: 50%; width: 150px; height: 190px;
    border-radius: 10px; object-fit: cover; pointer-events: none; z-index: 2;
    opacity: 0; transform: translateY(-50%) scale(0.92) rotate(-3deg);
    transition: opacity 0.25s ease, transform 0.35s ease;
    box-shadow: 0 20px 40px rgba(44, 42, 39, 0.18);
  }
  .t-row:hover .t-row__img { opacity: 1; transform: translateY(-50%) scale(1) rotate(-3deg); }
}

/* Comment ça se passe */
.h-steps { display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 768px) { .h-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.h-steps li { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.h-steps__num { display: block; font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.h-steps h3 { margin-bottom: 10px; }
.h-steps p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* Deux cabinets : cartes photo */
.h-places { display: grid; gap: 20px; }
@media (min-width: 768px) { .h-places { grid-template-columns: 1fr 1fr; gap: 24px; } }
.h-place { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #8c857c; color: #fff; text-decoration: none; }
.h-place img { position: absolute; inset: 0; transition: transform 0.9s ease; }
.h-place::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 31, 28, 0.05) 30%, rgba(34, 31, 28, 0.75) 100%); }
.h-place:hover img { transform: scale(1.04); }
.h-place__body { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 4px; }
.h-place__city { font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #f3e3da; }
.h-place__name { font-family: var(--serif); font-size: 30px; line-height: 1.15; padding-right: 36px; }
.h-place__addr { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.h-place__arrow { position: absolute; right: 0; bottom: 4px; font-size: 22px; transition: transform 0.2s ease; }
.h-place:hover .h-place__arrow { transform: translateX(5px); }

/* Actualités sur panneau sombre */
.h-news { padding: 88px 0; background: var(--ink); color: #fff; }
.h-news h2 { color: #fff; }
.h-news .eyebrow { color: #d9a58e; }
.h-news__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.h-news__head .link { color: #fff; }
.h-news .article-card { color: #fff; }
.h-news .article-card__meta { color: #d9a58e; }
.h-news .article-card p { color: rgba(255, 255, 255, 0.7); }
.h-news .article-card .card__img { background: #3a3632; }
.h-news .article-card:hover h3 { color: #d9a58e; }
@media (min-width: 768px) { .h-news { margin: 0 var(--gutter); border-radius: calc(var(--radius) + 6px); padding: 104px 0; } }

/* Prendre rendez-vous */
.h-book { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .h-book { grid-template-columns: 1fr 1fr; gap: 96px; } }
.h-book__infos { padding: 32px; background: var(--white); border-radius: var(--radius); }
.h-book__infos h3 { margin-bottom: 16px; }

@media (prefers-reduced-motion: reduce) { .h-card img, .h-place img, .t-row__img { transition: none; } }
