/* PhysioActiv — charte : bleu #27a8df, bleu foncé #1f7093, anthracite #404040, gris clair #f2f2f2 */
:root {
  --blue: #27a8df;
  --blue-dark: #1f7093;
  --blue-deep: #185a77;
  --blue-soft: #e6f5fc;
  --ink: #404040;
  --ink-soft: #5f5f5f;
  --grey: #f2f2f2;
  --line: #e2e2e2;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(31,112,147,.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.small { font-size: .92rem; opacity: .9; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.3em; border-radius: 999px; background: var(--blue-dark); color: #fff; font-weight: 650; text-decoration: none; border: 2px solid var(--blue-dark); transition: background .15s, color .15s, transform .15s; line-height: 1.2; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue-dark); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-deep); }
.btn-white { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-white:hover { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue-soft); }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-sm { padding: .55em 1.05em; font-size: .95rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 132px; height: auto; }
#nav { margin-left: auto; }
#nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
#nav a { display: block; padding: .5em .8em; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
#nav a:hover, #nav a[aria-current] { color: var(--blue-dark); background: var(--blue-soft); }
.menu-btn { display: none; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blue-soft), #fff 85%); padding: 56px 0 24px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-address { display: flex; align-items: center; gap: .5em; color: var(--ink-soft); font-size: .95rem; }
.hero-address svg { color: var(--blue); }
.hero-img img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 48px 20px 80px; }
.section.alt { background: var(--grey); }
.section-title { text-align: center; margin-bottom: 1.4em; position: relative; }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--blue); margin: .45em auto 0; }
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }

/* Cartes */
.grid { display: grid; gap: 24px; }
.grid.services { display: flex; flex-wrap: wrap; justify-content: center; }
.grid.services .card { flex: 0 1 calc((100% - 72px) / 4); min-width: 240px; }
.grid.posts { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 16px 32px rgba(31,112,147,.14); color: var(--ink); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: .96rem; }
.card h3 { color: var(--ink); }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; color: var(--blue-dark); font-weight: 650; font-size: .95rem; }
.card time { font-size: .85rem; color: var(--blue-dark); font-weight: 600; margin-bottom: .4em; }

/* Équipe */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.member img, .member .initials { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--blue), var(--shadow); }
.member .initials { display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); font-size: 2.4rem; font-weight: 800; }
.member h3 { margin-bottom: .2em; }
.member p { color: var(--ink-soft); font-size: .95rem; }

/* Étapes */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 60px; margin-bottom: 26px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--ink-soft); margin: 0; }
.stack-img { position: sticky; top: 110px; }
.stack-img img { border-radius: 22px; box-shadow: var(--shadow); }

