/* ============================================================
   Cabinet SK Dental — La Chapelle-en-Serval
   Direction : porcelaine / encre nuit / laiton — éditorial N&B
   Type : Marcellus (display) · Jost (texte)
   ============================================================ */

:root {
  --porcelain: #f5f2ec;
  --porcelain-deep: #ebe6db;
  --carbon: #191613;
  --night: #0e1b26;        /* bleu nuit — blouses, ancien logo */
  --night-soft: #16283a;
  --brass: #a07a3e;        /* laiton — suspensions du cabinet */
  --brass-soft: #c2a061;
  --stone: #6e675c;
  --line: #d9d2c4;
  --line-night: rgba(245, 242, 236, 0.18);
  --radius: 14px;
  --radius-lg: 22px;

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Jost", "Avenir Next", "Helvetica Neue", sans-serif;

  --pad-section: clamp(4rem, 9vw, 7.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--carbon);
  background: var(--porcelain);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}
.container-narrow { max-width: 780px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

.muted { color: var(--stone); }

/* ---------- Utilitaires typographiques ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  display: block;
  margin-bottom: 1.1rem;
}
/* Sur-titre placé dans le H1 de l'accueil (mot-clé dans le H1) : garder le rendu d'un .eyebrow seul */
h1 .eyebrow {
  font-family: var(--font-body);
  font-style: normal;
  line-height: 1.65;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  max-width: 18ch;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--night);
  color: var(--porcelain);
}
.btn-primary:hover { background: var(--night-soft); }

.btn-outline {
  border-color: var(--carbon);
  color: var(--carbon);
  background: transparent;
}
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }

.btn-ghost {
  color: var(--carbon);
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--brass);
}
.btn-ghost:hover { color: var(--brass); }

/* variantes sur fond nuit */
.btn-light { background: var(--porcelain); color: var(--night); }
.btn-light:hover { background: #fff; }
.btn-ghost-light {
  color: var(--porcelain);
  border-color: var(--line-night);
  background: transparent;
}
.btn-ghost-light:hover { border-color: var(--brass-soft); color: var(--brass-soft); }

.btn-lg { padding: 1.05rem 2.4rem; font-size: 1rem; }
.btn-block { width: 100%; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--carbon);
}
.logo-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--night);
  white-space: nowrap;
}
.logo-mark::after { content: ""; }
.logo-text {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone);
  line-height: 1.4;
  white-space: nowrap;
}
.logo-text small { font-size: inherit; font-weight: inherit; }

.main-nav { display: flex; gap: 1.5rem; margin-inline: auto; }
.main-nav a {
  text-decoration: none;
  color: var(--carbon);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--brass); }

.header-cta { display: flex; gap: 0.7rem; align-items: center; }
.header-tel {
  font-family: var(--font-body);
  text-decoration: none;
  color: var(--carbon);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.header-tel:hover { color: var(--brass); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--carbon);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: min(82vh, 780px);
}

.hero-content {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem) max(1.5rem, calc((100vw - 1180px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass);
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--stone);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-actions.center { justify-content: center; }

.hero-urgence {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--stone);
}
.hero-urgence a { color: var(--carbon); font-weight: 500; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.hero-urgence a:hover { color: var(--brass); }

.hero-media {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 1.5rem 1.5rem 0;
  border-radius: var(--radius-lg);
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(245, 242, 236, 0.55);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

/* ---------- Bandeau stats ---------- */
.stats-band { border-bottom: 1px solid var(--line); background: var(--porcelain-deep); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 1.9rem 1rem;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--night);
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone);
}

/* ---------- Marquee villes ---------- */
.towns-band {
  overflow: hidden;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.towns-track {
  display: inline-block;
  animation: towns-scroll 48s linear infinite;
}
.towns-track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  padding-inline: 1.6rem;
}
.towns-track span::after {
  content: "·";
  color: var(--brass);
  padding-left: 3.2rem;
}
@keyframes towns-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: var(--pad-section) 0; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--stone); max-width: 52ch; margin-top: 1rem; }

/* ---------- Soins : liste éditoriale ---------- */
.care-list { border-top: 1px solid var(--line); }
.care-item {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 1.6fr auto;
  gap: 1rem 2.5rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.care-item h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.care-item p { color: var(--stone); max-width: 58ch; }
.care-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--night);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
  white-space: nowrap;
}
.care-link:hover { color: var(--brass); }

