/* Muriel Weber, kinésithérapeute à domicile (Nancy et île de Ré) — feuille de style principale */
:root {
  --saumon: #e8916d;
  --saumon-clair: #fbe9e0;
  --terracotta: #b0502c;
  --terracotta-fonce: #8e3d1f;
  --lavande: #a9a2ba;
  --lavande-clair: #f1eff5;
  --lavande-fonce: #5d5675;
  --anthracite: #2b2a33;
  --texte: #3a3a40;
  --gris: #66656e;
  --creme: #fcf8f5;
  --blanc: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --max: 1140px;
  --rayon: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--texte);
  background: var(--blanc);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); }
a:hover { color: var(--terracotta-fonce); }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.25; color: var(--anthracite); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.3rem; margin: 0 0 .4em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: var(--blanc); padding: 8px 12px; z-index: 100; }

/* Barre supérieure */
.topbar { background: var(--lavande-fonce); color: #eee; font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

/* En-tête */
.site-header { background: var(--blanc); border-bottom: 3px solid var(--saumon); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.logo { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--anthracite); }
.logo img { width: 210px; height: auto; }
.logo-sous { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 3px; padding-left: 2px; }
@media (max-width: 420px) { .logo img { width: 175px; } .logo-sous { font-size: .6rem; letter-spacing: .16em; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--anthracite); text-transform: uppercase; font-size: .82rem; letter-spacing: .07em; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"], .nav a.actif { color: var(--terracotta); border-bottom-color: var(--saumon); }
.nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--blanc); padding: 8px 0; border-top: 3px solid var(--saumon); border-radius: 0 0 10px 10px; box-shadow: 0 12px 30px rgba(43,42,51,.14); z-index: 60; }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.nav .sub a { text-transform: none; letter-spacing: 0; font-size: .93rem; padding: 9px 18px; border-bottom: 0; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--saumon-clair); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--anthracite); margin: 6px 0; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--blanc); border-bottom: 3px solid var(--saumon); display: none; max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 20px; }
  .nav a { border-bottom: 1px solid #eee; }
  .nav .sub { display: block; position: static; min-width: 0; padding: 0 0 0 16px; border-top: 0; border-radius: 0; box-shadow: none; }
  .nav .sub a { font-size: .9rem; border-bottom: 1px solid #f3f1f6; }
  .nav .has-sub > a::after { display: none; }
}

/* Bandeau d'accueil */
.hero { position: relative; color: var(--blanc); background: var(--anthracite) url("/assets/img/kinesitherapeute-domicile-therapie-manuelle.jpg") center 30% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(43,42,51,.88) 0%, rgba(93,86,117,.72) 50%, rgba(232,145,109,.25) 100%); }
.hero .container { position: relative; padding-top: 100px; padding-bottom: 110px; }
.hero h1 { color: var(--blanc); max-width: 720px; }
.hero p { font-size: 1.15rem; max-width: 620px; }
.hero .surtitre { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; margin-bottom: 1em; color: #f6d3c4; }
.hero .devise { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin: -.2em 0 .8em; }

.page-hero { background: linear-gradient(110deg, var(--lavande-fonce), var(--anthracite)); color: var(--blanc); padding: 56px 0; border-bottom: 3px solid var(--saumon); }
.page-hero h1 { color: var(--blanc); margin: 0; }
.page-hero p { margin: .5em 0 0; color: #dcd8e6; max-width: 760px; }

/* Boutons */
.btn { display: inline-block; padding: 13px 26px; background: var(--terracotta); color: var(--blanc); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; border: 2px solid var(--terracotta); border-radius: 40px; cursor: pointer; font-family: var(--sans); font-weight: 600; }
.btn:hover { background: var(--terracotta-fonce); border-color: var(--terracotta-fonce); color: var(--blanc); }
.btn-outline { background: transparent; border-color: var(--blanc); }
.btn-outline:hover { background: var(--blanc); color: var(--terracotta); border-color: var(--blanc); }
.btn-blanc { background: var(--blanc); color: var(--terracotta); border-color: var(--blanc); }
.btn-blanc:hover { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Bandeau d'informations rapides */
.infos-rapides { background: var(--saumon-clair); }
.infos-rapides .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.info { padding: 26px 22px; border-right: 1px solid #f1d2c4; }
.info:last-child { border-right: 0; }
.info strong { display: block; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; color: var(--terracotta); }
.info a { color: var(--anthracite); font-weight: 600; text-decoration: none; }
@media (max-width: 720px) { .info { border-right: 0; border-bottom: 1px solid #f1d2c4; } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--creme); }
.section-lavande { background: var(--lavande-clair); }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--saumon); margin: 18px auto 0; }
.section-intro { text-align: center; max-width: 760px; margin: -26px auto 46px; color: var(--gris); }
.lead { font-size: 1.12rem; color: var(--gris); }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.align-center { align-items: center; }

.card { background: var(--blanc); padding: 32px 28px; border-radius: var(--rayon); border-top: 4px solid var(--saumon); box-shadow: 0 6px 24px rgba(43,42,51,.07); }
.card h3 { color: var(--terracotta); }
.card h3 a { color: inherit; text-decoration: none; }
.card p:last-child { margin-bottom: 0; }
.card .lien { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; font-weight: 600; }
.card-lavande { border-top-color: var(--lavande); }

.card .photo-arrondie { margin: 20px 0; }
.photo-arrondie { border-radius: var(--rayon); box-shadow: 0 10px 30px rgba(43,42,51,.12); }

.liste-puces { padding-left: 0; list-style: none; }
.liste-puces li { padding: 6px 0 6px 26px; position: relative; }
.liste-puces li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--saumon); }
.liste-colonnes { columns: 2 220px; column-gap: 30px; }
.liste-colonnes li { break-inside: avoid; }

/* Liste des soins */
.sommaire { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 50px; padding: 0; list-style: none; }
.sommaire a { display: block; padding: 8px 16px; background: var(--lavande-clair); color: var(--lavande-fonce); border-radius: 30px; text-decoration: none; font-size: .9rem; }
.sommaire a:hover { background: var(--saumon-clair); color: var(--terracotta-fonce); }
.soin { padding: 36px 0; border-bottom: 1px solid #ebe8ef; }
.soin:first-of-type { padding-top: 0; }
.soin:last-of-type { border-bottom: 0; }
.soin h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.soin h2 small { display: block; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--terracotta); margin-bottom: 6px; }
.indications { background: var(--creme); border-left: 4px solid var(--saumon); padding: 18px 24px; border-radius: 0 var(--rayon) var(--rayon) 0; margin-top: 18px; }
.indications h3 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--terracotta); margin-bottom: 8px; }
.indications ul { margin: 0; }
.mention-hn { display: inline-block; font-size: .85rem; background: var(--lavande-clair); color: var(--lavande-fonce); padding: 4px 12px; border-radius: 20px; margin-top: 6px; }

