/* Colour follows the photographs and the reading rhythm, using Kanti's existing palette. */
.guide-experience {
  --guide-wash: color-mix(in srgb, var(--orange) 18%, var(--site-ground));
  --guide-accent: color-mix(in srgb, var(--orange) 76%, var(--ink));
  --guide-link: color-mix(in srgb, var(--ink) 85%, var(--orange));
}
.guide-hero {
  position: relative;
  isolation: isolate;
  padding-block: 48px 84px;
}
.guide-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 18px 0 52px 35%;
  background: var(--guide-wash);
  border-radius: 48% 48% 0 48%;
}
.guide-heading { position: relative; z-index: 1; }
.guide-heading .eyebrow { color: var(--guide-link); }
.guide-heading .eyebrow::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 26px;
  height: 2px;
  margin-right: 12px;
  background: var(--guide-accent);
}
.guide-heading h1 { max-width: 13ch; }
.guide-picture {
  position: relative;
  padding: 18px 22px 0 0;
}
.guide-picture::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 62%;
  aspect-ratio: 1;
  top: -8px;
  right: 3px;
  border: 1px solid var(--guide-accent);
  border-radius: 50%;
}
.guide-picture img { position: relative; }
.guide-picture figcaption { padding-right: 12px; }
[data-guide="soins-massages"] { --guide-wash: color-mix(in srgb, var(--orange) 25%, var(--site-ground)); }
[data-guide="soins-massages"] .guide-hero::before { border-radius: 52% 0 45% 48%; }
[data-guide="retraites-yoga"] .guide-hero::before { border-radius: 50% 50% 0 0; }
[data-guide="kinesitherapie-gds"] .guide-hero::before,
[data-guide="marion-hirsch"] .guide-hero::before { border-radius: 50% 0 0 45%; }

/* The quiet coloured rail connects its numbered links to the article's chapters. */
.guide-reading { padding-top: 44px; }
.guide-rail nav {
  max-width: 270px;
  padding: 25px 22px 22px;
  background: var(--guide-wash);
  border-top: 2px solid var(--guide-accent);
}
.guide-rail .eyebrow { font-size: 12px; letter-spacing: .09em; }
.guide-rail ol { gap: 3px; }
.guide-rail a { align-items: baseline; gap: 12px; color: var(--ink); }
.guide-toc-number {
  flex: 0 0 20px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--guide-link);
}
.guide-rail a:hover { text-decoration-color: var(--guide-accent); }
.guide-section + .guide-section { margin-top: 58px; }
.guide-section-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--guide-link);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.guide-section-mark::after {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--guide-accent);
}
.guide-body :is(p, li) a {
  color: var(--guide-link);
  text-decoration-color: color-mix(in srgb, var(--orange) 72%, var(--ink));
  text-decoration-thickness: 1.5px;
}
.guide-body :is(p, li) a:hover { text-decoration-color: currentColor; }
.guide-body li::marker { color: var(--guide-link); }
.guide-section#tarifs {
  padding: clamp(24px, 3vw, 36px);
  background: var(--guide-wash);
  border-top: 2px solid var(--guide-accent);
}
.guide-prices dd { font-size: 23px; font-weight: 500; }
.guide-prices dt span { color: var(--guide-link); }
.guide-body blockquote {
  padding: 18px 22px;
  background: var(--guide-wash);
  border-left-color: var(--guide-accent);
}

/* References feel like a margin note; the last invitation carries the deeper ink. */
.guide-sources {
  margin-top: 58px;
  padding: 28px 30px;
  background: var(--finish-surface);
  border-top: 0;
  border-left: 2px solid var(--guide-accent);
}
.guide-sources h2 { font-family: var(--font-display), Georgia, serif; font-size: 30px; }
.guide-sources li + li { padding-top: 18px; border-top: 1px solid var(--guide-line); }
.guide-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 44px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--ink);
  color: var(--paper);
}
.guide-contact::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 390px;
  height: 390px;
  top: -280px;
  right: -120px;
  border: 44px solid color-mix(in srgb, var(--orange) 25%, var(--ink));
  border-radius: 50%;
}
.guide-contact .eyebrow { color: var(--paper); }
.guide-contact h2 { font-size: clamp(40px, 4vw, 54px); }
.guide-contact .solid-action { background: var(--orange); color: var(--ink); }
.guide-contact .solid-action:hover { background: var(--paper); color: var(--ink); }
.guide-contact .solid-action:focus-visible { outline-color: var(--paper); }
.guide-return > span { color: var(--guide-link); }

/* At smaller widths the coloured shapes recede behind the photo, keeping type clear. */
@media (max-width: 1000px) {
  .guide-hero { padding-block: 36px 64px; }
  .guide-hero::before { left: 37%; }
  .guide-picture { padding-right: 14px; }
  .guide-rail nav { padding: 23px 17px; }
  .guide-rail a { gap: 8px; font-size: 15px; }
}
@media (max-width: 760px) {
  .guide-hero { padding-block: 24px 46px; }
  .guide-hero::before { top: auto; height: 340px; bottom: 24px; left: 8%; }
  .guide-picture { padding: 12px 14px 0 0; }
  .guide-picture::after { width: 50%; top: -4px; right: 2px; }
  .guide-picture img { aspect-ratio: 4 / 3; }
  .guide-picture figcaption { max-width: 46ch; }
  .guide-reading { padding-top: 30px; }
  .guide-rail { padding-bottom: 0; border-bottom: 0; margin-bottom: 40px; }
  .guide-rail nav { max-width: none; padding: 22px; }
  .guide-rail a { font-size: 16px; gap: 12px; }
  .guide-section + .guide-section { margin-top: 44px; }
  .guide-sources { margin-top: 44px; }
}
@media (max-width: 480px) {
  .guide-hero::before { height: 270px; }
  .guide-heading .eyebrow::before { width: 18px; margin-right: 9px; }
  .guide-rail nav { padding: 22px 20px; }
  .guide-section#tarifs { padding: 24px 20px; }
  .guide-body dl > div { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .guide-prices dt { font-size: 16px; }
  .guide-prices dt span, .guide-prices dd span { font-size: 14px; }
  .guide-prices dd { font-size: 21px; }
  .guide-prices dd span { display: block; text-align: right; }
  .guide-sources { padding: 24px 22px; }
  .guide-contact { padding: 30px 24px; }
}
@media print {
  .guide-hero::before, .guide-picture::after { display: none; }
  .guide-picture { padding: 0; }
  .guide-section#tarifs, .guide-sources { background: none; border: 0; padding: 0; }
  .guide-section-mark { display: none; }
}
