/* ==========================================================================
   Justine Sœur, ostéopathe D.O. | Feuille de styles
   Palette : crème, vert eucalyptus profond, argile, blush, sauge
   ========================================================================== */

/* ---------- Polices (hébergées localement, sans appel à Google Fonts) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  --bg: #FFFFFF;
  --tint: #FBF7F2; /* touche de couleur : ancien fond de « Comment se déroule une consultation ? » */
  --bg-alt: var(--tint);
  --bg-blush: var(--tint);
  --bg-sage: var(--tint);
  --surface: #FFFFFF;

  --ink: #22302C;
  --ink-soft: #4A5853;
  --muted: #56625D;

  --primary: #2E4A42;
  --primary-700: #243C35;
  --primary-900: #1A2C27;

  --sage: #9DB3A5;
  --sage-300: #C7D5CB;
  --clay: #A65A3E;
  --clay-ink: #94502F;
  --clay-soft: #E8C9B8;
  --gold: #B8862A;
  --plum: #8A5475; /* accent des titres : italiques, sur-titres, numéros, dates */

  --line: #E6DCD1;
  --line-strong: #D6C7B8;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;

  --shadow-sm: 0 1px 2px rgba(26, 44, 39, .06);
  --shadow: 0 1px 2px rgba(26, 44, 39, .05), 0 16px 36px -16px rgba(26, 44, 39, .2);
  --shadow-lg: 0 32px 64px -28px rgba(26, 44, 39, .32);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-brand: "Marcellus", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
button { font: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 650; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-serif);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--primary-900);
  font-variation-settings: "SOFT" 60, "WONK" 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.45rem + 3.3vw, 4rem); font-weight: 380; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .45vw, 1.42rem); font-weight: 470; line-height: 1.25; }
h1 em, h2 em {
  font-style: italic;
  font-weight: 340;
  color: var(--plum);
}
/* Nom de la praticienne dans les titres : même police que le logo (Marcellus, graisse unique) */
.name { font-family: var(--font-brand); font-weight: 400; font-style: normal; letter-spacing: 0; font-synthesis: none; font-variation-settings: normal; }

:focus-visible {
  outline: 3px solid rgba(166, 90, 62, .6);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--clay-soft); color: var(--primary-900); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Mise en page ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.section--blush { background: var(--bg-blush); }
.section--sage { background: var(--bg-sage); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }

.lead {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.small { font-size: .9rem; color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .8em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.15 var(--font-sans);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(46, 74, 66, .7); }
.btn--primary:hover { background: var(--primary-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--primary-900); }
.btn--ghost:hover { border-color: var(--primary); background: rgba(46, 74, 66, .05); color: var(--primary-900); }
.btn--light { background: #fff; color: var(--primary-900); }
.btn--light:hover { background: var(--bg); color: var(--primary-900); transform: translateY(-1px); }
.btn--outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Bandeau supérieur ---------- */
.topbar { background: var(--tint); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--clay); }
.topbar a { color: var(--primary-900); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--primary-900); text-decoration: underline; }
@media (max-width: 959px) { .topbar { display: none; } }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .25s var(--ease); }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(26, 44, 39, .35); }
.site-header.is-scrolled::before { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--primary-900); text-decoration: none; }
.brand:hover { color: var(--primary-900); }
.brand-mark { --mark-h: 56px; width: calc(var(--mark-h) * .4802); height: var(--mark-h); flex: none; overflow: visible; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-brand); font-size: 1.52rem; line-height: 1; font-weight: 400; letter-spacing: .01em; font-synthesis: none; }
.brand-role { margin-top: 5px; font-size: .68rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: .97rem;
  font-weight: 560;
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { background: rgba(46, 74, 66, .07); color: var(--primary-900); }
.nav-link .chevron { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.header-cta { margin-left: 10px; min-height: 46px; padding-inline: 1.25em; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: min(660px, 92vw);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  list-style: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--tint); color: var(--ink); }
.dropdown strong { display: block; font-weight: 620; color: var(--primary-900); line-height: 1.3; }
.dropdown small { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.dropdown .icon-bubble { width: 42px; height: 42px; border-radius: 13px; }
.dropdown .icon-bubble .icon { width: 22px; height: 22px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-900);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1079px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 49;
    display: block;
    padding: 12px var(--gutter) 140px;
    overflow-y: auto;
    background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font-size: 1.12rem; }
  .nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { background: none; }
  .has-dropdown .dropdown {
    position: static;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 0 0 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1; visibility: visible; transform: none;
  }
  .has-dropdown.is-open .dropdown { display: grid; transform: none; }
  .dropdown a { padding: 10px 6px; }
  .header-cta { margin: 24px 0 0; width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1.34rem; }
  .brand-mark { --mark-h: 48px; }
}