.care-item--urgence h3::after {
  content: "aujourd'hui";
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--porcelain);
  background: var(--brass);
  padding: 0.25rem 0.6rem;
  margin-left: 0.9rem;
  vertical-align: middle;
  border-radius: 999px;
}

/* ---------- Vidéo (fond nuit) ---------- */
.video-section {
  background: var(--night);
  color: var(--porcelain);
  padding: var(--pad-section) 0;
}
.video-section .eyebrow { color: var(--brass-soft); }
.video-section .section-head p { color: rgba(245, 242, 236, 0.65); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-night);
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: #000;
}
.video-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
  transition: filter 0.3s ease, transform 0.4s ease;
}
.video-frame:hover img { filter: grayscale(0); transform: scale(1.015); }
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 236, 0.7);
  background: rgba(14, 27, 38, 0.55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}
.video-play::before {
  content: "";
  width: 0; height: 0;
  border-left: 20px solid var(--porcelain);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.video-frame:hover .video-play { background: rgba(160, 122, 62, 0.6); border-color: var(--brass-soft); }
.video-caption {
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
}

/* ---------- Équipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.team-card { text-decoration: none; color: inherit; }
.team-photo {
  aspect-ratio: 3 / 3.4;
  overflow: hidden;
  background: var(--porcelain-deep);
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.45s ease, transform 0.6s ease;
}
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.03); }
.team-photo--monogram { display: flex; align-items: center; justify-content: center; }
.team-photo--monogram span { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.6rem); letter-spacing: 0.08em; color: var(--brass); }

.team-card h3 { font-size: 1.25rem; }
.team-card p {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.3rem;
}

/* ---------- Cabinet / engagements ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.pledge-list { list-style: none; border-top: 1px solid var(--line); }
.pledge-list li {
  padding: 1.1rem 0 1.1rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pledge-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.75rem;
  width: 8px; height: 8px;
  background: var(--brass);
}

/* ---------- Infos pratiques ---------- */
.info-panel {
  background: var(--porcelain-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.info-panel h3 {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.info-panel .info-block { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.info-panel .info-block:first-child { padding-top: 0; }
.info-panel .info-block:last-child { border-bottom: 0; padding-bottom: 0; }
.info-panel p { color: var(--stone); font-size: 0.97rem; }
.info-panel strong { color: var(--carbon); font-weight: 500; }

.hours { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours td { padding: 0.28rem 0; color: var(--stone); }
.hours td:last-child {
  text-align: right;
  color: var(--carbon);
  font-variant-numeric: tabular-nums;
}

.info-panel .btn { width: 100%; margin-top: 0.6rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 300;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--brass);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 1.6rem; color: var(--stone); max-width: 65ch; }

/* ---------- CTA final ---------- */
.final-cta {
  background: var(--night);
  color: var(--porcelain);
  text-align: center;
  padding: var(--pad-section) 0;
}
.final-cta h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin: 0 auto 1rem;
  max-width: 20ch;
}
.final-cta > .container > p {
  color: rgba(245, 242, 236, 0.65);
  margin-bottom: 2.4rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--carbon);
  color: rgba(245, 242, 236, 0.65);
  padding: 2.6rem 0 6rem; /* place pour la barre mobile */
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--porcelain);
}
.footer-nav { display: flex; gap: 1.8rem; }
.footer-nav a { color: rgba(245, 242, 236, 0.65); text-decoration: none; }
.footer-nav a:hover { color: var(--brass-soft); }
.footer-towns { margin-top: 0.6rem; font-size: 0.85rem; color: rgba(245, 242, 236, 0.5); }
.footer-towns a { color: rgba(245, 242, 236, 0.65); text-decoration: none; }
/* Cibles tactiles d'au moins 24 px de haut (liens du pied de page) */
.footer-nav a, .footer-towns a { display: inline-block; padding: 0.3rem 0; }
.footer-nav { flex-wrap: wrap; row-gap: 0.2rem; }
.footer-towns a:hover { color: var(--brass-soft); }

/* ---------- Barre CTA mobile ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--porcelain);
  border-top: 1px solid var(--line);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.mobile-cta-bar .btn { flex: 1; }

/* ---------- Révélation au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .towns-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .team-photo img, .video-frame img { transition: none; }
}

/* ---------- Pages légales / merci ---------- */
.legal-page { padding: 3.5rem 0 5rem; }
.legal-page h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; }
.legal-page p, .legal-page li { color: var(--stone); }
.legal-page ul { padding-left: 1.4rem; margin-top: 0.5rem; }
.legal-page a { color: var(--night); }

.thanks-page {
  min-height: 62vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1rem;
}
.thanks-page .icon { font-size: 3rem; margin-bottom: 1rem; }
.thanks-page h1 { margin-bottom: 0.8rem; }
.thanks-page p { color: var(--stone); margin-bottom: 1.8rem; max-width: 38rem; }
.thanks-page a:not(.btn) { color: var(--night); }

/* ---------- Conseils post-opératoires ---------- */
.advice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.advice-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.advice-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.advice-card h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.advice-card p { color: var(--stone); font-size: 0.95rem; }
.advice-card .care-link { display: inline-block; margin-top: 1rem; }

.fiche-page { padding: 3.5rem 0 5rem; }
.fiche-page h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.fiche-intro { color: var(--stone); max-width: 60ch; margin-bottom: 1.75rem; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.5rem; }

.fiche-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
}
.fiche-block h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.fiche-block a:not(.btn) { color: var(--night); text-decoration-color: var(--brass); text-underline-offset: 4px; }
.fiche-block p + p { margin-top: 0.8rem; }
.fiche-block ul { list-style: none; }
.fiche-block li {
  padding: 0.55rem 0 0.55rem 1.8rem;
  position: relative;
  color: #3d382f;
}
.fiche-block li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.05rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
}
.fiche-block li strong { font-weight: 600; color: var(--carbon); }

