/* =========================================================
   Tilia — cabinet d'ostéopathie fictif (démo TBconcept)
   Palette : blanc cassé, sable, vert sauge / eucalyptus, accent terracotta
   ========================================================= */
:root {
  --fond: #F6F3EC;
  --papier: #FCFBF7;
  --sable: #ECE3D2;
  --sable-clair: #F1EBDF;
  --sauge-pale: #DCE5DA;
  --sauge: #9DB3A2;
  --sauge-moyen: #6F8C7A;
  --eucalyptus: #2F4A40;
  --eucalyptus-fonce: #22362F;
  --encre: #1F2B27;
  --texte-doux: #4D5A54;
  --terracotta: #A3502E;
  --terracotta-fonce: #8A4125;
  --ligne: rgba(47, 74, 64, .16);
  --titre: 'Newsreader', Georgia, 'Times New Roman', serif;
  --corps: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gouttiere: clamp(16px, 4vw, 40px);
  --entete-h: 84px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* overflow-x: hidden en repli (anciens Safari), clip quand il est reconnu : jamais de défilement horizontal,
   sinon les éléments fixes (pastille) paraissent décalés et coupés. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { scroll-behavior: smooth; scroll-padding-top: var(--entete-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1.0625rem/1.65 var(--corps); -webkit-font-smoothing: antialiased; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--titre); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; color: var(--eucalyptus-fonce); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); text-wrap: balance; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--sauge-moyen); }
strong { font-weight: 700; }
button { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .7rem 1.1rem; border-radius: 999px; background: var(--eucalyptus); color: var(--papier); font-weight: 600; text-decoration: none; }
.evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.titre-centre { text-align: center; }
.intro-centre { max-width: 36rem; margin: 0 auto 2.5rem; text-align: center; color: var(--texte-doux); }
.fictif { color: var(--texte-doux); font-size: .88em; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.4rem; border: 0; border-radius: 999px;
  background: var(--eucalyptus); color: var(--papier); font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .25s, transform .25s var(--ease);
}
.bouton:hover { background: var(--eucalyptus-fonce); }
.bouton--rdv { background: var(--terracotta); }
.bouton--rdv:hover { background: var(--terracotta-fonce); }
.bouton--grand { min-height: 58px; padding: 1rem 2.2rem; font-size: 1.08rem; box-shadow: 0 14px 30px -16px rgba(138, 65, 37, .7); }
.bouton--grand:hover { transform: translateY(-2px); }
.bouton[disabled] { background: #B9B3A6; color: #3A3A36; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- En-tête : barre flottante arrondie ---------- */
.entete { position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding: 12px var(--gouttiere) 0; pointer-events: none; }
.entete__barre {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 1rem;
  max-width: 1240px; margin: 0 auto; min-height: 60px; padding: .45rem .5rem .45rem 1rem;
  border-radius: 999px; background: rgba(252, 251, 247, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--ligne), 0 12px 30px -22px rgba(31, 43, 39, .5);
}
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.logo__rond { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--eucalyptus); color: var(--papier); }
.logo__rond svg { width: 22px; height: 22px; }
.logo__texte { font-family: var(--titre); font-size: 1.55rem; line-height: 1; color: var(--eucalyptus-fonce); }
.logo__texte small { display: block; margin-top: 2px; font-family: var(--corps); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }

.menu { margin: 0 auto; }
.menu ul { display: flex; gap: .2rem; }
.menu a { display: block; padding: .5rem .75rem; border-radius: 999px; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--encre); transition: background .2s; }
.menu a:hover { background: var(--sauge-pale); }
.entete__rdv { flex: none; min-height: 44px; padding: .55rem 1.15rem; font-size: .92rem; }
.entete__rdv-court { display: none; }

