/* ===== Design tokens ===== */
:root {
  --cream: #FBF7EF;
  --cream-deep: #F2EAD8;
  --sage-50: #EEF2E7;
  --sage-200: #C9D6BC;
  --sage-500: #6E8B5E;
  --sage-600: #587049;
  --sage-700: #3F5535;
  --gold: #C79A56;
  --ink: #2B2823;
  --ink-soft: #6B6558;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(43, 40, 35, 0.08);
  --shadow-lift: 0 16px 40px rgba(63, 85, 53, 0.18);
  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--sage-700); }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { padding-left: 1.1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-alt { background: var(--cream-deep); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-600);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--sage-600);
  color: var(--white);
  box-shadow: var(--shadow-lift);
}
.btn-primary:hover { background: var(--sage-700); }
.btn-secondary {
  background: transparent;
  border-color: var(--sage-600);
  color: var(--sage-700);
}
.btn-secondary:hover { background: var(--sage-50); }
.btn-ghost {
  background: var(--white);
  color: var(--sage-700);
  box-shadow: var(--shadow);
}
.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(63, 85, 53, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sage-700);
  line-height: 1.1;
}
.brand span { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--ink); }
.main-nav a:hover { color: var(--sage-600); }
.header-cta { display: none; align-items: center; gap: 12px; }
.header-phone { font-weight: 700; color: var(--sage-700); font-size: .95rem; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(63,85,53,.2);
  background: var(--white);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: var(--sage-700); position: relative; }
.nav-toggle { flex-direction: column; gap: 4px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border-top: 1px solid rgba(63,85,53,.1);
  padding: 8px 24px 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid rgba(63,85,53,.08);
}

/* ===== Hero ===== */
.hero { padding: 40px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sage-50);
  color: var(--sage-700);
  font-size: .82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--sage-200);
}
.hero h1 { font-size: 2.3rem; margin-bottom: .4em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { font-size: 1.08rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 22px; font-size: .88rem; color: var(--ink-soft); }
.hero-trust strong { color: var(--sage-700); display: block; font-size: 1.15rem; font-family: var(--font-head); }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 620px;
  object-fit: cover;
}
.hero-media-tag {
  position: absolute;
  bottom: -18px;
  left: -14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--sage-700);
  max-width: 200px;
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; max-height: 520px; object-fit: cover; }
.pill-list { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.pill-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.pill-list li::before { content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-500); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .8rem; }

/* ===== Specialties ===== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { height: 200px; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-icon { font-size: 1.6rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.card p { font-size: .95rem; margin-bottom: 6px; }
.card-link { margin-top: auto; font-weight: 700; color: var(--sage-600); font-size: .92rem; }
.card-link:hover { color: var(--sage-700); }

/* ===== Cabinet ===== */
.cabinet-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.cabinet-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; max-height: 520px; object-fit: cover; }
.cabinet-media .map-embed { margin-top: 0; }
.info-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 16px; }
.info-list li { display: flex; gap: 14px; }
.info-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--sage-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.info-list strong { display: block; color: var(--ink); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.faq-q .plus { flex-shrink: 0; font-size: 1.3rem; color: var(--sage-600); transition: transform .2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
}
.faq-a p { padding-bottom: 18px; margin: 0; }
.faq-item.open .faq-a { max-height: 300px; }

/* ===== Reviews ===== */
.stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 4px; margin-bottom: 10px; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.review-card .stars { font-size: 1rem; letter-spacing: 2px; margin-bottom: 8px; }
.review-card blockquote { margin: 0 0 14px; color: var(--ink); font-size: .96rem; line-height: 1.55; flex: 1; }
.review-card figcaption { font-size: .85rem; font-weight: 700; color: var(--sage-700); }
.review-card figcaption small { display: block; font-weight: 400; color: var(--ink-soft); }
@media (min-width: 760px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Praticien (sous-pages) ===== */
.practitioner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.practitioner img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow);
}
.practitioner h2 { font-size: 1.4rem; margin-bottom: .3em; }
.practitioner p { margin-bottom: .6em; }
@media (min-width: 760px) { .practitioner { flex-direction: row; align-items: center; gap: 28px; } }

/* ===== Pages légales ===== */
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal { max-width: 760px; }

/* ===== Blog : index ===== */
.blog-cat { margin-bottom: 56px; }
.blog-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.blog-cat-head .emoji { font-size: 1.6rem; }
.blog-cat h2 { margin-bottom: 0; }
.blog-cat-sub { color: var(--ink-soft); margin-bottom: 24px; max-width: 70ch; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .78rem; color: var(--ink-soft); }
.post-tag { background: var(--sage-50); color: var(--sage-700); font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--sage-200); }
.post-card h3 { font-size: 1.12rem; margin: 0; color: var(--sage-700); line-height: 1.3; }
.post-card p { font-size: .92rem; margin: 0; }
.post-card .card-link { margin-top: 4px; }
@media (min-width: 680px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-toc { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; margin-bottom: 48px; }
.blog-toc h2 { font-size: 1.1rem; margin-bottom: 12px; }
.blog-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 10px; }
.blog-toc a { background: var(--sage-50); border: 1px solid var(--sage-200); color: var(--sage-700); font-weight: 600; font-size: .88rem; padding: 8px 14px; border-radius: 999px; }
.blog-toc a:hover { background: var(--sage-200); }

