/* ============================================
   SHARED PAGE ELEMENTS (sub-pages)
   ============================================ */

/* Active nav link */
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* ---- Page hero ---- */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 168px 24px 72px;
  overflow: hidden;
}
.page-hero .orb { display: none; }
.page-hero .eyebrow { position: relative; z-index: 2; }
.page-hero__title {
  position: relative; z-index: 2;
  font-size: clamp(38px, 6.4vw, 94px);
  line-height: 1.0; letter-spacing: -.035em; font-weight: 500;
  margin: 0 auto; max-width: 20ch;
}
.page-hero__sub {
  position: relative; z-index: 2;
  margin: 24px auto 0; max-width: 58ch;
  color: var(--ink-soft); font-size: clamp(15px, 1.2vw, 18px);
}

/* ---- CTA band ---- */
.cta-band { padding: 40px 28px 120px; }
.cta-band__inner {
  max-width: var(--max); margin: 0 auto;
  background: var(--dark); color: var(--on-dark);
  border-radius: 32px; padding: 90px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band__inner::before {
  content: ""; position: absolute;
  inset: auto 50% -260px auto; width: 700px; height: 700px;
  transform: translateX(50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,91,.45), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.cta-band h2 {
  position: relative; z-index: 1;
  margin: 0 0 14px; font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.05; letter-spacing: -.03em; font-weight: 500;
  color: var(--on-dark);
}
.cta-band h2 em { color: var(--accent-3); }
.cta-band p { position: relative; z-index: 1; margin: 0 auto 32px; max-width: 48ch; color: var(--on-dark-soft); }
.cta-band .btn--solid { background: var(--bg); color: var(--dark); }
.cta-band .btn--solid:hover { background: #fff; }

/* ---- Timeline (docteur) ---- */
.timeline-sec { max-width: var(--max); margin: 0 auto; padding: 100px 28px; }
.timeline-sec__head { margin-bottom: 56px; max-width: 60ch; }
.timeline-sec__head h2 { margin: 0; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; font-weight: 500; max-width: 18ch; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline__item {
  position: relative; padding: 28px 0 28px 40px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline;
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 34px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent);
}
.timeline__year {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 20px; color: var(--accent-2);
}
.timeline__item h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.timeline__item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; max-width: 54ch; }
.timeline__item--now::before { background: var(--ink); box-shadow: 0 0 0 5px rgba(10,10,10,.12); }
.timeline__item--now .timeline__year { color: var(--ink); }
@media (max-width: 720px) {
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
}

/* ---- Philosophy (docteur) ---- */
.philo { background: var(--dark); color: var(--on-dark); padding: 120px 28px; }
.philo__head { max-width: var(--max); margin: 0 auto 56px; text-align: center; }
.philo .eyebrow { color: var(--on-dark-soft); }
.philo .eyebrow::before { color: var(--accent-3); }
.philo__head h2 { margin: 0 auto 18px; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; font-weight: 500; color: var(--on-dark); max-width: 16ch; }
.philo__head h2 em { color: var(--accent-3); }
.philo__lead { margin: 0 auto; max-width: 56ch; color: var(--on-dark-soft); font-size: clamp(15px, 1.2vw, 17px); }
.philo__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .philo__grid { grid-template-columns: 1fr; } }
.philo__card {
  padding: 36px 30px; border-radius: 20px;
  background: rgba(248,226,219,.05); border: 1px solid rgba(248,226,219,.1);
  backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.philo__card:hover { transform: translateY(-6px); border-color: var(--accent); background: rgba(248,226,219,.08); }
.philo__num { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 30px; color: var(--accent-3); }
.philo__card h3 { margin: 14px 0 10px; font-size: 22px; font-weight: 600; color: var(--on-dark); }
.philo__card p { margin: 0; color: var(--on-dark-soft); font-size: 14.5px; line-height: 1.6; }

/* ---- Domain index (interventions) ---- */
.domain-index {
  max-width: var(--max); margin: 0 auto; padding: 0 28px 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.domain-index a {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 22px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.domain-index a span { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--accent-2); font-size: 16px; }
.domain-index a:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--bg); }
@media (max-width: 880px) { .domain-index { grid-template-columns: 1fr 1fr; } }

/* ---- Procedure rows (interventions) ---- */
.proc {
  max-width: var(--max); margin: 0 auto; padding: 90px 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.proc--reverse .proc__media { order: 2; }
.proc__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); box-shadow: 0 40px 80px -50px rgba(40,20,10,.35); }
.proc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proc:hover .proc__media img { transform: scale(1.05); }
.proc__num {
  display: inline-block; font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 42px; color: var(--accent); line-height: 1; margin-bottom: 12px;
}
.proc__copy h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; }
.proc__copy > p { margin: 0 0 26px; color: var(--ink-soft); font-size: clamp(15px, 1.15vw, 17px); max-width: 50ch; line-height: 1.65; }
.proc__list { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 12px; }
.proc__list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.proc__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 1px; background: var(--accent); }
.proc__list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 880px) {
  .proc { grid-template-columns: 1fr; gap: 36px; padding: 60px 28px; }
  .proc--reverse .proc__media { order: 0; }
}

.how--page { padding-top: 40px; }

/* ---- Stats (patients) ---- */
.stats {
  max-width: var(--max); margin: 0 auto; padding: 20px 28px 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat {
  padding: 36px 24px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  text-align: center;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--accent); }
.stat strong {
  display: block; font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(40px, 5vw, 64px); color: var(--accent-2); line-height: 1; font-weight: 400;
}
.stat strong small { font-size: .4em; color: var(--ink-mute); }
.stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-soft); letter-spacing: .02em; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

.results__note { text-align: center; max-width: 60ch; margin: 40px auto 0; padding: 0 28px; font-size: 12.5px; color: var(--on-dark-soft); opacity: .7; }

/* ---- Contact info cards ---- */
.contact-info {
  max-width: var(--max); margin: 0 auto; padding: 30px 28px 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.info-card {
  padding: 30px 26px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.info-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 50px -28px rgba(176,141,91,.4); }
.info-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg-2); color: var(--ink);
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.info-card p { margin: 0; font-size: 16px; font-weight: 500; color: var(--ink); }
@media (max-width: 880px) { .contact-info { grid-template-columns: 1fr 1fr; } }

.rdv--page { background: var(--bg); }

/* ---- Map ---- */
.map-sec { padding: 0 28px 120px; }
.map-sec__inner {
  max-width: var(--max); margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(40,20,10,.3);
  height: 420px;
}
.map-sec__inner iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
