body.theme-client {
  --linen: #f8f6f1; --paper: #fffcf7; --ink: #292b26; --muted: #635e55; --line: #dcd6ca;
  --clay: #863e2c; --lichen: #53675b; --serif: "Baskerville", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --affiche: var(--serif); --filet: var(--line); --papier: var(--paper); --encre: var(--ink);
  margin: 0; background: var(--linen); color: var(--ink); font-family: var(--sans);
}
body.theme-client main:has(.entete-membre) {
  box-sizing: border-box; width: 100%; max-width: 1176px; margin: 0 auto;
  padding: clamp(16px,3vw,36px) clamp(18px,4.2vw,54px) 64px;
}
body.theme-client .entete-membre { margin: 0; }
body.theme-client :where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid #704630; outline-offset: 3px;
}
body.theme-client .topbar.topbar-client {
  display: grid; grid-template-columns: 1fr auto auto auto auto; gap: 12px; align-items: center;
  min-height: 74px; padding: 0 max(clamp(18px,4.2vw,54px),calc((100% - 1068px)/2));
  background: #fffdf8; border-bottom: 1px solid var(--line); box-shadow: none;
}
.topbar-client .marque { grid-column: 1; grid-row: 1; justify-self: start; }
.topbar-client .marque .nom-studio { font: italic 500 36px/1 var(--serif); letter-spacing: -.07em; }
.topbar-client .marque .nom-studio::before { content: none; }
.topbar-client .marque .logo-studio { max-width: 130px; max-height: 40px; }
body.theme-client .topbar-client nav.destinations {
  display: flex; align-items: center; grid-area: 1/2; gap: clamp(12px,3vw,40px); margin-inline-end: clamp(12px,5vw,76px);
}
body.theme-client .topbar-client nav.destinations a {
  display: inline-flex; align-items: center; padding: 6px 0; color: var(--muted);
  min-height: 44px; font-size: .88rem; font-weight: 450; opacity: 1; background: none;
}
body.theme-client .topbar-client nav.destinations a[aria-current] { color: var(--clay); font-weight: 650; }
.topbar-client .destinations [aria-current]::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
body.theme-client .topbar-client .cloche { grid-area: 1/3; margin: 0; }
.topbar-client .panier-entete { grid-area: 1/4; }
.topbar .panier-entete {
  display: grid; place-items: center; position: relative; width: 44px; height: 44px;
  color: var(--ink); border-radius: 50%; text-decoration: none;
}
.topbar .panier-entete:hover { background: var(--kapella-fond); }
.panier-entete svg { width: 23px; height: 23px; }
.pastille-panier {
  position: absolute; top: 1px; right: 0; min-width: 17px; padding: 0 4px; border-radius: 20px;
  background: var(--clay); color: white; font: 650 11px/17px var(--sans); text-align: center;
}
.topbar-client .menu-membre { grid-area: 1/5; position: relative; z-index: 10; }
.menu-membre summary { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; font-size: .88rem; list-style: none; }
.menu-membre summary::-webkit-details-marker { display: none; }
.initiale-compte { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #d5bdac; background: #efdfd2; color: #603f30; font: italic 17px var(--serif); }
.menu-compte-contenu { position: absolute; top: 100%; right: 0; min-width: 180px; padding: 7px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px #3d30231a; }
.menu-compte-contenu a, body.theme-client .menu-compte-contenu button.lien { display: block; padding: 10px; color: var(--ink); text-decoration: none; font: 500 .9rem var(--sans); }
body.theme-client .page-compte { max-width: none; margin: 0; padding: 0; }
body.theme-client dialog::backdrop { background: #2d30283d; backdrop-filter: blur(5px); }
body.theme-client .comparatif-offres { margin-block: clamp(24px, 4vw, 44px); }
.filtres-boutique {
  display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap;
  gap: 16px 24px; margin-bottom: 22px;
}
.filtres-boutique small { color: var(--muted); }
.filtres-boutique form { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; max-width: 100%; }
.filtres-boutique nav { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
body.theme-client .filtres-boutique nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 6px 15px; border: 1px solid #d8cbd2; border-radius: 24px;
  background: var(--paper); color: #563e4d; font: 500 .9rem/1.2 var(--sans); text-decoration: none;
}
body.theme-client .filtres-boutique nav a:hover { background: #f2e8ed; }
body.theme-client .filtres-boutique nav a[aria-current] { background: #604355; border-color: #604355; color: white; }
.liste-formules { display: grid; gap: 28px; }
.liste-formules > section { min-width: 0; }
body.theme-client .categorie-boutique > h3 {
  margin: 0 0 12px; color: var(--ink); font: 400 clamp(1.45rem, 2.5vw, 2rem)/1.15 var(--serif);
}
@media (min-width: 960px) {
  .liste-formules:has([data-cat="abonnements"]):has([data-cat="cours"]) {
    grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; column-gap: clamp(24px, 3vw, 44px);
  }
  .liste-formules [data-cat="wellness"] { grid-column: 1 / -1; }
}
.filtre-offres label { color: var(--muted); font-weight: 600; font-size: .86rem; }
.choix-discipline { position: relative; display: block; min-width: 0; }
.choix-discipline::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px;
  border: solid #735569; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
body.theme-client .choix-discipline select {
  appearance: none; width: 100%; min-width: 0; min-height: 46px; padding: 9px 36px 9px 14px;
  font: 500 1rem/1.3 var(--sans); color: #513b48; cursor: pointer;
  border: 1px solid #cebcc6; border-radius: 13px; background: linear-gradient(115deg,#fffcf8,#f7eef1);
}
.choix-discipline select:focus-visible { outline: 3px solid #79586a; outline-offset: 2px; }
@media (forced-colors: active) {
  body.theme-client .choix-discipline select { appearance: auto; }
  .choix-discipline::after { display: none; }
}
body.theme-client .comparatif-offres .categorie-boutique { margin: 0; }
body.theme-client .comparatif-offres .produit {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px;
  margin: 0; padding: 18px 8px; border: 0; border-bottom: 1px solid var(--filet);
  border-radius: 0; box-shadow: none; background: transparent;
}
body.theme-client .comparatif-offres .produit:hover { background: #f3eee6; transform: none; }
.comparatif-offres .produit :is(.icone-produit-boutique,.type-produit-boutique,.lien-details) { display: none; }
body.theme-client .comparatif-offres .produit .infos strong { font: 400 clamp(1.36rem,2.2vw,2rem)/1.14 var(--affiche); }
body.theme-client .comparatif-offres .ouvrir-fiche {
  background: transparent; border: 0; box-shadow: none; padding: 0; min-height: 0;
  color: inherit; font: inherit; text-align: left;
}
.comparatif-offres .ouvrir-fiche::after { content: ""; position: absolute; inset: 0; }
.comparatif-offres .produit :is(.form-ajout, .action-upgrade) { position: relative; z-index: 1; }
.comparatif-offres .rangee-achat { display: grid; justify-items: end; text-align: right; gap: 4px; }
.comparatif-offres .prix { font-variant-numeric: tabular-nums; }
body.theme-client .comparatif-offres .produit .ajouter { min-height: 44px; padding: 3px 14px; }
body.theme-client dialog {
  border: 1px solid #eee6db; border-radius: 22px; background: var(--papier); color: var(--encre);
  box-shadow: 0 24px 96px #29221c35; max-height: 88dvh; overflow: auto;
}


body.theme-client .mast { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end;
      justify-content: space-between; gap: 12px; border-radius: 24px;
      padding: clamp(22px, 3.7vw, 42px); background: #eee7dc;
      box-shadow: inset 0 1px 0 #fff9, 0 7px 20px #37291609; }
body.theme-client .mast::before, body.theme-client .mast::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
body.theme-client .mast::before { background: radial-gradient(ellipse 38% 155% at 100% 10%, var(--mast-accent,#d7ae94) 6%, transparent 90%), radial-gradient(ellipse 42% 195% at 75% -55%, var(--mast-light,#faf1dc) 24%, transparent 88%), linear-gradient(110deg, var(--mast-base,#e9e9df), var(--mast-middle,#f5ebe0) 54%, var(--mast-edge,#e9d4bf)); }
body.theme-client .mast::after { background: radial-gradient(ellipse 88% 290% at 115% -150%, transparent 66%, #fff4dbb3 71%, transparent 79%); filter: blur(4px); }
body.theme-client .mast h1 { font: 400 clamp(43px, 6.3vw, 74px)/1 var(--serif); letter-spacing: -.065em; }
body.theme-client .balance { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; background: #fffaf1cf; border: 1px solid #fffc; border-radius: 30px; color: #4f453b; font-size: .82rem; white-space: nowrap; }
body.theme-client .balance::before { content: ""; width: 14px; height: 11px; border-radius: 3px; border: 1px solid currentColor; box-shadow: 2px -2px 0 -1px #fff8ed, 2px -2px currentColor; }
body.theme-client .jours-planning { margin: 18px 0 24px; display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; }
body.theme-client .jours-planning .jour-pastille { min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 7px; min-height: 48px; align-content: center; flex-wrap: wrap; background: #f2efe8; border: 1px solid transparent; border-radius: 13px; color: var(--muted); }
body.theme-client .jours-planning .jour-pastille small { font-size: .76rem; }
body.theme-client .jours-planning .jour-pastille strong { font-size: 1rem; font-weight: 550; }
body.theme-client .jours-planning .jour-pastille[aria-current] { background: #4f5e50; color: #fff; box-shadow: 0 3px 7px #3943381f; }
body.theme-client .jours-planning .jour-pastille:hover:not([aria-current]) { border-color: #c5c0b1; }
body.theme-client .jour-entete { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 13px; }
body.theme-client .jour-entete h2 { font: 400 clamp(25px, 3vw, 35px)/1.15 var(--serif); letter-spacing: -.045em; }
body.theme-client .disciplines-planning { display: flex; flex-wrap: wrap; gap: 6px; min-inline-size: 0; margin: 0 0 14px; padding: 0; border: 0; }
body.theme-client .disciplines-planning a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--muted); text-align: center; font-size: .86rem; line-height: 1.25; }
body.theme-client .nom-cours { padding: 0; border: 0; background: none; text-align: left; font-weight: 640; }
body.theme-client .nom-cours:hover { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
body.theme-client .semaine .colonne.visible { border-block: 1px solid var(--line); }
body.theme-client .ligne-cours { display: grid; align-items: center; grid-template-columns: 7rem minmax(0, 1.35fr) minmax(0, 1fr) 10rem; gap: 16px; min-height: 65px; padding: 9px 4px; }
body.theme-client .ligne-cours + .ligne-cours { border-top: 1px solid var(--line); }
body.theme-client .ligne-cours .horaire { font: 400 22px var(--serif); font-variant-numeric: tabular-nums; color: #544537; }
body.theme-client .titre-cours { display: grid; gap: 2px; justify-items: start; }
body.theme-client .home-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px;
      display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px;
      padding: clamp(26px,4vw,48px); color: #372a20; min-height: 295px;
      background:
        radial-gradient(ellipse 70% 94% at 106% 3%, #8b3a24 5%, #bc5f3a 34%, transparent 75%),
        radial-gradient(ellipse 60% 65% at 68% 78%, #ffc18c 5%, transparent 86%),
        linear-gradient(116deg, #f2e7d6 9%, #f1d6b9 58%, #d38e6b); }
body.theme-client .home-hero::before { content: ""; pointer-events: none; position: absolute; z-index: -1; inset: -4%; background: radial-gradient(ellipse 108% 180% at 108% -89%, transparent 65%, #ffe6bd80 70%, #fff4dccc 72%, transparent 82%); filter: blur(7px); }
body.theme-client .hero-date, body.theme-client .section-label { font-size: .86rem; font-weight: 550; }
body.theme-client .home-hero h1 { margin: 12px 0 23px; font: 400 clamp(46px,6.2vw,80px)/1.03 var(--serif); letter-spacing: -.052em; }
body.theme-client .text-link { color: var(--clay); font: 600 .9rem/1.4 var(--sans); text-underline-offset: 4px; }
body.theme-client .home-hero .text-link { color: #5d382b; }
body.theme-client .next-card { border-radius: 19px; border: 1px solid #fff9; background: #fffaf0ed; box-shadow: 0 9px 26px #58341b12; padding: clamp(17px,2.6vw,28px); backdrop-filter: blur(14px); }
body.theme-client .next-card .section-label { color: #5b574a; }
body.theme-client .next-card h2 { margin: 9px 0 4px; font: 400 clamp(24px,3vw,36px)/1.1 var(--serif); letter-spacing: -.032em; }
body.theme-client .next-card p:not(.section-label) { color: #574c3e; text-wrap: balance; }
body.theme-client .small-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 16px; border: 0; border-radius: 12px; background: #53382c; color: #fffaf3; font-weight: 600; font-size: .87rem; text-decoration: none; }
body.theme-client .small-cta:hover { background: #3f2a20; }
.cours-supplementaire {
  margin-block: 16px; padding: clamp(16px,2.5vw,26px); border: 1px solid #dfcbb9; border-radius: 20px;
  background: radial-gradient(ellipse at 100% 0%,#ebc8a9,transparent 56%),linear-gradient(115deg,var(--paper),#f6eadd);
}
.supplement-entete { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 5px 16px; overflow-wrap: anywhere; }
.cours-supplementaire h3, .cours-supplementaire .supplement-prix {
  margin: 0; color: #4d3328; font: 400 clamp(1.45rem,2.4vw,2rem)/1.12 var(--serif); letter-spacing: -.035em;
}
.cours-supplementaire p { margin: 0; color: var(--muted); font: 400 .94rem/1.45 var(--sans); }
.supplement-invitation { grid-column: 1 / -1; }
.supplement-prix { white-space: nowrap; }
.supplement-prix small { font: 600 .75rem var(--sans); letter-spacing: .035em; }
.supplement-details { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #ddcbbb; }
.supplement-details p { flex: 1 1 16rem; display: flex; align-items: center; gap: 8px; }
.supplement-details svg { width: 18px; height: 18px; flex: none; color: #7b5843; }
body.theme-client .next-card .small-cta { margin-top: 17px; }
body.theme-client .home-below { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,.85fr); gap: clamp(20px,4vw,48px); margin-top: 26px; align-items: stretch; }
body.theme-client .home-agenda { padding: 12px 0; }
body.theme-client .home-agenda h2, body.theme-client .filtres-boutique h2 { font: 400 clamp(26px,3vw,36px)/1.15 var(--serif); letter-spacing: -.04em; }
body.theme-client .home-times { list-style: none; margin: 12px 0 0; padding: 0; }
body.theme-client .home-times li { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px; align-items: baseline; border-top: 1px solid var(--line); padding: 9px 0; }
body.theme-client .home-times time { font-weight: 700; font-variant-numeric: tabular-nums; }
body.theme-client .shop-hero { --mast-base: #f0e4e6; --mast-middle: #f4dedc; --mast-edge: #d7b6cc; --mast-accent: #bc96b2; --mast-light: #fff1e5;
      align-items: center; flex-wrap: wrap; min-height: clamp(146px,17vw,196px); color: #382837; }
body.theme-client .shop-feature { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
body.theme-client .shop-feature .section-label, body.theme-client .featured-disciplines { font-size: .88rem; color: #54404f; }
body.theme-client .featured-name { margin: 3px 0; font-size: 1.15rem; font-weight: 650; }
body.theme-client .shop-hero .small-cta { background: #58364e; }
body.theme-client .shop-hero .small-cta:hover { background: #42273b; }
#barre-panier {
  position: fixed; z-index: 15; inset-inline: 0; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100% - 32px)); margin-inline: auto; box-sizing: border-box;
  align-items: center; justify-content: space-between; gap: 14px; padding: 6px 7px 6px 18px;
  background: var(--paper); border: 1px solid #d8c8d0; border-radius: 32px;
  box-shadow: 0 5px 24px #49364024; color: var(--muted); font-size: .9rem;
}
#barre-panier:not([hidden]) { display: flex; }
#barre-panier strong { margin-left: 4px; color: var(--ink); font-variant-numeric: tabular-nums; }
#barre-panier a {
  display: grid; place-items: center; min-height: 44px; padding-inline: 18px; border-radius: 28px;
  color: #fffaf6; background: #604355; font-weight: 600; text-decoration: none;
}
#barre-panier a:hover { background: #493640; }
body:has(#barre-panier:not([hidden])) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 719px) {
  body:has(.tabbar) #barre-panier { bottom: calc(var(--tabbar-h) + 12px); }
  body:has(.tabbar):has(#barre-panier:not([hidden])) { padding-bottom: calc(var(--tabbar-h) + 76px); }
}
@media print {
  #barre-panier:not([hidden]) { display: none; }
}
.cadeaux-boutique {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px 18px; align-items: center;
  margin-block: 16px; padding: 12px clamp(14px,2vw,22px); border: 1px solid #decfd6; border-radius: 18px;
  background: radial-gradient(ellipse at 0 0,#fcf0de,transparent 58%),linear-gradient(110deg,#fffaf4,#f3e8ee);
}
.picto-cadeau { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dcc9cf; border-radius: 14px; background: #fffaf4; color: #715266; }
.picto-cadeau svg { width: 23px; height: 23px; }
body.theme-client .cadeaux-boutique h2 { margin: 0; color: #493640; font: 400 clamp(1.35rem,2.4vw,1.9rem)/1.15 var(--serif); letter-spacing: -.03em; }
.cadeaux-boutique p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.cadeaux-boutique nav { display: flex; flex-wrap: wrap; gap: 8px; }
body.theme-client .cadeaux-boutique nav a, body.theme-client .conversion-cadeau button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px;
  padding: 8px 16px; border: 1px solid #cbb7c3; border-radius: 24px; background: #fffaf6; color: #563b4d;
  font: 600 .9rem/1.3 var(--sans); text-decoration: none; box-shadow: none;
}
body.theme-client .cadeaux-boutique nav a.offrir { background: #604355; border-color: #604355; color: #fffaf6; }
body.theme-client .cadeaux-boutique nav a:hover, body.theme-client .conversion-cadeau button:hover { text-decoration: underline; text-underline-offset: 3px; }
.conversion-cadeau svg { width: 19px; height: 19px; flex-shrink: 0; }
@media (max-width: 719px) {
  .cadeaux-boutique { grid-template-columns: auto minmax(0,1fr); gap: 12px; }
  .cadeaux-boutique nav { grid-column: 1 / -1; }
  .cadeaux-boutique nav a { flex: 1 1 auto; }
}
body.theme-client .offer-group + .offer-group { margin-top: 22px; }
body.theme-client .offer-group h4 {
  display: flex; align-items: center; gap: 14px; margin: 0; padding-block: 6px 10px;
  font: 600 .9rem/1.35 var(--sans); color: #634a56;
}
.offer-group h4::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg,#d9c6cc,transparent); }
body.theme-client .appointment-hero { min-height: clamp(130px, calc(13.7vw + 38px), 188px); align-items: center; background: #e4e6d6; }
body.theme-client .appointment-hero::before { background: radial-gradient(ellipse 66% 160% at 2% 105%,#dbddce 5%,transparent 84%), radial-gradient(ellipse 48% 158% at 98% 0,#98aa99,transparent 85%),linear-gradient(115deg,#e2e5d8 22%,#f1ead9 65%,#c9d3bf); }
body.theme-client .appointment-hero::after { inset: -20%; background: repeating-linear-gradient(118deg,transparent 0 7%,#fff7dd80 9%,transparent 13% 16%); filter: blur(9px); mask-image: linear-gradient(90deg,transparent 28%,black 80%); }
body.theme-client .appointment-hero h1 { font-size: clamp(42px,6vw,72px); }
body.theme-client .appointment-hero p { margin-top: 8px; color: #465047; }
body.theme-client .appointment-layout { display: grid; grid-template-columns: minmax(200px,.8fr) minmax(0,2fr); align-items: start; gap: clamp(16px,4vw,56px); margin-top: clamp(24px,4vw,46px); }
body.theme-client :is(.appointment-layout,.rdv-reservations) h2 { margin: 0; font: 400 clamp(26px,3vw,36px)/1.12 var(--serif); letter-spacing: -.035em; }
.rdv-entete { flex-wrap: wrap; }
.rdv-entete > *, .rdv-prestation .libelle, .rdv-reservation .infos { min-width: 0; overflow-wrap: anywhere; }
.rdv-solde { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 8px 14px; border: 1px solid #fff9; border-radius: 16px; background: #fffdf3dc; color: #394a3e; font-size: .86rem; }
.rdv-solde strong { font-size: 1.05rem; }
body.theme-client .rdv-retour, body.theme-client .rdv-selection a { display: inline-flex; align-items: center; color: #3f5145; font: 600 .9rem var(--sans); text-underline-offset: 3px; }
.rdv-retour { min-height: 44px; }
.rdv-selection a { margin-inline-start: 8px; }
.rdv-semaine { margin-block: clamp(16px,2.5vw,28px) 0; }
.rdv-periode { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #485248; font-size: .94rem; font-weight: 550; }
.rdv-fleches { display: flex; gap: 6px; }
body.theme-client .rdv-fleches :is(a,button) {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  border-radius: 50%; background: var(--paper); color: #344b3b; font: 400 1.45rem/1 var(--sans); text-decoration: none; box-shadow: none;
}
.rdv-fleches button:disabled { opacity: .45; }
body.theme-client .rdv-semaine .jours-planning { margin-top: 8px; }
.rdv-jour { flex-wrap: wrap; }
.rdv-jour > span, .rdv-intro { color: var(--muted); font-size: .92rem; }
.rdv-creneaux, .rdv-prestations { border-top: 1px solid #bfc4b6; }
body.theme-client .rdv-creneau, .rdv-prestation, .rdv-reservation {
  display: grid; grid-template-columns: 5.75rem minmax(0,1fr) auto; align-items: center; gap: 14px;
  width: 100%; padding: 14px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; box-shadow: none; color: var(--ink); font: 400 1rem/1.4 var(--sans); text-align: start; text-transform: none;
}
.rdv-creneau .heures { font: 550 1.5rem/1.15 var(--serif); font-variant-numeric: tabular-nums; }
.rdv-creneau .duree { display: block; margin-top: 3px; font: 400 .82rem/1.3 var(--sans); color: var(--muted); }
.rdv-detail { font-weight: 550; overflow-wrap: anywhere; }
.rdv-action, body.theme-client .rdv-reservation button {
  padding: 7px 15px; border: 1px solid #c8d1c2; border-radius: 24px; background: #edf1e8;
  color: #364a3c; font: 600 .86rem/1.3 var(--sans); letter-spacing: normal; text-transform: none; box-shadow: none;
}
body.theme-client .rdv-creneau:is(:disabled,[aria-disabled]) { color: var(--muted); cursor: default; opacity: 1; }
.rdv-creneau:disabled .rdv-action { background: transparent; border-color: transparent; color: var(--muted); }
body.theme-client .rdv-creneau:enabled:active { background: #e5ebdf; transform: none; }
.rdv-vide { margin: 0; padding: 18px 12px; border-radius: 0 0 14px 14px; background: linear-gradient(110deg,#eef0e6,#f7f5ed); color: #475249; }
.rdv-vide p { margin: 0; }
.rdv-vide p + p { margin-top: 8px; }
.rdv-prestation, .rdv-reservation { grid-template-columns: auto minmax(0,1fr) auto; text-decoration: none; }
body.theme-client .rdv-prestation { color: var(--ink); }
.rdv-prestation .libelle > strong, .rdv-reservation .infos > strong { display: block; font: 400 clamp(22px,2.5vw,30px)/1.18 var(--serif); }
.rdv-prestation .libelle > small, .rdv-reservation .infos small { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.rdv-picto, .rdv-date { display: grid; place-content: center; justify-items: center; width: 48px; min-height: 52px; border: 1px solid #d4dacb; border-radius: 13px; background: linear-gradient(130deg,#fbfaef,#e1e7d9); color: #405a48; }
.rdv-picto svg { width: 23px; height: 23px; }
.rdv-prestation .chevron { color: #516555; font-size: 1.5rem; }
.rdv-offre { border-bottom: 1px solid var(--line); }
.rdv-offre .rdv-prestation { border: 0; }
.rdv-offre .description-prestation { margin: -6px 8px 8px 70px; }
main:has(.appointment-hero) .description-prestation summary { color: #405a48; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
main:has(.appointment-hero) .description-prestation-texte { border: 0; background: #eef0e6; color: #3d493f; }
.rdv-reservations { margin-top: clamp(30px,4vw,48px); }
body.theme-client .rdv-reservations h2 { padding-bottom: 14px; border-bottom: 1px solid #bfc4b6; }
.rdv-date strong { font: 500 1.4rem/1 var(--serif); }
.rdv-date span { font-size: .77rem; }
body.theme-client .rdv-reservation button { min-height: 44px; background: transparent; }
@media (hover: hover) {
  body.theme-client .rdv-creneau:enabled:hover, .rdv-prestation:hover { background: #edf0e7; }
  body.theme-client .rdv-fleches a:hover, body.theme-client .rdv-reservation button:hover { background: #e5ebdf; }
}

body.theme-client .mast h1, body.theme-client .jour-entete h2,
body.theme-client .home-agenda h2, body.theme-client .filtres-boutique h2 { margin: 0; color: inherit; }
.semaine-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.semaine-navigation p { margin: 0 8px 0 0; font-size: .91rem; color: #594e41; }
.semaine-navigation a { display: grid; place-items: center; width: 34px; min-height: 32px; color: #594e41; border: 1px solid #cbbdac; border-radius: 50%; text-decoration: none; }
body.theme-client .semaine { display: block; overflow: visible; margin: 0; }
body.theme-client .semaine .colonne { opacity: 1; }
body.theme-client .semaine .colonne:not(.visible) { display: none !important; }
body.theme-client .jours-planning .jour-pastille { flex-direction: row; text-decoration: none; box-shadow: none; }
body.theme-client .jours-planning .jour-pastille :is(small,strong) { color: inherit; }
body.theme-client .disciplines-planning a { box-sizing: border-box; text-decoration: none; }
body.theme-client .disciplines-planning a[aria-current] { color: #31453a; border-color: var(--lichen); background: #e7ece5; font-weight: 650; }
#nombre-cours, .ligne-cours .coach-ligne { font-size: .81rem; color: var(--muted); }
body.theme-client .ligne-cours .nom-cours { min-height: 0; text-transform: none; box-shadow: none; color: var(--ink); font: 640 1rem/1.25 var(--sans); }
.ligne-cours .coach-ligne { margin: 0; }
.ligne-cours .coach-ligne .initiales { display: none; }
.ligne-cours .coach-ligne img { width: 24px; height: 24px; }
.ligne-cours .action { justify-self: end; text-align: right; min-width: 0; }
body.theme-client .ligne-cours:not(.etat-reserve) .action :is(button,.bouton,.bouton-reserver) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 7px 15px;
  border-radius: 30px; border: 1px solid #d8c4b5; background: #fcf3e9; color: #743c2c;
  font: 600 .83rem/1.2 var(--sans); text-decoration: none; box-shadow: none;
}
body.theme-client .ligne-cours:not(.etat-reserve) .action .secondaire { background: #f2f1ea; color: #4f574c; border-color: #cdc9bb; }
body.theme-client .ligne-cours.etat-reserve { row-gap: 4px; }
.ligne-cours.etat-reserve .action { display: contents; }
.ligne-cours.etat-reserve .ok { grid-area: 1/4; justify-self: end; }
.ligne-cours .actions-reservation { grid-area: 2/2/3/-1; justify-self: end; }
.detail-action:has(> .actions-reservation) { display: grid; justify-items: end; gap: 4px; }
.actions-reservation { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 8px; }
.actions-reservation form { margin: 0; }
.actions-reservation form.invitation-action { flex-basis: auto; width: auto; }
body.theme-client .actions-reservation button, body.theme-client .details-reservation .action button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 9px;
  border: 1px solid #d5cdc0; border-radius: 8px; background: var(--paper); color: #514b40;
  font: 550 .81rem/1.25 var(--sans); text-decoration: none; box-shadow: none;
}
body.theme-client .actions-reservation button:hover, body.theme-client .details-reservation .action button:hover { background: #f1ebe0; border-color: #b8aa97; }
body.theme-client .semaine .vide { padding: 18px 4px; margin: 0; text-align: left; }
body.theme-client .next-card { display: grid; gap: 4px; align-content: start; justify-items: start; }
body.theme-client .next-card strong { font: 400 clamp(24px,3vw,36px)/1.1 var(--serif); letter-spacing: -.032em; }
.home-below { margin-bottom: 28px; }
body.theme-client .comparatif-offres .produit { gap: 10px; padding: 12px 4px; }
body.theme-client .comparatif-offres .presentation-produit { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.comparatif-offres .presentation-produit::after { content: ""; flex: 1; min-width: 8px; height: 1px; background: repeating-linear-gradient(90deg,#c9b9a7 0 1px,transparent 1px 5px); }
body.theme-client .comparatif-offres .produit .infos strong { font-size: clamp(24px,2.6vw,34px); }
body.theme-client .comparatif-offres .produit .rangee-achat { border: 0; margin: 0; padding: 0; }
body.theme-client .comparatif-offres .rangee-achat .ajouter { color: var(--clay); background: none; border: 0; box-shadow: none; text-decoration: underline; font-size: .85rem; }
body.theme-client dialog.dialog-detail, body.theme-client dialog.panneau-reservation {
  box-sizing: border-box; position: fixed; inset: 0 0 0 auto; margin: 0; padding: 24px;
  width: min(430px,100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  border: 0; border-left: 1px solid #dad1c4; border-radius: 0; background: var(--paper); color: var(--ink);
}
body.theme-client dialog.dialog-detail h2 { color: var(--ink); font: 400 2.15rem/1.1 var(--serif); letter-spacing: -.04em; }
body.theme-client:has(dialog[open]) { overflow: hidden; }

@media (max-width: 719px) {
  body.theme-client .topbar.topbar-client { grid-template-columns: minmax(0, 1fr) auto auto auto; padding-block: max(4px,env(safe-area-inset-top)) 4px; gap: 0 8px; }
  body.theme-client .topbar-client .cloche { grid-column: 2; }
  .topbar-client .panier-entete { grid-column: 3; }
  .topbar-client .menu-membre { grid-column: 4; }
  .topbar-client .marque { min-width: 0; max-width: 100%; overflow: hidden; }
  .topbar-client .marque .nom-studio { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar-client .marque .nom-studio { font-size: 28px; }
  body.theme-client .topbar-client nav.destinations { grid-area: 2/1/3/-1; justify-content: space-between; gap: 6px; margin: 0; }
  body.theme-client .topbar-client nav.destinations a { font-size: .8rem; padding: 4px 0; }
  .topbar-client .menu-membre summary { font-size: .8rem; }
  body.theme-client .mast { padding: 19px 16px; border-radius: 18px; }
  body.theme-client .mast h1 { font-size: 43px; }
  body.theme-client .appointment-hero { min-height: 124px; }
  body.theme-client .rdv-entete { flex-direction: column; align-items: start; justify-content: center; }
  body.theme-client .rdv-creneau { grid-template-columns: 4.25rem minmax(0,1fr) auto; gap: 8px; padding-inline: 2px; }
  .rdv-creneau .heures { font: 700 1.3rem/1.15 var(--sans); font-variant-numeric: tabular-nums; }
  .rdv-creneau .rdv-action { padding-inline: 9px; max-width: 7rem; text-align: center; }
  .rdv-reservation { grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 6px 12px; }
  .rdv-reservation .action { grid-column: 2; }
  .semaine-navigation p { font-size: .76rem; }
  body.theme-client .balance { align-self: start; padding: 6px 8px; font-size: .73rem; }
  body.theme-client .jours-planning { gap: 3px; margin: 12px 0 21px; }
  body.theme-client .jours-planning .jour-pastille { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 0; padding: 4px 0; border-radius: 11px; }
  body.theme-client .jours-planning .jour-pastille small { font-size: .67rem; }
  body.theme-client .disciplines-planning { gap: 4px; }
  body.theme-client .disciplines-planning a { flex: 1 1 auto; padding: 5px 8px; }
  body.theme-client .ligne-cours { grid-template-columns: 4rem minmax(0,1fr) minmax(0,auto); gap: 3px 7px; padding: 10px 2px; }
  body.theme-client .ligne-cours .horaire { grid-area: 1/1/3/2; font: 700 1.25rem/1.15 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
  .ligne-cours .titre-cours { grid-area: 1/2; align-self: end; }
  .ligne-cours .coach-ligne { grid-area: 2/2; align-self: start; font-size: .78rem; }
  .ligne-cours .action { grid-area: 1/3/3/4; max-width: 108px; }
  body.theme-client .ligne-cours:not(.etat-reserve) .action :is(button,.bouton,.bouton-reserver) { padding-inline: 9px; }
  .ligne-cours.etat-reserve .ok { grid-area: 1/3/3/4; }
  .ligne-cours .actions-reservation { grid-area: 3/1/4/-1; }
  body.theme-client .home-hero, body.theme-client .home-below, body.theme-client .appointment-layout { grid-template-columns: 1fr; }
  body.theme-client .home-hero { min-height: 0; padding: 22px 16px 16px; border-radius: 20px; gap: 16px; }
  body.theme-client .home-hero h1 { font-size: clamp(35px,9vw,55px); margin: 8px 0 12px; }
  body.theme-client .home-below { margin-top: 14px; gap: 16px; }
  body.theme-client .shop-hero { flex-direction: column; align-items: start; gap: 16px; }
  .filtres-boutique { gap: 12px; }
  .filtres-boutique form { flex-basis: 100%; }
  .filtres-boutique .choix-discipline { flex: 1 1 145px; }
  .filtres-boutique nav { display: grid; grid-template-columns: auto auto minmax(5ch, max-content) auto; justify-content: start; gap: 4px; }
  body.theme-client .filtres-boutique nav a { padding-inline: clamp(4px, 1.7vw, 10px); font-size: .84rem; text-align: center; }
  body.theme-client .comparatif-offres .produit { grid-template-columns: minmax(0,1fr) auto; }
  body.theme-client dialog.dialog-detail, body.theme-client dialog.panneau-reservation {
    inset: auto 0 0; height: auto; max-height: 91dvh; width: 100%; border: 0; border-radius: 24px 24px 0 0;
    padding: 12px 20px max(20px,env(safe-area-inset-bottom));
  }
  body.theme-client dialog.dialog-detail::before, body.theme-client dialog.panneau-reservation::before {
    content: ""; display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: #c6baad;
  }
}

body.theme-client:has(.topbar-client) { min-height: 100dvh; display: flex; flex-direction: column; }
body.theme-client:has(.topbar-client) > main { flex: 1 0 auto; }
body.theme-client .topbar-client { flex-shrink: 0; }
body.theme-client .pied-juridique { display: block; margin: 0 auto; padding: 18px; text-align: center; color: var(--muted); }
.pied-juridique summary { cursor: pointer; font-size: .8rem; }
.pied-juridique details div { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 10px 0; }
body.theme-client .ligne-cours { border-left: 0; background: transparent; }
.fleches-planning { display: inline-flex; gap: 4px; }
body.theme-client .comparatif-offres .presentation-produit .infos { flex: 0 1 auto; min-width: 0; }
.comparatif-offres .presentation-produit::after { flex: 1 1 8px; }
body.theme-client .comparatif-offres .ouvrir-fiche { overflow-wrap: normal; }
body.theme-client .comparatif-offres .produit .infos { display: flex; flex-direction: column; align-items: start; }
.comparatif-offres .badge-nouveau-membre, .comparatif-offres .badge-promotion-abonnement { order: 1; margin-block: 4px 0; }
body.theme-client dialog.dialog-detail { background: radial-gradient(ellipse 135% 290px at 110% 0,#ecd4bba3,transparent 78%),var(--paper); }
body.theme-client #choix-source .detail-action { display: grid; gap: 16px; margin-top: 24px; }
body.theme-client #choix-source .detail-action button, body.theme-client #choix-source-contenu > button {
  width: 100%; min-height: 48px; padding: 10px 15px; border: 0; border-radius: 14px; background: #663c2f; color: var(--paper);
}
@media (min-width: 720px) {
  body.theme-client .topbar.topbar-client { grid-template-columns: auto 1fr auto auto auto; }
  body.theme-client .topbar-client nav.destinations { justify-self: center; margin-inline-end: 0; }
}
@media (max-width: 719px) {
  body.theme-client .entete-planning { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; }
  .entete-planning .semaine-navigation { margin-right: -54px; margin-top: 12px; min-height: 32px; }
  .entete-planning .fleches-planning { position: absolute; right: 16px; bottom: 19px; }
  body.theme-client .disciplines-planning { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(74px,100%),1fr)); }
  body.theme-client .disciplines-planning a { padding-inline: 4px; }
  body.theme-client .shop-hero:not(:has(.shop-feature)) { min-height: 108px; justify-content: center; }
}

body.theme-client .page-historique-membre > .mast { margin-bottom: clamp(22px, 3vw, 36px); }
body.theme-client .page-suivi { margin-top: clamp(22px, 3vw, 36px); }

body.theme-client .form-identifiants {
  box-sizing: border-box; width: min(100%, 38rem); display: grid; gap: 16px;
  margin: clamp(20px,3vw,32px) 0; padding: clamp(18px,3vw,30px); border: 1px solid var(--line);
  border-radius: 20px; background: var(--paper); color: var(--ink); text-align: left;
}
body.theme-client .form-identifiants h2 { margin: 0; font: 400 clamp(24px,3vw,34px)/1.15 var(--serif); }
.form-identifiants p { margin: 0; overflow-wrap: anywhere; }
.form-identifiants label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
body.theme-client .form-identifiants input {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 10px 13px;
  font: 400 1rem/1.4 var(--sans); border: 1px solid #baa99a; border-radius: 11px;
  background: #fffdfa; color: var(--ink);
}
body.theme-client .form-identifiants input:focus-visible { border-color: #80563d; outline: 3px solid #a8866d; outline-offset: 2px; }
body.theme-client .form-identifiants input[aria-invalid="true"] { border-color: #943c34; }
.form-identifiants button, .form-identifiants .text-link { justify-self: start; }
.form-identifiants .erreur-champ, .form-identifiants [role="alert"] { color: #8e392e; }