/* ---------- Barre d'action mobile ---------- */
.mobile-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: none;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(26, 44, 39, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease), opacity .3s;
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  color: #fff;
  font-weight: 620;
  font-size: .98rem;
  text-decoration: none;
}
.mobile-cta a.is-main { background: #fff; color: var(--primary-900); }
.mobile-cta .icon { width: 19px; height: 19px; }
.mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; }
body.nav-open .mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 118px; }
  .media-stack .badge { left: 10px; top: 16px; }
}

/* ---------- Pastilles d'icônes ---------- */
.icon-bubble {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--bg-sage);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--primary);
}
.icon-bubble .icon { width: 28px; height: 28px; stroke-width: 1.5; }
[data-tone="blush"] .icon-bubble, .icon-bubble[data-tone="blush"] { background: var(--bg-blush); color: var(--clay); }
[data-tone="sand"] .icon-bubble, .icon-bubble[data-tone="sand"] { background: var(--bg-alt); color: #7D5F3C; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 580px; margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .94rem; color: var(--ink-soft); }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof > li > .icon { width: 18px; height: 18px; color: var(--primary); }
.hero-proof strong { color: var(--primary-900); }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; }

.hero-media { position: relative; justify-self: center; width: min(100%, 450px); margin-inline: 24px; }
/* Formes décoratives : forme orangée qui ondule, rond vert qui bat comme un cœur */
.blob { position: absolute; z-index: 0; display: block; aspect-ratio: 1; pointer-events: none; }
.blob--morph { background: #F3E3DA; border-radius: 62% 38% 46% 54% / 48% 42% 58% 52%; animation: blob-morph 16s ease-in-out infinite; }
.blob--beat { background: #E9EFEA; border-radius: 50%; animation: heartbeat 3s ease-in-out infinite; }
.hero-media .blob--morph { top: -6%; right: -13%; width: 104%; }
.hero-media .blob--2 { bottom: -8%; left: -15%; width: 58%; }
@keyframes blob-morph {
  0%, 100% { border-radius: 62% 38% 46% 54% / 48% 42% 58% 52%; translate: 0 0; rotate: 0deg; }
  25% { border-radius: 46% 54% 62% 38% / 58% 36% 64% 42%; translate: -1.5% 1.5%; rotate: 4deg; }
  50% { border-radius: 38% 62% 50% 50% / 42% 60% 40% 58%; translate: -3% 2.5%; rotate: 9deg; }
  75% { border-radius: 56% 44% 36% 64% / 62% 46% 54% 38%; translate: -1% .5%; rotate: 4deg; }
}
@keyframes heartbeat {
  0%, 38%, 100% { scale: 1; }
  8% { scale: 1.1; }
  16% { scale: .98; }
  24% { scale: 1.06; }
}
.arch {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .88rem;
  line-height: 1.3;
  color: var(--ink-soft);
}
.float-card strong { display: block; font-family: var(--font-serif); font-size: 1.16rem; font-weight: 500; color: var(--primary-900); }
.float-card .icon-bubble { width: 44px; height: 44px; border-radius: 14px; }
.float-card .icon-bubble .icon { width: 22px; height: 22px; }
.float-card--rating { left: -34px; bottom: 64px; }
.float-card--do { right: -30px; top: 30%; }
@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin-top: 12px; width: min(100%, 400px); }
}
@media (max-width: 520px) {
  .hero-media { width: min(100% - 32px, 360px); }
  .float-card--rating { left: -20px; bottom: 40px; }
  .float-card--do { right: -20px; top: 14%; }
  .float-card { padding: 9px 12px 9px 9px; font-size: .8rem; }
  .float-card strong { font-size: 1rem; }
  .float-card .icon-bubble { width: 36px; height: 36px; }
}