.fiche-alert { border-color: var(--brass); background: #f9f1e3; }
.fiche-alert .fiche-tel {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--night);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.8rem;
}
.fiche-disclaimer {
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: 1.5rem;
  max-width: 65ch;
}

/* ---------- Tableau des honoraires (honoraires.html) ---------- */
.fees { width: 100%; border-collapse: collapse; font-size: 0.97rem; margin-bottom: 1rem; }
.fees th { text-align: left; font-weight: 500; color: var(--carbon); padding: 0 0 0.6rem; border-bottom: 1px solid var(--line); }
.fees th:last-child, .fees td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.fees td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); color: #3d382f; vertical-align: top; }
.fees td:last-child { color: var(--carbon); font-variant-numeric: tabular-nums; }
.fees-note { display: block; font-size: 0.8rem; color: var(--stone); white-space: normal; }
.fees-source { font-size: 0.88rem; color: var(--stone); }

/* ---------- Comparateur avant / après ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}

.ba-case { margin: 0; }

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  touch-action: pan-y;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--porcelain);
  box-shadow: 0 0 8px rgba(0,0,0,0.35);
  pointer-events: none;
}
.ba-handle::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--porcelain);
  color: var(--night);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  -webkit-appearance: none;
}
.ba-tag {
  position: absolute;
  bottom: 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-avant { left: 0.9rem; background: rgba(25, 22, 19, 0.75); color: var(--porcelain); }
.ba-tag-apres { right: 0.9rem; background: rgba(245, 242, 236, 0.85); color: var(--carbon); }

.ba-case figcaption {
  padding: 1rem 0.25rem 0;
  color: var(--stone);
  font-size: 0.95rem;
}
.ba-case figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--carbon);
  margin-bottom: 0.2rem;
}

.ba-disclaimer {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain-deep);
  color: var(--stone);
  font-size: 0.88rem;
  max-width: 70ch;
}

/* ---------- Impression des fiches ---------- */
@media print {
  .site-header, .site-footer, .mobile-cta-bar, .fiche-actions,
  .final-cta, .footer-nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .fiche-page { padding: 0; }
  .fiche-block { border: 1px solid #999; break-inside: avoid; margin-bottom: 0.8rem; }
  .fiche-alert { background: #fff; border: 2px solid #000; }
  .print-header { display: block !important; border-bottom: 1px solid #000; padding-bottom: 0.5rem; margin-bottom: 1.2rem; }
}
.print-header { display: none; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero-media { min-height: 55vw; position: relative; margin: 0 1.25rem 1.5rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .care-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .main-nav { display: none; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 1.5rem;
    gap: 1.1rem;
  }
  .mobile-cta-bar { display: flex; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .hero-actions .btn { width: 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .team-card h3 { font-size: 1.05rem; }
}