.burger { display: none; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sauge-pale); cursor: pointer; }
.burger__barres, .burger__barres::before, .burger__barres::after { display: block; width: 18px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--eucalyptus-fonce); transition: transform .3s var(--ease), opacity .2s; }
.burger__barres { position: relative; }
.burger__barres::before, .burger__barres::after { content: ""; position: absolute; left: 0; }
.burger__barres::before { top: -6px; }
.burger__barres::after { top: 6px; }
.burger[aria-expanded="true"] .burger__barres { background: transparent; }
.burger[aria-expanded="true"] .burger__barres::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__barres::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: block; }
  .entete__rdv { margin-left: auto; }
  .menu {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0;
    padding: .6rem; border-radius: 28px; background: var(--papier);
    box-shadow: 0 0 0 1px var(--ligne), 0 24px 40px -24px rgba(31, 43, 39, .5);
  }
  .js .menu { display: none; }
  .js .menu.est-ouvert { display: block; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { padding: .8rem 1rem; font-size: 1.05rem; border-radius: 18px; }
}
@media (max-width: 420px) {
  .entete__barre { gap: .5rem; padding-left: .55rem; }
  .entete__rdv { padding: .55rem .95rem; }
  .entete__rdv-long { display: none; }
  .entete__rdv-court { display: inline; }
  .logo__texte { font-size: 1.35rem; }
}

/* ---------- Accueil ---------- */
.hero { padding: calc(var(--entete-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--gouttiere) clamp(3rem, 6vw, 4.5rem); text-align: center; }
.hero__texte { max-width: 52rem; margin: 0 auto; }
.hero__lieu { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sauge-moyen); }
.hero__lieu::before, .hero__lieu::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.hero__sous { max-width: 36rem; margin: 0 auto 2rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--texte-doux); }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.hero__dispo { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: .92rem; color: var(--texte-doux); }
.hero__dispo strong { color: var(--eucalyptus-fonce); }
.point-vert { width: 9px; height: 9px; border-radius: 50%; background: #3F8F5F; box-shadow: 0 0 0 4px rgba(63, 143, 95, .18); }

.hero__galet { position: relative; max-width: 1100px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; }
.hero__galet img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 60% 45%;
  border-radius: 230px 330px 260px 300px / 200px 230px 250px 250px;
}
.hero__halo {
  position: absolute; z-index: 0; inset: -16px -12px -14px -20px;
  border-radius: 300px 240px 330px 250px / 250px 210px 260px 230px;
  background: var(--sauge-pale);
  animation: respire 9s ease-in-out infinite;
}
@keyframes respire { 50% { transform: scale(1.025); } }

.hero__faits { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 0; max-width: 1100px; margin: 2.2rem auto 0; font-size: .95rem; color: var(--texte-doux); }
.hero__faits li { padding: 0 1.4rem; }
.hero__faits li + li { border-left: 1px solid var(--ligne); }
.hero__faits strong { font-family: var(--titre); font-size: 1.3rem; font-weight: 400; color: var(--eucalyptus-fonce); margin-right: .25rem; }

@media (max-width: 700px) {
  .hero__galet img { aspect-ratio: 4 / 3.4; border-radius: 120px 150px 130px 160px / 110px 130px 140px 150px; }
  .hero__halo { border-radius: 150px 120px 160px 130px / 130px 110px 150px 140px; }
  .hero__halo { inset: -10px -8px -8px -12px; }
  .hero__lieu::before, .hero__lieu::after { display: none; }
}

@media (max-width: 900px) {
  .hero__faits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0; max-width: 34rem; }
  .hero__faits li { padding: 0 .6rem; }
  .hero__faits li:nth-child(3) { border-left: 0; }
  .hero__faits strong { display: block; margin: 0; }
}