/* ---------- Bandeau de confiance ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 26px 22px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .icon { width: 34px; height: 34px; color: var(--clay); stroke-width: 1.4; }
.trust-item strong { display: block; font-weight: 650; font-size: .98rem; line-height: 1.3; color: var(--primary-900); }
.trust-item span { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 959px) {
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 22px 18px; }
  .trust-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding: 18px 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
}

/* ---------- Cartes spécialités ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.cards > li { display: flex; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card .icon-bubble { margin-bottom: 8px; }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: .92rem; font-weight: 620; color: var(--primary); }
.card .more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .more .icon { transform: translateX(4px); }
@media (max-width: 1079px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card { padding: 22px 20px; } }

/* ---------- Sections en deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--wide-text { grid-template-columns: .9fr 1.1fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 959px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.media-stack { position: relative; padding: 0 14% 16% 0; }
.media-stack .main { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.media-stack .main img, .media-stack .secondary img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .secondary { position: absolute; right: 0; bottom: 0; width: 52%; overflow: hidden; border: 7px solid var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.section--alt .media-stack .secondary { border-color: var(--bg-alt); }
.media-stack .badge {
  position: absolute;
  left: -14px; top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
  font-size: .85rem;
  line-height: 1.3;
}
.media-stack .badge strong { display: block; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 400; line-height: 1; color: var(--primary-900); }

.photo { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }

.check-list { display: grid; gap: 14px; margin: 26px 0 30px; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.check-list .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--clay); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 30px 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-num { display: block; margin-bottom: 16px; font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--plum); }
.step h3 { margin-bottom: .45em; }
.step p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
@media (max-width: 959px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary-900);
  font-size: .98rem;
}
.note .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--primary); }
.note p { margin: 0; }

/* ---------- Avis ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.reviews-head .section-head { margin-bottom: 0; }
.rating-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.rating-score { font-family: var(--font-serif); font-size: 3rem; font-weight: 400; line-height: 1; color: var(--primary-900); }
.rating-summary .stars .icon { width: 18px; height: 18px; }
.rating-summary p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.rating-summary a { font-weight: 600; color: var(--primary); }

.reviews-grid { columns: 3 300px; column-gap: 18px; }
.reviews-grid--single { columns: auto; max-width: 780px; }
.reviews-grid--pair { columns: 2 300px; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 18px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  break-inside: avoid;
  animation: review-float 7s ease-in-out infinite;
  transition: scale .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.review:nth-child(4n+1) { animation-duration: 6.6s; animation-delay: -1.3s; }
.review:nth-child(4n+2) { animation-duration: 7.8s; animation-delay: -3.6s; }
.review:nth-child(4n+3) { animation-duration: 7.1s; animation-delay: -5.2s; }
.review:nth-child(4n) { animation-duration: 8.4s; animation-delay: -2.4s; }
@keyframes review-float {
  0%, 100% { translate: 0 0; }
  35% { translate: 0 -6px; }
  70% { translate: 0 3px; }
}
@media (hover: hover) and (pointer: fine) {
  .review:hover { z-index: 3; scale: 1.06; border-color: transparent; box-shadow: var(--shadow-lg); animation-play-state: paused; }
}
.review:focus-within { z-index: 3; box-shadow: var(--shadow); }
.review[hidden] { display: none; }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-sage); color: var(--primary); font-weight: 700; font-size: 1rem; }
.review:nth-child(3n+2) .avatar { background: var(--bg-blush); color: var(--clay-ink); }
.review:nth-child(3n) .avatar { background: var(--bg-alt); color: #6E5334; }
.review-name { display: block; font-weight: 650; line-height: 1.25; color: var(--primary-900); }
.review-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: .82rem; color: var(--muted); }
.review-meta .stars .icon { width: 13px; height: 13px; }
.review blockquote { margin: 0; font-size: .98rem; line-height: 1.62; color: var(--ink); }
.review blockquote p { margin: 0 0 .55em; }
.review blockquote p:last-child { margin-bottom: 0; }
.review.is-clamped blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.review-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--tint); font-size: .76rem; font-weight: 620; color: var(--clay-ink); }
.read-more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--primary); font-size: .9rem; font-weight: 620; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.reviews-actions { display: flex; justify-content: center; margin-top: 14px; }
.reviews-disclaimer { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: .86rem; color: var(--muted); }

/* ---------- Infos pratiques ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.info-card h3 .icon-bubble { width: 44px; height: 44px; border-radius: 14px; }
.info-card h3 .icon-bubble .icon { width: 22px; height: 22px; }
.info-card p { color: var(--ink-soft); }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.price-row span { color: var(--ink-soft); }
.price { font-family: var(--font-serif); font-size: 1.65rem; line-height: 1; color: var(--primary-900); white-space: nowrap; }
.meta-list { display: grid; gap: 12px; margin: 0 0 1em; padding: 0; list-style: none; }
.meta-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; line-height: 1.5; color: var(--ink-soft); }
.meta-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--clay); }
.meta-list strong { color: var(--primary-900); }
@media (max-width: 959px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem);
  font-weight: 450;
  line-height: 1.35;
  color: var(--primary-900);
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 30px; height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background:
    linear-gradient(var(--primary), var(--primary)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--primary), var(--primary)) center / 1.6px 12px no-repeat,
    var(--bg-sage);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 48px 24px 0; color: var(--ink-soft); }
.faq-list .answer p:last-child { margin-bottom: 0; }
@media (max-width: 959px) {
  .faq { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* ---------- Rendez-vous (Doctolib) ---------- */