/* ===== Blog : article ===== */
.article { max-width: 760px; margin: 0 auto; }
.article-header { margin-bottom: 28px; }
.article-header h1 { font-size: 2rem; }
.article-body h2 { font-size: 1.5rem; margin-top: 1.7em; color: var(--sage-700); }
.article-body h3 { font-size: 1.15rem; margin-top: 1.3em; color: var(--sage-600); }
.article-body p, .article-body li { color: var(--ink); }
.article-body ul, .article-body ol { margin: 1em 0; padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body strong { color: var(--sage-700); }
.article-cta {
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 24px;
  margin: 36px auto 0;
  max-width: 760px;
  text-align: center;
}
.article-cta h3 { margin-bottom: 6px; }
.article-nav-more { max-width: 760px; margin: 40px auto 0; }
.medical-note { font-size: .85rem; color: var(--ink-soft); font-style: italic; border-left: 3px solid var(--sage-200); padding-left: 14px; margin-top: 28px; }

/* ===== Final CTA ===== */
.cta-final {
  background: linear-gradient(135deg, var(--sage-700), var(--sage-600));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 56px 28px;
  margin: 0 24px;
}
.cta-final h2 { color: var(--white); }
.cta-final p { color: rgba(255,255,255,.85); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-final .btn-ghost { margin-top: 10px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 48px 0 100px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; }
.footer-brand { font-family: var(--font-head); color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-links a { color: rgba(255,255,255,.6); margin-right: 14px; }

/* ===== Sous-pages ===== */
.breadcrumb { font-size: .82rem; color: var(--ink-soft); padding: 18px 0 0; }
.breadcrumb a { color: var(--sage-600); font-weight: 600; }
.breadcrumb span { margin: 0 6px; }
.page-hero { padding: 28px 0 56px; }
.page-hero .hero-lead { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.2em; font-size: 1.15rem; }
.prose { max-width: 720px; }
.motifs-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 24px 0; }
.motif {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .95rem;
}
.motif strong { color: var(--sage-700); display: block; }
.motif-emoji { font-size: 1.3rem; flex-shrink: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sage-600);
  color: var(--white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
}
.steps strong { display: block; color: var(--ink); }
.crosslinks { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.crosslink {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  font-weight: 700;
  color: var(--sage-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: transform .15s ease;
}
.crosslink:hover { transform: translateX(4px); }
.crosslink small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
@media (min-width: 640px) {
  .motifs-grid { grid-template-columns: repeat(2, 1fr); }
  .crosslinks { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Sticky mobile CTA ===== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  box-shadow: 0 -8px 24px rgba(0,0,0,.12);
}
.mobile-cta-bar .btn { flex: 1; padding: 14px; font-size: .92rem; }
.mobile-cta-bar .btn-call { background: var(--sage-50); color: var(--sage-700); }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .map-embed iframe { height: 440px; }
  .hero h1 { font-size: 3.1rem; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .about-grid { grid-template-columns: .9fr 1.1fr; }
  .cabinet-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  section { padding: 96px 0; }
}

@media (min-width: 980px) {
  .main-nav { display: block; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 979px) {
  body { padding-bottom: 78px; }
}

/* ===== Animations (couche "un peu plus vivant") ===== */
/* Apparition au défilement — la classe .reveal n'est posée que par JS,
   donc si le JS échoue le contenu reste visible. */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* Compteurs : chiffres à chasse fixe pour éviter que la largeur saute */
.hero-trust strong { font-variant-numeric: tabular-nums; }

/* Survols enrichis */
.motif { transition: transform .18s ease, box-shadow .18s ease; }
.motif:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.badge { transition: transform .18s ease; }
.badge:hover { transform: translateY(-2px); }
.info-icon, .card-icon { transition: transform .25s ease; }
.card:hover .card-icon, .motif:hover .motif-emoji { transform: scale(1.12) rotate(-4deg); }
.hero-media img, .about-media img, .cabinet-media img { transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease; }
.hero-media:hover img, .about-media:hover img, .cabinet-media:hover img { transform: scale(1.02); }
.btn { transition: transform .15s ease, box-shadow .18s ease, background .15s ease, border-color .15s ease; }
.btn-primary:hover, .btn-ghost:hover { transform: translateY(-2px); }
.footer-social a { transition: transform .18s ease, background .18s ease; }
.footer-social a:hover { transform: translateY(-3px); background: var(--sage-600); }
.post-tag { transition: transform .15s ease; }

/* Respect absolu des préférences système : on coupe tout mouvement. */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