/* ---------- Approche ---------- */
.approche__grille { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.approche__rond { position: relative; aspect-ratio: 1; }
.approche__rond::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--sauge); }
.approche__rond img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.approche__lead { font-family: var(--titre); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; color: var(--eucalyptus-fonce); }
.approche__texte > p:not(.approche__lead) { color: var(--texte-doux); }
.avertissement { margin-top: 1.8rem; padding: 1.2rem 1.4rem; border-radius: 22px; background: var(--sauge-pale); font-size: .95rem; }
.avertissement p { margin: 0; }
.avertissement__urgence { margin-top: .4rem !important; font-weight: 600; color: var(--eucalyptus-fonce); }
.avertissement a { color: var(--terracotta-fonce); }
@media (max-width: 820px) {
  .approche__grille { grid-template-columns: 1fr; }
  .approche__rond { width: min(320px, 76%); margin: 0 auto; }
}

/* ---------- Pour qui : onglets ---------- */
.pourqui { background: var(--sable-clair); }
.onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; width: fit-content; max-width: 100%; margin: 0 auto 3rem; padding: .4rem; border-radius: 32px; background: var(--papier); box-shadow: 0 0 0 1px var(--ligne); }
.onglet { min-height: 46px; padding: .55rem 1.2rem; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: .95rem; color: var(--texte-doux); cursor: pointer; transition: background .25s, color .25s; }
.onglet:hover { background: var(--sauge-pale); color: var(--eucalyptus-fonce); }
.onglet[aria-selected="true"] { background: var(--eucalyptus); color: var(--papier); }
.panneau { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 900px; margin: 0 auto; border-radius: 20px; }
.panneau[hidden] { display: none; }
.panneau__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.panneau__texte p { color: var(--texte-doux); }
.liste-douce { display: flex; flex-wrap: wrap; gap: .5rem; }
.liste-douce li { padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--sauge); font-size: .88rem; color: var(--eucalyptus-fonce); }
.js .panneau:not([hidden]) { animation: apparait .5s var(--ease); }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 720px) {
  .onglets { border-radius: 0; padding: 0; background: none; box-shadow: none; }
  .onglet { background: var(--papier); box-shadow: 0 0 0 1px var(--ligne); }
  .panneau { grid-template-columns: 1fr; text-align: center; }
  .panneau__photo { width: min(220px, 60vw); margin: 0 auto; }
  .liste-douce { justify-content: center; }
}

/* ---------- Pour quoi : silhouette ---------- */
.pourquoi__grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.pourquoi__intro p { color: var(--texte-doux); }
.pourquoi__note { font-size: .9rem; padding-top: 1rem; border-top: 1px solid var(--ligne); }

.corps { position: relative; width: 240px; margin: 0 auto; aspect-ratio: 200 / 480; }
.corps__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.corps__forme { fill: var(--sauge-pale); }
.corps__membres { fill: none; stroke: var(--sauge-pale); stroke-linecap: round; }
.corps__membres path:nth-child(-n+2) { stroke-width: 19; }
.corps__membres path:nth-child(n+3) { stroke-width: 29; }
.corps__zones li { position: absolute; left: var(--x); top: var(--y); transform: translate(-22px, -50%); }
.zone { display: flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 4px 0 13px; border: 0; background: none; cursor: pointer; }
.zone--gauche { flex-direction: row-reverse; padding: 0 13px 0 4px; }
.corps__zones li:has(.zone--gauche) { transform: translate(calc(-100% + 22px), -50%); }
.zone__point { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--papier); box-shadow: 0 0 0 2px var(--sauge-moyen); transition: background .2s, box-shadow .2s; }
.zone__point::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--sauge-moyen); opacity: .45; animation: pulse 3.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.35); opacity: 0; } }
.zone__nom { padding: .2rem .65rem; border-radius: 999px; background: var(--papier); font-size: .8rem; font-weight: 600; white-space: nowrap; color: var(--eucalyptus-fonce); box-shadow: 0 0 0 1px var(--ligne); transition: background .2s, color .2s; }
.zone:hover .zone__nom { background: var(--sauge-pale); }
.zone[aria-pressed="true"] .zone__point { background: var(--terracotta); box-shadow: 0 0 0 2px var(--terracotta), 0 0 0 6px rgba(163, 80, 46, .18); }
.zone[aria-pressed="true"] .zone__point::after { display: none; }
.zone[aria-pressed="true"] .zone__nom { background: var(--eucalyptus); color: var(--papier); box-shadow: none; }
.zone:focus-visible { outline: none; }
.zone:focus-visible .zone__nom { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.zone-detail { padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: 28px; background: var(--papier); box-shadow: 0 0 0 1px var(--ligne), 0 30px 50px -40px rgba(31, 43, 39, .5); }
.zone-detail__sur, .zone-detail__sous { margin-bottom: .3rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sauge-moyen); }
.zone-detail h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.zone-detail p { color: var(--texte-doux); }
.zone-detail__medecin { margin: 0; padding-top: .9rem; border-top: 1px solid var(--ligne); font-size: .88rem; }
@media (max-width: 1000px) {
  .pourquoi__grille { grid-template-columns: 1fr 1fr; }
  .pourquoi__intro { grid-column: 1 / -1; max-width: 40rem; }
}
@media (max-width: 640px) {
  .pourquoi__grille { grid-template-columns: 1fr; }
  .corps { width: 200px; }
  .corps__zones li:has([data-zone="jambes"]) { transform: translate(-22px, -50%); }
  .zone[data-zone="jambes"] { flex-direction: row; padding: 0 4px 0 13px; }
}