.texture { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-position: center; background-size: cover; }
.rdv-section { position: relative; overflow: hidden; }
.rdv-section .texture { opacity: .14; mix-blend-mode: multiply; }
.rdv-section > .container { position: relative; z-index: 1; }

.rdv-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.rdv-options { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.rdv-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
a.rdv-option:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); color: var(--ink); }
.rdv-option .icon-bubble { width: 48px; height: 48px; border-radius: 15px; color: var(--primary); }
.rdv-option .icon-bubble .icon { width: 24px; height: 24px; }
.rdv-option strong { display: block; font-size: 1.02rem; color: var(--primary-900); }
.rdv-option small { display: block; margin-top: 2px; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.rdv-option .icon-go { width: 18px; height: 18px; margin-left: auto; color: var(--muted); }
@media (max-width: 999px) { .rdv-grid { grid-template-columns: 1fr; } }

.book-card { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.book-card .icon-bubble { width: 60px; height: 60px; margin-bottom: 20px; border-radius: 18px; }
.book-card .icon-bubble .icon { width: 30px; height: 30px; }
.book-card h3 { margin-bottom: 0; color: var(--primary-900); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); }
.book-card .check-list { margin: 22px 0 28px; }
.book-card .btn { width: 100%; }
.book-note { margin: 16px 0 0; font-size: .86rem; line-height: 1.5; text-align: center; color: var(--muted); }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; padding-block: clamp(22px, 4vw, 48px) clamp(56px, 8vw, 104px); overflow: hidden; }
.breadcrumb { margin-bottom: clamp(24px, 4vw, 44px); font-size: .88rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-soft); }
.page-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.page-hero h1 { font-size: clamp(2.15rem, 1.4rem + 2.8vw, 3.55rem); margin-bottom: 22px; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero-media { position: relative; }
.page-hero-media .photo { aspect-ratio: 5 / 4; }
.page-hero-media .photo--arch { aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto; }
.page-hero-media .blob { z-index: -1; }
.page-hero-media .blob--morph { top: -9%; right: -9%; width: 60%; }
.page-hero-media .blob--2 { bottom: -9%; left: -8%; width: 38%; }
@media (max-width: 959px) { .page-hero-grid { grid-template-columns: 1fr; } }

.graphic {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-sage);
  color: var(--primary);
}
.graphic[data-tone="blush"] { background: var(--bg-blush); color: var(--clay); }
.graphic[data-tone="sand"] { background: var(--bg-alt); color: #7D5F3C; }
.graphic .rings { position: absolute; inset: 0; width: 100%; height: 100%; color: currentColor; opacity: .16; }
.graphic .icon { position: relative; width: 38%; height: 38%; stroke-width: .9; }
.graphic .graphic-caption { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.graphic .graphic-caption span { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: .84rem; font-weight: 600; color: var(--primary-900); }

.motifs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.motifs li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.motifs .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--clay); }
@media (max-width: 760px) { .motifs { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature .icon-bubble { margin-bottom: 18px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 959px) { .features { grid-template-columns: 1fr; } }

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-blush);
}
.callout .icon-bubble { background: #fff; color: var(--clay); }
.callout h3 { margin-bottom: .4em; font-size: 1.2rem; }
.callout p { color: var(--ink-soft); }
.callout p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .callout { grid-template-columns: 1fr; padding: 24px 22px; } }