/* Bandeau RDV */
.band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; padding: 64px 0; }
.band h2 { color: #fff; }
.band-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.band-in > div { max-width: 680px; }

/* Contact */
.infos { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 28px; }
.infos dt { font-weight: 700; color: var(--blue-dark); }
.infos dd { margin: 0; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Pages intérieures */
.page-hero { background: linear-gradient(180deg, var(--blue-soft), #fff); padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.page-hero .btn { margin-top: 12px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.meta { color: var(--blue-dark); font-weight: 600; margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-top: 44px; padding-bottom: 80px; }
.narrow > .prose { padding-top: 44px; }
.sidebar { position: sticky; top: 110px; align-self: start; background: var(--grey); border-radius: var(--radius); padding: 22px 24px; }
.sidebar h2 { font-size: 1.05rem; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li + li { border-top: 1px solid var(--line); }
.sidebar a { display: block; padding: .55em 0; text-decoration: none; font-weight: 600; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose h4 { margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--blue); }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: 10px; margin: 1.5em auto; }
.prose .lead-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 1.8em; border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding: .8em 1.2em; background: var(--blue-soft); border-radius: 10px; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5em .7em; text-align: left; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.8em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }

.cta-box { margin: 3em 0 0; padding: 28px; border-radius: var(--radius); background: var(--blue-soft); border: 1px solid #cbe9f6; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-box h2 { margin: 0 0 .3em; font-size: 1.35rem; }
.cta-box p { margin: 0; color: var(--ink-soft); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 36px 0 80px; font-weight: 600; }
.post-nav a { text-decoration: none; max-width: 48%; }
.post-nav .next { margin-left: auto; text-align: right; }

/* Pied de page */
.site-footer { background: var(--ink); color: #e8e8e8; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1.3fr 1fr; gap: 32px; }
.footer-logo { width: 130px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px; color: #bdbdbd; font-size: .88rem; }
.mobile-cta { display: none; }

/* Accueil : confiance, approche, motifs, FAQ */
.trust { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; color: var(--ink-soft); }
.trust li { position: relative; padding-left: 26px; }
.trust li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 7.1-7.1 1.4 1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section-intro { max-width: 640px; margin: -1em auto 2.4em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.pillar-num { display: block; font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 10px; }
.pillar h3 { margin-bottom: .4em; }
.pillar p { color: var(--ink-soft); margin: 0; }
#motifs .two-col { grid-template-columns: 1fr 1.25fr; }
.problems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.problems a { display: flex; align-items: center; min-height: 100%; padding: 14px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: var(--shadow); transition: color .15s, transform .15s; }
.problems a:hover { color: var(--blue-dark); transform: translateY(-2px); }
.member-link { display: flex; flex-direction: column; align-items: center; padding: 26px 16px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .18s; height: 100%; }
.member-link:hover { transform: translateY(-3px); color: var(--ink); }
.member-link:hover .btn { background: var(--blue-soft); }
.member-link .btn { margin-top: auto; }
.member-link p { margin-bottom: 14px; }
.img-note { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problems { grid-template-columns: 1fr; } .team { gap: 12px; } .member img, .member .initials { width: 110px; height: 110px; } .member-link { padding: 20px 10px; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-in, .two-col, .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-img { order: -1; }
  .sidebar, .stack-img { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-in { min-height: 64px; gap: 12px; }
  .brand img { width: 110px; }
  .header-cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; padding: .5em 1em; border: 2px solid var(--blue-dark); border-radius: 999px; background: #fff; color: var(--blue-dark); font: inherit; font-weight: 700; cursor: pointer; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  #nav.open { display: block; }
  #nav ul { flex-direction: column; padding: 8px 12px 14px; }
  #nav a { padding: .8em .8em; font-size: 1.05rem; }
  .hero { padding: 28px 0 44px; }
  .section { padding: 56px 0; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .infos { grid-template-columns: 1fr; gap: 2px; }
  .infos dd { margin-bottom: 10px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: none; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; justify-content: center; align-items: center; gap: .5em; padding: 1em; border-radius: 999px; background: var(--blue-dark); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Articles : intro, résumé, liens associés */
.prose .intro { font-size: 1.15rem; color: var(--ink); }
.prose ul.en-bref { list-style: none; padding: 20px 24px; margin: 0 0 2em; background: var(--blue-soft); border-radius: var(--radius); }
.prose ul.en-bref::before { content: "En bref"; display: block; font-weight: 800; color: var(--blue-dark); margin-bottom: .5em; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.prose ul.en-bref li { padding-left: 1.6em; position: relative; }
.prose ul.en-bref li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-dark); font-weight: 800; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 2.5em; padding-top: 2em; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.1rem; margin: 0 0 .6em; }
.related ul { padding-left: 1.1em; margin: 0; }
@media (max-width: 760px) { .grid.services .card { flex-basis: 100%; } #motifs .two-col { grid-template-columns: 1fr; } }

/* Avis Google */
.stars { color: #f5b301; letter-spacing: 2px; }
.rating { display: inline-flex; align-items: center; gap: .5em; margin-bottom: 14px; padding: .45em .9em; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: .95rem; }
.rating:hover { color: var(--blue-dark); }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; color: var(--ink); font-size: .96rem; flex: 1; }
.review figcaption { color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.footer-hours { margin-bottom: .4em; }
@media (max-width: 1100px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* Références scientifiques */
.prose sup a { text-decoration: none; font-weight: 700; padding: 0 1px; }
.prose ol.refs { font-size: .88rem; color: var(--ink-soft); padding-left: 1.4em; }
.prose ol.refs li { margin-bottom: .6em; }
.prose ol.refs li:target { background: var(--blue-soft); border-radius: 6px; }