/* ---------- Première séance : frise proportionnelle ---------- */
.seance { background: var(--papier); }
.seance__tete { display: grid; grid-template-columns: 220px minmax(0, 40rem); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.seance__photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 55% 55%; border-radius: 999px; }
.seance__tete p { color: var(--texte-doux); margin: 0; }

.frise { display: flex; gap: 6px; }
.frise__etape { flex: var(--min) 1 0; min-width: 0; }
.frise__barre { display: block; height: 16px; margin-bottom: 1.1rem; background: var(--sauge); }
.frise__etape:nth-child(2) .frise__barre { background: var(--sauge-moyen); }
.frise__etape--soin .frise__barre { background: var(--eucalyptus); }
.frise__etape:last-child .frise__barre { background: var(--terracotta); }
.frise__etape:first-child .frise__barre { border-radius: 999px 0 0 999px; }
.frise__etape:last-child .frise__barre { border-radius: 0 999px 999px 0; }
.frise__temps { margin-bottom: .2rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--sauge-moyen); font-variant-numeric: tabular-nums; }
.frise h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.frise__etape p:last-child { font-size: .93rem; color: var(--texte-doux); padding-right: 1rem; }
.frise__etape:last-child { min-width: 150px; }

.prevoir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--ligne); }
.prevoir__bloc { padding: 2rem clamp(1rem, 3vw, 2.5rem) 0; }
.prevoir__bloc:first-child { padding-left: 0; }
.prevoir__bloc + .prevoir__bloc { border-left: 1px solid var(--ligne); }
.prevoir h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.35rem; }
.prevoir h3 svg { width: 22px; height: 22px; color: var(--sauge-moyen); }
.prevoir li { position: relative; padding-left: 1.1rem; margin-bottom: .5rem; font-size: .95rem; color: var(--texte-doux); }
.prevoir li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--sauge); }

@media (max-width: 860px) {
  .frise { flex-direction: column; gap: 0; }
  .frise__etape { position: relative; padding-left: 36px; min-height: calc(var(--min) * 8px + 40px); }
  .frise__etape:last-child { min-width: 0; }
  .frise__barre { position: absolute; left: 0; top: 0; bottom: 4px; width: 16px; height: auto; margin: 0; }
  .frise__etape:first-child .frise__barre { border-radius: 999px 999px 0 0; }
  .frise__etape:last-child .frise__barre { border-radius: 0 0 999px 999px; }
  .frise__etape p:last-child { padding-bottom: 1.2rem; }
  .prevoir { grid-template-columns: 1fr; }
  .prevoir__bloc { padding: 1.6rem 0 0; }
  .prevoir__bloc + .prevoir__bloc { border-left: 0; border-top: 1px solid var(--ligne); margin-top: 1rem; }
}
@media (max-width: 560px) {
  .seance__tete { grid-template-columns: 1fr; }
  .seance__photo { width: 150px; }
}