.subsection + .subsection { margin-top: clamp(56px, 8vw, 96px); }

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--tint);
}
.cta-band .texture { opacity: .16; mix-blend-mode: multiply; }
.cta-band > :not(.texture) { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: .3em; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); }
.cta-band p { margin: 0; color: var(--ink-soft); }
@media (max-width: 859px) { .cta-band { grid-template-columns: 1fr; } }

.related { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.related a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; font-weight: 560; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.related a:hover { border-color: var(--primary); transform: translateY(-1px); color: var(--primary-900); }
.related .icon-bubble { width: 32px; height: 32px; border-radius: 50%; }
.related .icon-bubble .icon { width: 17px; height: 17px; }

/* ---------- Articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.articles > li { display: flex; }
.article-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.article-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  padding: 22px 24px;
  background: var(--bg-sage);
  color: var(--primary);
}
.article-cover[data-tone="blush"] { background: var(--bg-blush); color: var(--clay); }
.article-cover[data-tone="sand"] { background: var(--bg-alt); color: #7D5F3C; }
.article-cover .rings { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .2; transition: transform .8s var(--ease); }
.article-cover .cover-icon { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: rgba(255, 255, 255, .72); }
.article-cover .cover-icon .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.article-cover .cover-word { position: relative; font-family: var(--font-serif); font-style: italic; font-weight: 340; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: -.01em; color: var(--primary-900); font-variation-settings: "SOFT" 80, "WONK" 0; }
.article-card:hover .article-cover .rings { transform: scale(1.08); }
.article-card .body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.article-card .tag { font-size: .76rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }
.article-card h3, .article-card .article-card-title { margin: 0; font-size: 1.16rem; line-height: 1.32; }
.article-card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.article-card .more { margin-top: auto; padding-top: 8px; font-size: .92rem; font-weight: 620; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 999px) { .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .articles { grid-template-columns: 1fr; } }

/* ---------- Page article ---------- */
.article-hero { padding-bottom: clamp(36px, 5vw, 64px); }
.article-title { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.15rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 22px 0 0; font-size: .92rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 17px; height: 17px; color: var(--clay); }
.article-meta a { color: var(--primary); font-weight: 600; }
.article-meta .by { display: inline; }
.article-hero-cover .article-cover { aspect-ratio: 4 / 3; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-hero-cover .article-cover .cover-icon { width: 64px; height: 64px; border-radius: 20px; }
.article-hero-cover .article-cover .cover-icon .icon { width: 32px; height: 32px; }
.article-hero-cover .article-cover .cover-word { font-size: clamp(2.4rem, 1.7rem + 2.2vw, 3.6rem); }
.article-section { padding-top: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.article-main { min-width: 0; max-width: 720px; }
.article-body { max-width: none; font-size: 1.08rem; line-height: 1.78; color: var(--ink); }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 1.9em 0 .6em; font-size: clamp(1.45rem, 1.25rem + .8vw, 1.95rem); }
.article-body h3 { margin: 1.6em 0 .5em; font-size: 1.22rem; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.1em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body li::marker { color: var(--clay); }
.article-body strong { color: var(--primary-900); }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--clay-soft); font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.55; color: var(--primary-900); }
.article-body a:not(.btn) { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.article-body .key-points { margin: 1.8em 0; padding: 26px 30px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.article-body .key-points-title { margin: 0 0 14px; font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.article-body .key-points > :last-child { margin-bottom: 0; }
.article-body .key-points p { margin-bottom: .7em; }
.article-body .key-points li { margin-bottom: .45em; }
.article-body .flow { display: grid; gap: 0; margin: 1.4em 0 1.6em; padding: 0; list-style: none; counter-reset: flow; }
.article-body .flow li { position: relative; margin: 0; padding: 12px 18px 12px 58px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; color: var(--primary-900); counter-increment: flow; }
.article-body .flow li::before { content: counter(flow); position: absolute; left: 14px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--bg-sage); font-size: .9rem; font-weight: 700; color: var(--primary); }
.article-body .flow li + li { margin-top: 26px; }
.article-body .flow li + li::after { content: ""; position: absolute; left: 28px; top: -22px; width: 2px; height: 18px; background: var(--clay-soft); }
.article-body .article-cta { margin: 1.4em 0 1.6em; }
.article-body .article-cta .btn, .article-body .article-cta .btn:hover { color: #fff; text-decoration: none; }
.article-disclaimer { margin: 40px 0 0; align-items: start; }
.article-disclaimer > .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--clay); }
.article-disclaimer > span { font-size: .96rem; line-height: 1.6; color: var(--ink-soft); }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 24px; margin-top: 28px; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.author-photo { width: 96px; height: 96px; overflow: hidden; border-radius: 50%; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-box p { font-size: .98rem; color: var(--ink-soft); }
.author-box .author-name { margin: 0; font-size: 1.55rem; line-height: 1.2; color: var(--primary-900); }
.author-box .author-role { margin: 4px 0 12px; font-size: .76rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.article-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.aside-card { display: grid; justify-items: start; gap: 12px; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.aside-card .icon-bubble { margin-bottom: 4px; }
.aside-card .aside-title { margin: 0; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25; color: var(--primary-900); font-variation-settings: "SOFT" 60, "WONK" 0; }
.aside-card p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.aside-card .btn { width: 100%; margin-top: 6px; }
@media (max-width: 1079px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; max-width: 720px; } }
@media (max-width: 959px) { .article-hero-cover .article-cover { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; padding: 24px 22px; } }

/* ---------- À propos ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 28px 42px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 15px; height: 15px; border: 2px solid var(--clay); border-radius: 50%; background: var(--bg); }
.timeline .year { display: block; margin-bottom: 2px; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--plum); }
.timeline strong { display: block; color: var(--primary-900); }
.timeline p { margin: 2px 0 0; font-size: .96rem; color: var(--ink-soft); }

.gallery { display: grid; grid-template-columns: 1.15fr .85fr; grid-auto-rows: minmax(180px, auto); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } .gallery .g-tall { grid-row: auto; aspect-ratio: 4 / 5; } .gallery figure { aspect-ratio: 4 / 3; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 859px) { .values { grid-template-columns: 1fr; } }

/* ---------- Texte long (mentions, confidentialité) ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--primary); font-weight: 560; }
.todo { padding: .05em .35em; border-radius: 5px; background: #FFF0B3; color: #5C4700; font-weight: 650; }

/* ---------- Pied de page ---------- */
.site-footer { padding-block: 72px 30px; border-top: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--primary-900); }
.site-footer .brand-role { color: var(--muted); }
.footer-about p { margin: 18px 0 0; max-width: 340px; }
.site-footer h2 { margin-bottom: 18px; font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-900); }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--primary-900); text-decoration: underline; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--clay); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.footer-disclaimer { margin: 18px 0 0; font-size: .84rem; color: var(--muted); max-width: 360px; }
@media (max-width: 959px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Page 404 ---------- */
.status-page { padding-block: clamp(48px, 8vw, 110px); }
.status-page .photo { aspect-ratio: 4 / 3; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .mobile-cta, .rdv-section, .cta-band { display: none !important; }
  body { background: #fff; padding: 0; }
}