/* Pages de contenu avec encart latéral */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: start; }
@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr; } }
.aside-contact { position: sticky; top: 110px; background: var(--anthracite); color: #ddd; padding: 30px 26px; border-radius: var(--rayon); border-top: 4px solid var(--saumon); }
.aside-contact h2 { color: var(--blanc); font-size: 1.3rem; margin: 0 0 .6em; }
.aside-contact a { color: var(--blanc); }
.aside-contact .btn { display: block; text-align: center; margin: 18px 0; }
.aside-contact .btn-blanc { color: var(--terracotta); }
.aside-contact .btn-blanc:hover { color: var(--blanc); }
.aside-tel { font-size: 1.35rem; font-weight: 600; margin: 0 0 10px; }
.aside-tel a { text-decoration: none; }
.aside-contact small { display: block; margin-top: 16px; }
@media (max-width: 900px) { .aside-contact { position: static; } }

/* Portrait et cabinet */
.portrait { width: 100%; max-width: 280px; border-radius: var(--rayon); box-shadow: 14px 14px 0 var(--saumon-clair); margin-bottom: 30px; }
.encart { background: var(--lavande-clair); border-left: 4px solid var(--lavande); padding: 22px 26px; border-radius: 0 var(--rayon) var(--rayon) 0; }
.langues { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.langues li { background: var(--blanc); border: 1px solid #ddd8e6; padding: 4px 14px; border-radius: 20px; font-size: .9rem; }


/* Domaines d'expertise */
.expertises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 26px; }
.carte-expertise { display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--rayon); border-top: 4px solid var(--saumon); box-shadow: 0 6px 24px rgba(43,42,51,.08); padding: 0 24px 22px; overflow: hidden; }
.carte-visuel { display: block; margin: 0 -24px 18px; background: var(--creme); }
.carte-visuel img { width: 100%; height: 210px; object-fit: contain; padding: 12px; transition: transform .3s; }
.carte-visuel:hover img { transform: scale(1.04); }
.carte-expertise h3 { font-size: 1.25rem; margin-bottom: .3em; }
.carte-expertise h3 a { color: var(--terracotta); text-decoration: none; }
.carte-expertise p { margin: 0 0 12px; }
.carte-expertise p:last-child { margin-top: auto; margin-bottom: 0; }
.carte-expertise .lien { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; font-weight: 600; }
.symptomes { font-weight: 600; color: var(--lavande-fonce); font-size: .95rem; }
.note-hn { background: var(--saumon-clair); border-left: 4px solid var(--saumon); padding: 14px 20px; border-radius: 0 var(--rayon) var(--rayon) 0; font-size: .95rem; }
.lien-expertise { margin-top: 18px; }
.lien-expertise .btn { font-size: .78rem; padding: 10px 20px; }
.photo-contenu { margin: 24px 0 30px; }

/* Croquis explicatifs */
.croquis { margin: 34px 0 40px; padding: 24px; background: var(--blanc); border: 1px solid #ebe8ef; border-radius: var(--rayon); }
.croquis img { width: 100%; max-width: 560px; margin: 0 auto 10px; }
.legende { list-style: none; counter-reset: legende; margin: 0; padding: 0; font-size: .95rem; }
.legende li { counter-increment: legende; position: relative; padding: 6px 0 6px 38px; border-top: 1px solid #f1eff4; }
.legende li::before { content: counter(legende); position: absolute; left: 0; top: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--terracotta); color: var(--blanc); font-size: .82rem; font-weight: 700; line-height: 26px; text-align: center; }

/* Secteurs d'intervention */
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 30px; }
.zone { position: relative; border-radius: var(--rayon); padding: 34px 30px; color: var(--blanc); background: linear-gradient(135deg, var(--lavande-fonce), var(--anthracite)); }
.zone-re { background: linear-gradient(135deg, #3f7f95, #24485a); }
.zone h3 { color: var(--blanc); font-size: 1.5rem; }
.zone h3 small { display: block; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #f6d3c4; margin-bottom: 6px; }
.zone p { color: #ecebf2; }
.zone .btn { margin-top: 8px; }
.communes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.communes li { background: var(--blanc); border: 1px solid #ddd8e6; padding: 4px 14px; border-radius: 20px; font-size: .92rem; }
.etapes { padding-left: 1.3em; }
.etapes li { margin-bottom: 12px; padding-left: 6px; }
.etapes li::marker { color: var(--terracotta); font-weight: 700; }

/* Horaires */
.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { text-align: left; padding: 9px 4px; border-bottom: 1px solid #e6e2ec; }
.horaires th { font-weight: 600; color: var(--anthracite); }
.horaires td { text-align: right; }

.acces { background: var(--blanc); padding: 30px 28px; border-radius: var(--rayon); border-top: 4px solid var(--saumon); box-shadow: 0 6px 24px rgba(43,42,51,.07); }
.acces p { margin: 0 0 14px; }
.acces strong, .coordonnees strong { display: block; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; color: var(--terracotta); }
.coordonnees p { margin: 0 0 18px; }

.bandeau-contact { background: linear-gradient(110deg, var(--terracotta), var(--saumon)); color: var(--blanc); padding: 60px 0; text-align: center; }
.bandeau-contact h2 { color: var(--blanc); }
.bandeau-contact .actions { justify-content: center; }

/* Fil d'Ariane */
.fil-ariane { font-size: .85rem; margin: 0 0 14px; }
.fil-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: #cfcadb; }
.fil-ariane li + li::before { content: "›"; margin-right: 6px; color: #a9a2ba; }
.fil-ariane a { color: #eee; text-decoration: none; }
.fil-ariane a:hover { color: var(--blanc); text-decoration: underline; }

/* Questions fréquentes */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid #ddd8e6; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 36px 16px 0; font-weight: 600; color: var(--anthracite); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.5rem; color: var(--terracotta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; color: var(--anthracite); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; border: 1px solid #ccc8d4; background: var(--blanc); border-radius: 8px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--saumon); outline-offset: 0; border-color: var(--saumon); }
textarea { min-height: 170px; resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: normal; font-size: .88rem; color: var(--gris); }
.checkbox input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.alerte { padding: 16px 20px; margin-bottom: 26px; border-radius: 8px; }
.alerte-ok { background: #e8f5ec; border-left: 4px solid #2e8b57; }
.alerte-erreur { background: #fdecef; border-left: 4px solid #c0392b; }
.note { font-size: .9rem; color: var(--gris); }

/* Pied de page */
.site-footer { background: var(--anthracite); color: #bdbcc4; padding: 60px 0 0; font-size: .92rem; }
.site-footer h3 { color: var(--blanc); font-size: 1.02rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--sans); }
.site-footer a { color: #e2e1e8; text-decoration: none; }
.site-footer a:hover { color: var(--blanc); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #45444f; margin-top: 40px; padding: 18px 0; font-size: .82rem; text-align: center; }
.footer-bottom a { color: #ddd; }