/* ---------- Tarifs ---------- */
.tarifs { background: var(--eucalyptus-fonce); color: #E6ECE6; }
.tarifs h2, .tarifs h3 { color: var(--papier); }
.tarifs h2 em { color: var(--sauge); }
.tarifs__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.prix { margin: 2rem 0 1.5rem; }
.prix__ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(230, 236, 230, .2); }
.prix__ligne:first-child { border-top: 1px solid rgba(230, 236, 230, .2); }
.prix dt { font-weight: 600; font-size: 1.05rem; }
.prix dt span { display: block; font-weight: 400; font-size: .88rem; color: #B9C7BD; }
.prix dd { margin: 0; font-family: var(--titre); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: var(--papier); white-space: nowrap; }
.prix__ligne:first-child dd { color: #F0B79A; }
.tarifs__paiement { font-size: .9rem; color: #B9C7BD; margin: 0; }

.tarifs__mutuelle { display: grid; gap: 2rem; }
.attestation { width: min(100%, 330px); padding: 1.4rem 1.5rem 1.2rem; border-radius: 6px 6px 22px 22px; background: var(--papier); color: var(--encre); font-size: .85rem; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.attestation p { margin: 0; }
.attestation__titre { font-family: var(--titre); font-size: 1.35rem; color: var(--eucalyptus-fonce); }
.attestation__cab { margin-bottom: 1rem !important; padding-bottom: .8rem; border-bottom: 1px dashed var(--sauge); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.attestation__ligne { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dotted var(--ligne); }
.attestation__ligne span:first-child { color: var(--texte-doux); }
.attestation__ligne span:last-child { font-weight: 600; }
.attestation__signature { margin-top: 1rem !important; text-align: right; font-family: var(--titre); font-style: italic; font-size: 1.3rem; color: var(--eucalyptus); }
.mutuelle p { color: #D3DDD5; }
.mutuelle strong { color: var(--papier); }
@media (max-width: 860px) { .tarifs__grille { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 860px) { .tarifs__mutuelle { grid-template-columns: 280px minmax(0, 1fr); align-items: center; } }

/* ---------- Équipe : portraits en arche ---------- */
.equipe__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(2rem, 6vw, 5rem); margin-top: 3rem; }
.praticien { text-align: center; }
.praticien__arche { margin-bottom: 1.5rem; padding: 10px; border: 1px solid var(--sauge); border-radius: 50% 50% 26px 26px / 37.5% 37.5% 26px 26px; }
.praticien__arche img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 50% 50% 18px 18px / 37.5% 37.5% 18px 18px; }
.praticien:first-child .praticien__arche img { object-position: 50% 25%; }
.praticien:last-child .praticien__arche img { object-position: 50% 20%; }
.praticien h3 { margin-bottom: .1rem; font-size: 1.7rem; }
.praticien__fictif { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sauge-moyen); }
.praticien p:not(.praticien__fictif) { color: var(--texte-doux); }
.praticien__langues { font-size: .9rem; margin: 0; }
@media (max-width: 640px) {
  .equipe__duo { grid-template-columns: minmax(0, 300px); }
}

/* ---------- Rendez-vous : sélecteur ---------- */
.rdv { background: var(--sable); }
.agenda { max-width: 880px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 32px; background: var(--papier); box-shadow: 0 40px 60px -50px rgba(31, 43, 39, .6); }
.agenda__options { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--ligne); }
.segment { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.segment legend { float: left; margin-right: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sauge-moyen); }
.segment label { position: relative; cursor: pointer; }
.segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment span { display: block; padding: .5rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ligne); font-size: .92rem; font-weight: 600; color: var(--texte-doux); transition: background .2s, color .2s; }
.segment input:checked + span { background: var(--sauge-pale); color: var(--eucalyptus-fonce); box-shadow: inset 0 0 0 1.5px var(--sauge-moyen); }
.segment input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.agenda__semaine { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.agenda__mois { margin: 0; white-space: nowrap; font-family: var(--titre); font-size: clamp(1.15rem, 4vw, 1.4rem); color: var(--eucalyptus-fonce); text-transform: capitalize; }
.agenda__nav { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sable-clair); font-size: 1.5rem; line-height: 1; color: var(--eucalyptus-fonce); cursor: pointer; }
.agenda__nav:hover:not([disabled]) { background: var(--sauge-pale); }
.agenda__nav[disabled] { opacity: .35; cursor: default; }

.agenda__jours { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.jour { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .7rem .3rem; border: 0; border-radius: 20px; background: var(--fond); cursor: pointer; transition: background .2s, color .2s; }
.jour__nom { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
.jour__num { font-family: var(--titre); font-size: 1.7rem; line-height: 1.1; color: var(--eucalyptus-fonce); }
.jour__dispo { font-size: .72rem; color: var(--sauge-moyen); font-weight: 600; }
.jour:hover { background: var(--sauge-pale); }
.jour[aria-pressed="true"] { background: var(--eucalyptus); }
.jour[aria-pressed="true"] span { color: var(--papier); }
.jour[disabled] { cursor: default; background: transparent; box-shadow: inset 0 0 0 1px var(--ligne); }
.jour[disabled] .jour__num, .jour[disabled] .jour__nom, .jour[disabled] .jour__dispo { color: #8A918D; }

.agenda__heures { display: flex; flex-wrap: wrap; gap: .5rem; min-height: 48px; margin: 1.4rem 0; }
.agenda__heures:empty { display: none; }
.heure { min-width: 84px; min-height: 44px; padding: .5rem .9rem; border: 0; border-radius: 999px; background: var(--fond); box-shadow: inset 0 0 0 1px var(--ligne); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--eucalyptus-fonce); cursor: pointer; transition: background .2s; }
.heure:hover { background: var(--sauge-pale); }
.heure[aria-pressed="true"] { background: var(--terracotta); color: var(--papier); box-shadow: none; }

.agenda__recap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding: 1rem 1rem 1rem 1.3rem; border-radius: 22px; background: var(--sable-clair); }
.agenda__recap p { margin: 0; font-weight: 600; color: var(--eucalyptus-fonce); }
.agenda__demo { margin: 1rem 0 0; font-size: .85rem; color: var(--texte-doux); text-align: center; }
.agenda__statut { margin: .5rem 0 0; text-align: center; font-weight: 600; color: var(--terracotta-fonce); }
.agenda__statut:empty { display: none; }

.appel { max-width: 880px; margin: 2.5rem auto 0; text-align: center; }
.appel p { margin: 0; color: var(--texte-doux); }
.appel__tel { display: inline-block; margin: .3rem 0 .4rem; font-family: var(--titre); font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; color: var(--terracotta-fonce); text-decoration: none; white-space: nowrap; }
.appel__tel:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.appel__petit { font-size: .9rem; }
@media (max-width: 640px) {
  .agenda__jours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agenda__recap { flex-direction: column; align-items: stretch; text-align: center; }
  .heure { flex: 1 0 calc(33% - .5rem); min-width: 0; }
}

/* ---------- Accès : ligne de transport ---------- */
.ligne { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 1rem 0 3rem; text-align: center; }
.ligne li { position: relative; padding: 0 .6rem; }
.ligne li::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 4px; background: var(--sauge); }
.ligne li:first-child::before { left: 50%; }
.ligne li:last-child::before { right: 50%; }
.ligne__arret { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 1rem; border-radius: 50%; background: var(--fond); box-shadow: inset 0 0 0 4px var(--sauge); }
.ligne__fin .ligne__arret { width: 52px; height: 52px; margin-top: -9px; margin-bottom: .7rem; background: var(--eucalyptus); box-shadow: 0 0 0 6px var(--sauge-pale); color: var(--papier); }
.ligne__fin .ligne__arret svg { width: 26px; height: 26px; }
.ligne__mode { margin-bottom: .2rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sauge-moyen); }
.ligne li p:last-child { font-size: .95rem; }
.ligne li p span { color: var(--texte-doux); font-size: .88rem; }
.ligne__fin .ligne__mode { font-family: var(--titre); font-size: 1.4rem; letter-spacing: 0; text-transform: none; color: var(--eucalyptus-fonce); font-weight: 400; }

.horaires { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.horaires p { display: flex; gap: .7rem; margin: 0; padding: .7rem 1.3rem; border-radius: 999px; background: var(--papier); box-shadow: 0 0 0 1px var(--ligne); font-size: .95rem; }
.horaires span { color: var(--texte-doux); }
@media (max-width: 760px) {
  .ligne { grid-template-columns: 1fr; text-align: left; max-width: 22rem; margin-left: auto; margin-right: auto; }
  .ligne li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1rem; padding: 0 0 1.4rem; }
  .ligne li::before { top: 0; bottom: 0; left: 24px; right: auto; width: 4px; height: auto; }
  .ligne li:first-child::before { top: 17px; left: 24px; }
  .ligne li:last-child::before { bottom: auto; height: 26px; right: auto; }
  .ligne__arret { grid-row: 1 / span 2; margin: 0 auto; }
  .ligne__fin .ligne__arret { margin: 0 auto; }
  .ligne li p { margin: 0; }
  .horaires { flex-direction: column; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--papier); }
.faq__colonne { max-width: 820px; }
.faq__liste { margin-top: 2.5rem; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { position: relative; display: block; padding: 1.3rem 3.2rem 1.3rem 0; font-family: var(--titre); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.3; color: var(--eucalyptus-fonce); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--sauge-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%232F4A40' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq details p { max-width: 42rem; padding-bottom: 1.4rem; margin: 0; color: var(--texte-doux); }
.faq details a { color: var(--terracotta-fonce); font-weight: 600; }

/* ---------- Pied de page ---------- */
.pied { padding: clamp(3.5rem, 7vw, 5rem) 0 6rem; background: var(--eucalyptus-fonce); color: #D3DDD5; font-size: .95rem; }
.pied a { color: var(--papier); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(230, 236, 230, .18); }
.logo--pied .logo__rond { background: var(--sauge-pale); color: var(--eucalyptus-fonce); }
.logo--pied .logo__texte { color: var(--papier); }
.logo--pied .logo__texte small { color: #B9C7BD; }
.pied__marque p { margin: 1.2rem 0 0; }
.pied__nav { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .4rem 2.5rem; }
.pied__nav a { text-decoration: none; display: inline-block; padding: .2rem 0; }
.pied__nav a:hover { text-decoration: underline; }
.pied__avert { grid-column: 1 / -1; margin: 0; font-size: .88rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.6rem; font-size: .84rem; color: #B9C7BD; }
.pied__bas p { margin: 0; }
@media (max-width: 640px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Pastille démo : toujours entièrement visible ---------- */
.pastille {
  position: fixed; z-index: 60;
  left: max(8px, env(safe-area-inset-left)); bottom: max(8px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .5rem;
  width: auto; max-width: calc(100vw - 16px);
  padding: .35rem .4rem .35rem .85rem; border-radius: 22px;
  background: rgba(252, 251, 247, .97); color: var(--texte-doux); font-size: .76rem; line-height: 1.25;
  box-shadow: 0 0 0 1px var(--ligne), 0 10px 24px -12px rgba(31, 43, 39, .45);
}
.pastille span { min-width: 0; }
.pastille a { flex: none; padding: .35rem .75rem; border-radius: 999px; background: var(--eucalyptus); color: var(--papier); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pastille a:hover { background: var(--eucalyptus-fonce); }
@media (max-width: 479px) { .pastille { font-size: .68rem; gap: .4rem; padding-left: .7rem; } }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.js .reveal.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
