/* =========================
   RESET + THEME
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --secondary: #FF6F00;

  --bg: #F5F5F5;
  --surface: #FFFFFF;

  --text: #212121;
  --muted: #757575;

  --border: #E0E0E0;

  --success: #2E7D32;
  --danger: #D32F2F;
  --warning: #FF6F00;
  --info: #1976D2;

  --badge-boutique: #7B1FA2;
  --badge-massages: #2E7D32;
  --badge-sante: #1976D2;
  --badge-evenement: #FF6F00;

  --radius: 16px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
}

/* Accessibilité */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  border: 2px solid var(--primary);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; }

.hidden { display: none !important; }

button, input {
  font: inherit;
}

button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(102, 187, 106, 0.55);
  outline-offset: 2px;
}

.muted { color: var(--muted); }

/* --- About / Team --- */
.teamGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.teamCard{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.teamAvatar{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 20px;
  flex: 0 0 auto;
}
.teamMeta{min-width:0}
.teamName{font-weight:800; letter-spacing:.2px}
.teamRole{opacity:.78; font-size:.92rem; margin-top:2px}
.teamTags{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px}
.teamTag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-size: .86rem;
  white-space: nowrap;
}
.teamCtas{display:flex; gap:8px; margin-top: 12px}

@media (max-width: 720px){
  .teamGrid{grid-template-columns: 1fr;}
}
.h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.h3 { font-size: 22px; font-weight: 900; }

/* =========================
   SCREENS (loading/auth)
========================= */
.screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.screen--loading {
  background: var(--primary);
  color: white;
  padding-top: calc(20px + var(--safe-top));
}

.loading { display: grid; gap: 14px; place-items: center; }
.spinner {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.35);
  border-top-color: white;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}

/* Auth card */
.auth {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.auth__header { text-align: center; margin-bottom: 18px; }
.auth__logo { font-size: 54px; display:flex; justify-content:center; }
.auth__logoImg{ width: 56px; height: 56px; object-fit: contain; display:block; }
.auth__title { font-size: 32px; color: var(--primary); font-weight: 900; }
.auth__subtitle { color: var(--muted); margin-top: 4px; }
.auth__form { display: grid; gap: 16px; margin-top: 18px; }
.hint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

/* Password strength (register) */
.pw{margin-top:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.55)}
.pw__bar{height:10px;border-radius:999px;background:rgba(0,0,0,.08);overflow:hidden}
.pw__fill{display:block;height:100%;width:0%;background:var(--danger);transition:width .2s ease, background .2s ease}
.pw__text{margin-top:8px;font-size:12px;font-weight:800;color:var(--text)}
.pw__hint{margin-top:6px;font-size:11px;color:var(--muted)}
.pw.is-medium .pw__fill{background:var(--warning)}
.pw.is-strong .pw__fill{background:var(--primary)}

.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
}
.field input:focus { border-color: var(--primary); }

/* Buttons */
.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .08s ease, opacity .2s ease, background .2s ease;
}
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--block { width: 100%; }

.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn--outline:hover { background: rgba(46, 125, 50, 0.08); }

.btn--sm{
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
}

/* =========================
   APP LAYOUT
========================= */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg);
}

/* =========================
   APP BAR (super clean)
========================= */
.appbar{
  position: sticky;
  top: 0;
  z-index: 60;
  padding: calc(10px + var(--safe-top)) 16px 10px;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(17,24,39,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.appbar{
  display: grid;
  /* Donne un peu plus d'espace à la zone droite (boutons) */
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 6px;
}


.appbar__right{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.appbar__pill--ghost{
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}
.appbar__pill--ghost:hover{
  filter: brightness(0.98);
}
.appbar__logo{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  padding: 0px;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.appbar__center{ min-width: 0; }

.appbar__title{
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .2px;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbar__pill{
  border: 1px solid rgba(46,125,50,0.35);
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(46,125,50,.22);
  flex: 0 0 auto;
  white-space: nowrap;
}
.appbar__pill:active{ transform: scale(.99); }


.app-main {
  flex: 1;
  padding-bottom: calc(74px + var(--safe-bottom));
  overflow-y: auto;
}

/* Tabs content */
.tab { display: none; }
.tab.active { display: block; }

/* Cards */
.card {
  background: var(--surface);
  margin: 12px 12px 0;
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.card__title { font-size: 18px; font-weight: 900; margin-bottom: 12px; }
.card--accent { border-left: 5px solid var(--secondary); }

.bullets { padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

/* Lists */
.list {
  display: grid;
  gap: 12px;
}
.empty {
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  color: var(--muted);
  text-align: center;
}

/* =========================
   CHIPBAR (news filter)
========================= */
.chipbar {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.chip {
  border: 1px solid var(--border);
  background: rgba(0,0,0,.03);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.chip--active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* =========================
   NEWS CARDS
========================= */
.news {
  display: grid;
  border: 0;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.news:hover { transform: translateY(-1px); }
.news__img { width: 100%; height: 176px; object-fit: cover; background: var(--border); }
.news__body { padding: 14px; display: grid; gap: 8px; }
.news__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.news__title { font-size: 17px; font-weight: 900; }
.news__desc { color: var(--muted); font-size: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: white;
}
.badge--Boutique { background: var(--badge-boutique); }
.badge--Massages { background: var(--badge-massages); }
.badge--Offres { background: var(--secondary); }
.badge--Santé { background: var(--badge-sante); }
.badge--Événement { background: var(--badge-evenement); }
.badge--kultivo { background: #111; }

/* =========================
   PROMOS
========================= */
.promo {
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: grid;
  gap: 10px;
}
.promo--inactive { opacity: .65; }

.promo__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.promo__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.promo__type {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: white;
}
.promo__type--massage { background: var(--primary); }
.promo__type--boutique { background: var(--badge-boutique); }
.promo__type--kinetik { background: var(--info); }
.promo__type--kultivo { background: var(--secondary); }

.promo__active {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: var(--success);
  color: white;
}
.promo__save {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.promo__title { font-weight: 900; font-size: 18px; }
.promo__desc { color: var(--muted); font-size: 14px; }
.promo__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(102, 187, 106, 0.18);
}
.promo__box--auto{
  justify-content: center;
  text-align: center;
}
.promo__box--auto .promo__codeWrap{
  align-items: center;
}
.promo__box--auto .promo__auto{
  text-align: center;
}
.promo__pct { font-size: 26px; font-weight: 1000; color: var(--primary); }
.promo__code {
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: 900;
  color: var(--primary);
  background: white;
}
.promo__meta { color: var(--muted); font-size: 13px; }
.promo__cond { color: var(--muted); font-size: 12px; font-style: italic; }

/* =========================
   KEY-VALUE (schedule)
========================= */
.kv { display: grid; gap: 10px; }
.kv__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.kv__note{
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  line-height: 1.2;
  color: #111;
  /* Always show full sentence on mobile */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.kv__k { font-weight: 800; }
.kv__v { color: var(--muted); }

/* =========================
   APPOINTMENTS
========================= */
.apt {
  background: rgba(0,0,0,.03);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}
.apt__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.miniPromo__remove{
  border: 0;
  background: rgba(0,0,0,.06);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}
.miniPromo__remove:active{ transform: scale(.98); }
.apt__type { font-weight: 900; }

.status {
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
}
.status--confirmé { background: var(--success); }
.status--annulé { background: var(--danger); }

/* =========================
   ACCORDION
========================= */
.accordion { padding: 12px; display: grid; gap: 10px; }
.acc {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  overflow: hidden;
}
.acc__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.acc__title { font-weight: 900; font-size: 16px; }
.acc__icon { font-size: 22px; color: var(--primary); transition: transform .2s ease; }
.acc[aria-expanded="true"] .acc__icon { transform: rotate(180deg); }
.acc__panel {
  padding: 0 16px 16px;
  color: var(--muted);
  white-space: pre-line;
}

/* =========================
   CONTACT
========================= */
.contact { display: grid; gap: 10px; }
.contact__item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
}
.contact__item a { color: var(--primary); text-decoration: none; font-weight: 900; }

/* =========================
   PROFILE
========================= */
.profile {
  margin: 12px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.profile__avatar {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  border: 2px solid rgba(255,255,255,.28);
}
.profile__avatar--empty::after {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px dashed rgba(255,255,255,.55);
}
.profile__name { font-size: 22px; font-weight: 1000; margin-top: 6px; }
.profile__email { opacity: .92; }

/* =========================
   GAMES / QUIZ
========================= */
.games-view { display: none; }
.games-view--active { display: block; }

.progress { padding: 12px; }
.progress__bar { height: 10px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress__fill { height: 100%; width: 0%; background: var(--primary); transition: width .2s ease; }
.progress__text { text-align: center; font-weight: 800; color: var(--muted); margin-top: 8px; }

.choices { display: grid; gap: 10px; }
.choice {
  border: 2px solid var(--border);
  background: white;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}
.choice--selected { border-color: var(--primary); background: rgba(102,187,106,.1); }
.choice__dot {
  width: 22px; height: 22px; border: 2px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
}
.choice--selected .choice__dot { border-color: var(--primary); }
.choice__dot::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
}
.choice--selected .choice__dot::after { opacity: 1; }
.choice__text { font-weight: 700; }

.footer-actions {
  padding: 12px;
  display: grid;
  gap: 10px;
}

/* Results */
.result {
  background: var(--primary);
  color: white;
  margin: 12px;
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.result__title { font-size: 20px; font-weight: 1000; }
.result__score {
  margin: 14px auto 8px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 1000;
  box-shadow: var(--shadow);
}
.result__scoreNum { font-size: 46px; }
.result__scoreTotal { color: var(--muted); font-size: 20px; }
.result__percent { font-weight: 900; }

/* Answer recap */
.answer {
  background: rgba(0,0,0,.03);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}
.answer__q { font-weight: 900; }
.answer__badge {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 1000;
}
.answer__badge--ok { background: var(--success); }
.answer__badge--no { background: var(--danger); }
.answer__meta { display: flex; justify-content: space-between; gap: 12px; }
.answer__wrong { color: var(--danger); font-weight: 800; }
.answer__right { color: var(--success); font-weight: 800; }
.answer__exp { color: var(--muted); font-style: italic; }

/* =========================
   BOTTOM TABS
========================= */
.tabs {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-bottom: var(--safe-bottom);
  display: flex;
  justify-content: space-around;
  z-index: 1000;
}

.tabbtn {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}
.tabbtn__icon { font-size: 22px; }
.tabbtn__label { font-size: 11px; font-weight: 800; }
.tabbtn--active { color: var(--primary); }

/* =========================
   MODAL
========================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,.65);
  z-index: 2000;
  padding: 18px;
  overflow-y: auto;
}
.modal[aria-hidden="false"] { display: grid; place-items: start center; }
.modal__content {
  width: min(720px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: calc(10px + var(--safe-top));
  box-shadow: var(--shadow);
  position: relative;
}

/* Cancel modal: more padding and prevent edge clipping on small screens */
#cancel-modal .modal__content{
  width: min(520px, 100%);
  overflow: visible;
  border-radius: 22px;
  padding: 16px;
}
#cancel-modal .modal__close{ top: 10px; right: 10px; }
#cancel-modal .modal__actions{ gap: 10px; flex-wrap: wrap; }
#cancel-modal .modal__actions .btn{ flex: 1; min-width: 140px; }
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 24px;
  cursor: pointer;
}
.modal__img { width: 100%; height: 260px; object-fit: cover; background: var(--border); }
.modal__body { padding: 18px; }
.modal__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal__title { font-size: 24px; font-weight: 1000; margin-top: 10px; }
.modal__text { margin-top: 12px; }

/* Divider */
.divider { height: 3px; width: 64px; background: var(--primary); margin-top: 10px; border-radius: 999px; }

/* =========================
   QUIZ REWARD MODAL
========================= */
.modal__content--reward{ width: min(560px, 100%); }
.reward{ padding: 18px 16px 16px; }
.reward__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(19,114,54,.12);
  color: var(--primary);
  font-weight: 1000;
  margin-bottom: 8px;
}
.reward__lead{ margin: 8px 0 12px; color: var(--text); }
.reward__card{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  background: linear-gradient(180deg, rgba(19,114,54,.07), rgba(19,114,54,.03));
}
.reward__cardLeft{
  border-radius: 14px;
  background: var(--primary);
  color: white;
  padding: 10px;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 2px;
}
.reward__pct{ font-size: 26px; font-weight: 1000; line-height: 1; }
.reward__sub{ font-size: 12px; font-weight: 900; opacity: .95; }
.reward__hint{ margin: 0 0 10px; color: rgba(0,0,0,.72); font-weight: 700; font-size: 13px; }
.reward__actions{ display:flex; gap: 10px; flex-wrap: wrap; }
.reward__actions .btn{ padding: 12px 14px; }
.reward__kultivo{
  margin-top: 12px;
  border-radius: 16px;
  padding: 12px;
  background: rgba(0,0,0,.04);
}
.reward__kTitle{ font-weight: 1000; margin-bottom: 4px; }
.reward__kText{ margin: 0; color: rgba(0,0,0,.72); font-weight: 700; font-size: 13px; }

/* =========================
   TOAST
========================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + var(--safe-bottom));
  transform: translateX(-50%);
  background: rgba(0,0,0,.84);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 3000;
}
.toast--show { opacity: 1; }

/* =========================
   DESKTOP
========================= */
@media (min-width: 900px) {
  .app { box-shadow: 0 0 24px rgba(0,0,0,.08); }
  .tabs { max-width: 520px; left: 50%; transform: translateX(-50%); }
}

/* =========================
   PROMOS — TOOLS (filters + search)
========================= */
.promo-tools{
  margin: 12px;
  display: grid;
  gap: 10px;
}

/* Pills filters — 1 ligne, sans scroll */
.promo-pills{
  display: flex;
  gap: 8px;
}
.pill{
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.03);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill--active{
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.promo-filter{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.promo-filter__label{
  font-size: 12px;
  font-weight: 950;
  color: rgba(17,24,39,0.75);
}

.promo-filter__select{
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(17,24,39,0.03);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 12px;
}

.promo-filters{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.promo-tools__row{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.promo-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.promo-toggle input{
  width: 18px;
  height: 18px;
}

.promo-search{
  flex: 1 1 220px;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--border);
  min-width: 220px;
}

.promo-search__icon{
  opacity: .8;
  font-weight: 900;
}

.promo-search__input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-weight: 800;
}

/* =========================
   PROMOS — COPY BUTTON
========================= */
.promo__codeWrap{
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo__copy{
  border: 0;
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 900;
  cursor: pointer;
  background: var(--primary);
  color: white;
}
.promo__copy:hover{ background: var(--primary-dark); }

/* ------------------------------
   PROMOTIONS (REFONTE MOBILE)
------------------------------ */
.promo2{
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.promo2--inactive{ opacity: .72; }

.promo2__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.promo2__headLeft{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.promo2__type{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .2px;
  color: white;
  white-space: nowrap;
}
.promo2__type--massage{ background: var(--primary); }
.promo2__type--boutique{ background: var(--badge-boutique); }
.promo2__type--kinetik{ background: var(--info); }
.promo2__type--kultivo{ background: var(--secondary); }

.promo2__dot{ width: 9px; height: 9px; border-radius: 999px; }
.promo2__dot--on{ background: #35d07f; }
.promo2__dot--off{ background: rgba(255,255,255,.35); }

.promo2__until{ font-size: 12px; color: var(--muted); white-space: nowrap; }

.promo2__save{
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
  padding: 6px 10px;
  line-height: 1;
}

.promo2__body{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.promo2__pct{
  font-size: 30px;
  font-weight: 1000;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.5px;
}
.promo2__title{ font-weight: 1000; font-size: 16px; }
.promo2__desc{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.promo2__foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.promo2__code{ font-size: 13px; color: var(--muted); white-space: nowrap; }
.promo2__codeLabel{ font-weight: 900; color: rgba(255,255,255,.85); }
.promo2__codeVal{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.promo2__actions{ display: flex; gap: 8px; margin-left: auto; justify-content: flex-end; }

.promo2__details{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 8px;
}
.promo2__details summary{
  cursor: pointer;
  font-weight: 900;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
}
.promo2__detailsBody{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

/* Booking promo input */
.promoentry{ display: flex; gap: 8px; align-items: center; }
.promoentry__input{ flex: 1; }
.promoentry__clear{ padding: 6px 10px; border-radius: 12px; }

/* CTA zone for offers in actus */
.news__cta{ display: flex; gap: 8px; margin-top: 10px; }



/* =========================
   HOME (mobile-first)
========================= */
.home-quick{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 12px;
}
.quick-tile{
  border:none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 9px 6px;
  color: var(--text);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  font-weight: 900;
  cursor:pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.quick-tile:active{ transform: scale(.99); }
.quick-tile__icon{
  width: 30px;
  height: 30px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(16,185,129,0.14), rgba(16,185,129,0.04));
  border: 1px solid rgba(16,185,129,0.18);
  font-size: 15px;
}
.quick-tile__label{ font-size: 11px; line-height: 1.05; }

.home-section{ padding: 8px 12px 0; }
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin: 2px 2px 10px;
}
.section-title{
  margin: 0;
  font-size: 13px;
  font-weight: 950;
  color: rgba(17,24,39,0.82);
  letter-spacing: .2px;
}
.section-link{
  border: 0;
  background: transparent;
  padding: 6px 8px;
  border-radius: 10px;
  font-weight: 950;
  font-size: 12px;
  color: var(--primary-dark);
  cursor: pointer;
}
.section-link:active{ background: rgba(46,125,50,0.08); }

.home-featured{ padding: 0; }

.home-tools{
  position: sticky;
  top: calc(60px + var(--safe-top));
  z-index: 20;
  background: var(--bg);
  padding-top: 10px;
}

.home-search{
  margin: 0 12px 10px;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  position: relative;
}
.home-search__icon{ color: var(--muted); font-weight: 900; }
.home-search__input{
  width:100%;
  border:none;
  outline:none;
  background: transparent;
  font-weight: 800;
}
.iconbtn{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.03);
  font-weight: 900;
  cursor: pointer;
}

.suggest{
  position:absolute;
  left: 10px;
  right: 10px;
  top: calc(100% + 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  overflow: hidden;
}
.suggest__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  width:100%;
  padding: 12px 12px;
  border:none;
  background: transparent;
  text-align:left;
  cursor:pointer;
}
.suggest__item + .suggest__item{ border-top: 1px solid var(--border); }
.suggest__title{ font-weight: 900; }
.suggest__meta{ color: var(--muted); font-size: 12px; font-weight: 800; }

/* Featured / large news card */
.news--featured{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  display: grid;
  grid-template-columns: 112px 1fr;
}

/* Featured sans image : repasse en 1 colonne (sinon la carte devient étroite) */
.news--featured--noimg{
  grid-template-columns: 1fr;
}
.news--featured .news__img{
  width: 112px;
  height: 100%;
  object-fit: cover;
}
.news--featured .news__body{ padding: 14px 14px 12px; }
.news__metaRow{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.news__action{
  font-weight: 950;
  color: var(--primary-dark);
  background: rgba(46,125,50,0.10);
  border: 1px solid rgba(46,125,50,0.20);
  border-radius: 999px;
  padding: 8px 10px;
}

/* CTA row inside a featured announcement */
.news__cta{
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.news--featuredCta{
  cursor: default;
}

/* Link row card (profile shortcut) */
.card--link{ padding: 0; }
.rowlink{
  width:100%;
  border:none;
  background: transparent;
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  cursor:pointer;
}
.rowlink__left{ display:flex; align-items:center; gap:12px; }
.rowlink__icon{ width: 36px; height:36px; border-radius: 14px; background: rgba(0,0,0,.04); display:flex; align-items:center; justify-content:center; }
.rowlink__title{ font-weight: 950; }
.rowlink__sub{ color: var(--muted); font-weight: 800; font-size: 12px; margin-top: 2px; }
.rowlink__right{ color: var(--muted); font-size: 22px; font-weight: 900; }


/* =========================
   BOOKING (integrated)
========================= */
.booking { display: grid; gap: 16px; margin-top: 12px; }
.booking__row { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .booking__row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .booking__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field__label { font-size: 0.9rem; color: var(--text); font-weight: 600; }
.field__control {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.field__control:focus { border-color: rgba(46,125,50,.5); box-shadow: 0 0 0 3px rgba(46,125,50,.15); }
.field__hint { font-size: .85rem; }

.booking__slots { border: 1px solid var(--border); border-radius: 16px; padding: 12px; background: rgba(255,255,255,.6); }
.booking__slotsHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
@media (max-width: 520px){ .booking__slotsHead{ align-items: flex-start; } }
.booking__slotsTitle { font-weight: 800; }
.booking__slotsMsg { margin-top: 10px; }

/* Week-end time filters */
.timefilters{ display:flex; gap:8px; margin: 2px 0 10px; flex-wrap: wrap; }
.timefilters__btn{ border:1px solid var(--border); background: var(--surface); border-radius:999px; padding:8px 12px; font-weight:800; cursor:pointer; }
.timefilters__btn[aria-pressed="true"]{ border-color: rgba(46,125,50,.7); box-shadow: 0 0 0 3px rgba(46,125,50,.15); }

.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .05s ease, box-shadow .15s ease, border-color .15s ease;
}
.slot:hover { box-shadow: 0 10px 20px rgba(0,0,0,.08); transform: translateY(-1px); }
.slot[aria-pressed="true"] { border-color: rgba(46,125,50,.7); box-shadow: 0 0 0 3px rgba(46,125,50,.15); }

.booking__form { border: 1px solid var(--border); border-radius: 16px; padding: 12px; background: rgba(255,255,255,.6); display: grid; gap: 12px; }
.booking__formHead { display:flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.booking__formTitle { font-weight: 800; }
.booking__formNote { font-size: .85rem; }

.booking__summary {
  border: 1px dashed rgba(46,125,50,.5);
  background: rgba(46,125,50,.06);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 600;
}

.bkSum__line{ line-height: 1.25; }
.bkSum__line + .bkSum__line{ margin-top: 4px; }
.booking__error {
  display:none;
  border: 1px solid rgba(211,47,47,.5);
  background: rgba(211,47,47,.06);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--danger);
  font-weight: 700;
}
.booking__error.is-on { display:block; }

.booking__actions { display:flex; justify-content:flex-end; }
.booking__actions{ gap:10px; flex-wrap:wrap; }
@media (max-width: 520px){
  .booking__actions .btn{ width:100%; }
}

/* Legal / terms */
.booking__legal{
  border:1px solid var(--border);
  background: rgba(0,0,0,.03);
  border-radius: 14px;
  padding: 8px 10px;
  display:grid;
  gap:6px;
}
.booking__legalLinks{
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:nowrap;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.legal-link{ font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.legal-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.2;
}
.legal-check input{ margin-top: 3px; }

.btn--sm { padding: 8px 10px; border-radius: 999px; font-size: .9rem; }

/* ===== Booking choices (cards) ===== */
.choicegrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.choice{
  position: relative;
  /* light UI: make unselected cards clearly visible */
  border:1px solid var(--border);
  background: var(--surface);
  color: inherit;
  padding:12px 12px;
  border-radius:14px;
  text-align:center;
  font-weight:700;
  cursor:pointer;
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
}
@media (max-width: 520px){
  .choice{ padding:10px 10px; border-radius: 12px; }
  .choicegrid{ gap:8px; }
  .booking{ gap: 14px; }
  .booking__slots{ padding: 10px; }
  .booking__form{ padding: 10px; }
}

@media (max-width: 380px){
  /* keep both service cards on one line on very small phones */
  .choice__label{ font-size: .95rem; }
  .choice{ padding-right: 42px; }
  .choice__tick{ width:26px; height:26px; top:7px; right:7px; }
}

.choice:hover{ transform: translateY(-1px); }
.choice[aria-pressed="true"]{
  background: rgba(52, 211, 153, .18);
  border-color: rgba(52, 211, 153, .65);
  box-shadow: 0 0 0 2px rgba(52, 211, 153, .22), 0 8px 18px rgba(0,0,0,.18);
  transform: translateY(-1px);
}
.choice.is-disabled{ opacity:.45; cursor:not-allowed; }
.booking__row--choices{ grid-template-columns: 1fr; }
@media (min-width: 820px){
  .booking__row--choices{ grid-template-columns: 1fr 1fr; }
}

/* ===== Phone input with country code ===== */
.phone{ display:flex; gap:10px; align-items:stretch; }
.phone__code{
  width: 120px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: inherit;
  padding: 10px 10px;
}
.phone__input{ flex:1; }

.checkline{ display:flex; gap:10px; align-items:center; padding: 6px 0; }

.checkline{
  display:flex;
  align-items:center;
  gap:10px;
}
.checkline label{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display:block;
}



/* booking submit loading */
#bk-submit.is-loading{ opacity:.9; }


/* ===== Selection cards tick (make the check really visible) ===== */

.choice{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding-right: 44px; /* room for check badge */
}
.choice__label{ flex:1; text-align:left; min-width:0; }
.choice__tick{
  position:absolute;
  top:8px;
  right:8px;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:18px;
  font-weight:900;
  line-height: 1;
  padding-top: 1px; /* optically center the ✓ glyph */
  border:1px solid var(--border);
  background: var(--bg);
  color: rgba(0,0,0,.35);
  opacity: .35;
  transform: scale(.92);
}
.choice[aria-pressed="true"] .choice__tick{
  opacity: 1;
  transform: scale(1);
  background: rgba(52, 211, 153, .95);
  border-color: rgba(52, 211, 153, .95);
  color: rgba(0,0,0,.80);
  box-shadow: 0 8px 18px rgba(0,0,0,.20);
}

/* Domicile info popover */
.homeFee{ font-weight:800; }
.infoicon{
  width:24px; height:24px;
  border-radius:999px;
  border:1px solid var(--border);
  background: var(--surface);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
  color: var(--text);
}
.popover{
  margin-top:8px;
  border:1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  display:none;
}
.popover.is-open{ display:block; }
.popover__title{ font-weight:900; margin-bottom:6px; }
.popover__list{ padding-left: 18px; margin: 0 0 6px 0; }
.popover__list li{ margin: 4px 0; }
.popover__note{ font-size: .92rem; }
.durationtext{
  color: inherit;
  font-weight: 800;
  padding: 10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
}
.phone__code{
  width: 92px;
  padding: 8px 8px;
}

.booking__slotsControls{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.booking__slotsControls input[type="date"]{ flex:1 1 140px; min-width: 140px; }
.field__control--sm{
  padding:8px 10px;
  height:38px;
}
.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;
}


/* Admin test panel */
.booking__admin{ margin-top:14px; padding-top:10px; border-top:1px dashed rgba(255,255,255,.12); }
.adminrow{ display:flex; gap:10px; flex-wrap:wrap; }
.btn--danger{ background: rgba(239,68,68,.18); border:1px solid rgba(239,68,68,.35); color: inherit; }
.adminresults{ margin-top:10px; display:grid; gap:10px; }
.adminitem{ border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius:14px; padding:10px; }
.adminitem__top{ display:flex; justify-content:space-between; gap:10px; font-weight:800; }
.adminitem__meta{ margin-top:6px; font-size:14px; opacity:.85; }

.bookingList{ display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.bookingRow{ border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius:14px; padding:12px; cursor:pointer; }
.bookingRow:hover{ border-color: rgba(255,255,255,.22); }
.bookingRow__title{ font-weight:800; }
.bookingRow__sub{ opacity:.8; margin-top:2px; }

.modal.is-open{ display: grid; place-items: start center; }


.legal{
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}


.bookingRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.bookingRow__btn{
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(211,47,47,.10);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 12px;
  cursor:pointer;
}
.bookingRow__btn:active{ transform: translateY(1px); }
.bookingRow__btn[disabled]{ opacity:.45; cursor:not-allowed; }

.btn--xs{
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.apt__actions{
  margin-top: 10px;
  display:flex;
  justify-content:flex-end;
}

.status--confirmed{ background: rgba(46,125,50,.18); border-color: rgba(46,125,50,.35); color: rgba(255,255,255,.92); }
.status--pending{ background: rgba(255,111,0,.16); border-color: rgba(255,111,0,.35); color: rgba(255,255,255,.92); }
.status--cancelled{ background: rgba(211,47,47,.14); border-color: rgba(211,47,47,.35); color: rgba(255,255,255,.92); }


/* ====== MASSEUR UI ====== */
.formGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width:520px){
  .formGrid{ grid-template-columns:1fr; }
}
.field{ display:flex; flex-direction:column; gap:6px; }
.field__label{ font-size:12px; opacity:.85; }

.calendarHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.calendarHeader__title{
  font-weight:700;
}
.calendarGrid{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:6px;
}
.calCell{
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  padding:10px 8px;
  min-height:44px;
  background:rgba(255,255,255,.04);
  display:flex;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  user-select:none;
}
.calCell--muted{ opacity:.45; cursor:default; }
.calCell--active{ outline:2px solid rgba(255,255,255,.28); }
.calCell--closed{ background: rgba(255, 80, 80, .18); border-color: rgba(255,80,80,.45); }
.calCell--custom{ background: rgba(255, 200, 80, .14); border-color: rgba(255,200,80,.45); }
.calCell__top{
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; opacity:.9;
}
.dotRow{ display:flex; gap:4px; flex-wrap:wrap; }
.dot{ width:6px; height:6px; border-radius:99px; background:rgba(255,255,255,.6); }
.dot--danger{ background: rgba(255,80,80,.85); }
.dot--warn{ background: rgba(255,200,80,.85); }

.calCell__badge{ font-size:12px; opacity:.85; }

.chips{ display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.chip{ border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.18); border-radius:999px; padding:4px 8px; font-size:12px; opacity:.92; }

.helpNote{ font-size:13px; opacity:.85; margin-top:10px; }
.nextAppt{
  display:flex; flex-direction:column; gap:6px;
}
.nextAppt__box{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  border-radius:14px;
  padding:12px;
  cursor:pointer;
}
.nextAppt__title{ font-weight:700; }
.nextAppt__meta{ font-size:13px; opacity:.85; }

.itemRow{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  padding:12px;
  margin-top:10px;
}
.itemRow__main{ display:flex; flex-direction:column; gap:4px; }
.itemRow__title{ font-weight:700; }
.itemRow__meta{ font-size:13px; opacity:.85; }
.itemRow__actions{ display:flex; gap:8px; flex-wrap:wrap; }
.divider{ height:1px; background:rgba(255,255,255,.08); margin:12px 0; }



/* --- Segmented control (tabs) --- */
.segmented{
  display:flex;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:14px;
  padding:4px;
}
.segmented__btn{
  flex:1;
  border:0;
  background:transparent;
  color:inherit;
  padding:10px 12px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
}
.segmented__btn.is-active{
  background:rgba(255,255,255,0.14);
  box-shadow:0 6px 18px rgba(0,0,0,0.18);
}

/* --- Stats grid --- */
.statsGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
@media (min-width: 820px){
  .statsGrid{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}
.statCard{
  border:1px solid rgba(255,255,255,0.10);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,0.04);
}
.statCard__label{ font-size:12px; opacity:.8; }
.statCard__value{ font-size:20px; font-weight:800; margin-top:4px; }
.statCard__meta{ font-size:12px; opacity:.75; margin-top:6px; }


/* ===== Availability SaaS UI ===== */
.rulesTable{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
}
.ruleRow{
  display:grid;
  grid-template-columns: 72px 1fr;
  gap:6px;
  align-items:center;
  padding:8px 10px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:16px;
  background:#fff;
}
.ruleRow__day{ font-weight:800; }
.ruleRow__main{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.ruleRow__times{ display:flex; gap:6px; align-items:center; flex-wrap:nowrap; }
.ruleRow__closed{
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  user-select:none;
}
.ruleRow__closed input{ width:16px; height:16px; }
.inputTime{ width:100%; min-width:0; }
.checkboxPill{
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  user-select:none;
}
.checkboxPill input{ width:16px; height:16px; }

.quickChips{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  border:1px solid rgba(0,0,0,0.12);
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-weight:600;
  cursor:pointer;
}
.chip:active{ transform: translateY(1px); }
.chip[disabled]{ opacity:0.5; cursor:not-allowed; }

.weekGrid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:8px;
  margin-top:10px;
}
.weekDay{
  border:1px solid rgba(0,0,0,0.08);
  border-radius:16px;
  padding:10px;
  background:#fff;
  min-height:86px;
  cursor:pointer;
}
.weekDay__top{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.weekDay__num{ font-weight:800; font-size:16px; }
.badge{
  font-size:11px;
  font-weight:700;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.10);
  background:#fff;
  white-space:nowrap;
}
.badge--ok{ }
.badge--warn{ }
.badge--off{ }
.weekDay__meta{ margin-top:6px; font-size:12px; color: rgba(0,0,0,0.65); }

.calendarGrid .calDay{
  position:relative;
}
.calBadge{
  position:absolute;
  right:6px;
  top:6px;
  font-size:10px;
  font-weight:800;
  padding:2px 6px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.10);
  background:#fff;
}
.hidden{ display:none !important; }

.segmented{
  display:flex;
  background: rgba(0,0,0,0.04);
  border:1px solid rgba(0,0,0,0.08);
  border-radius:999px;
  padding:4px;
  gap:4px;
}
.segmented__btn{
  flex:1;
  border:0;
  background:transparent;
  border-radius:999px;
  padding:10px 12px;
  font-weight:800;
  cursor:pointer;
}
.segmented__btn--active{
  background:#fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.rowBetween{ display:flex; justify-content:space-between; align-items:center; }

/* Saved profiles quick switch (login) */
.auth{ position: relative; }
.auth__cornerBtn{
  position:absolute;
  top:14px; right:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
.auth__cornerBtn:active{ transform: translateY(1px); }

.profiles{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:16px;
  margin-top: 12px;
}
@media (max-width: 720px){
  .profiles{ grid-template-columns: 1fr; }
}

.profiles__items{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}
.profileItem{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: var(--card);
}
.profileItem__top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.profileItem__name{ font-weight: 900; }
.profileItem__email{ color: var(--muted); font-size: 13px; margin-top: 2px; }
.profileItem__actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top: 10px; }
.btn--sm{ padding: 8px 12px; font-size: 13px; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }


/* ---- Profiles quick switch ---- */
.profilesBlocks{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}
.profileBlock{
  width:100%;
  text-align:left;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  padding:12px 12px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.profileBlock:active{ transform:scale(.99); }
.profileBlock__meta{ display:flex; flex-direction:column; gap:2px; }
.profileBlock__title{ font-weight:700; }
.profileBlock__sub{ font-size:12px; opacity:.75; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:240px; }


/* ---- Availability rules simplified ---- */
.ruleRow{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px;
  align-items:center;
}
.ruleRow__day{ font-weight:600; }
.ruleRow__main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.ruleRow__times{
  display:flex;
  align-items:center;
  gap:8px;
}
.ruleRow__closed{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  background:rgba(0,0,0,.02);
  white-space:nowrap;
}


/* Profile quick switch button */
.profile{ position: relative; }
.profile__switch{
  position:absolute;
  top:12px;
  right:12px;
  background:#fff;
  color:#000;
  border:0;
  border-radius:999px;
  padding:8px 10px;
  font-weight:800;
  cursor:pointer;
  box-shadow: var(--shadow);
}
.profile__switch:active{ transform: translateY(1px); }

/* Modal (panel layout used across admin/stock/availability) */
.modal__backdrop{ position:absolute; inset:0;  background: rgba(0,0,0,0.35); }
.modal__panel{
  width: min(720px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: calc(10px + var(--safe-top));
  box-shadow: var(--shadow);
  position: relative;
}
.modal__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-bottom:1px solid rgba(0,0,0,0.08);
}
.modal__footer{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:14px 18px;
  border-top:1px solid rgba(0,0,0,0.08);
}
.checkRow{ display:flex; gap:10px; align-items:center; }


/* --- Profile quick switch button (compact) --- */
.profile{ position: relative; }
.profile__switch{
  position:absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  color: #000;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* --- Availability calendar header actions --- */
.calendarHeader{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.calendarHeader__title{
  flex: 1 1 auto;
  text-align:center;
}
.calendarHeader__actions{
  display:flex;
  align-items:center;
  gap: 8px;
}

/* Selected days (bulk edit) */
.calDay.is-selected{
  background: rgba(25,118,210,0.22);
  border-color: rgba(25,118,210,0.55);
  outline: 2px solid rgba(25,118,210,0.35);
  transform: translateY(-1px);
}
.calDay.is-selected .calBadge{ background: rgba(25,118,210,0.25); border-color: rgba(25,118,210,0.45); }
.calDay.is-selected .calBadge{
  opacity: 1;
}

/* Ensure modal overlay is never transparent */
.modal__backdrop{
  background: rgba(0,0,0,.55);
 background: rgba(0,0,0,0.35); }
.modal__panel{
  background: #fff;
}


/* Stock header + list */
.stockHeader{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin: 6px 2px 14px; }
.stockHeader__title{ font-size:18px; font-weight:900; margin:0; }
.stockHeader__actions{ display:flex; gap:10px; align-items:center; }
.stockList{ display:flex; flex-direction:column; gap:10px; }
.stockRow{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:12px 12px; border:1px solid rgba(0,0,0,0.08); border-radius:18px; background:#fff; box-shadow: 0 8px 18px rgba(0,0,0,0.06); }
.stockRow__left{ min-width:0; flex:1 1 auto; }
.stockRow__name{ font-weight:900; }
.stockRow__meta{ font-size:12px; opacity:.72; margin-top:2px; }
.stockRow__badges{ display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.badge{ display:inline-flex; align-items:center; gap:6px; border:1px solid rgba(0,0,0,0.10); background:rgba(0,0,0,0.04); padding:4px 8px; border-radius:999px; font-size:12px; font-weight:800; }
.badge--k{ background: rgba(52, 152, 219, 0.14); border-color: rgba(52, 152, 219, 0.35); }
.badge--m{ background: rgba(155, 89, 182, 0.14); border-color: rgba(155, 89, 182, 0.35); }
.stockRow__right{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }


/* --- Actus: badges/CTA plus visibles --- */
.news__action{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.82);
}

.news__action--boutique{
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
}
.news__action--offres{
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.45);
}
.news__action--quiz{
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
}
.news__metaRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.badge{
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.14);
}
.news__cta{
  display:flex;
  justify-content:flex-end; /* bouton réserver à droite dans les actus CTA */
  gap:10px;
}

/* Badges actus : couleurs distinctes (évite l'effet "gris" via overrides génériques) */
.badge--Boutique{ background: var(--badge-boutique) !important; color:#fff !important; border:0 !important; }
.badge--Massages{ background: var(--badge-massages) !important; color:#fff !important; border:0 !important; }
.badge--Offres{ background: var(--badge-evenement) !important; color:#fff !important; border:0 !important; }
.badge--Santé{ background: var(--badge-sante) !important; color:#fff !important; border:0 !important; }
.badge--Evenement{ background: var(--badge-evenement) !important; color:#fff !important; border:0 !important; }

/* CTA "Réserver" sur les actus : toujours vert */
.news__cta .btn--primary{ background: var(--primary) !important; color:#fff !important; border-color: var(--primary) !important; }

/* --- Accordéon liste de prix --- */
.price-accordion{
  margin: 14px 0 6px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.65);
}
.price-accordion__summary{
  list-style:none;
  cursor:pointer;
  padding: 12px 14px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.price-accordion__summary::-webkit-details-marker{ display:none; }
.price-accordion[open] .price-accordion__summary{
  border-bottom: 1px solid rgba(0,0,0,.10);
}
.price-accordion__body{ padding: 10px 10px 12px; }
.price-accordion__img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}

/* --- Booking: placer "Réserver" à droite sur la barre (si jamais l'ordre change) --- */
.appbar__right{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

/* =========================
   Masseurs page (masseurs.html)
========================= */
.toc{
  margin-top:14px;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.08);
}
.toc__title{
  font-weight:900;
  margin-bottom:8px;
}
.toc__links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.toc__link{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.75);
  text-decoration:none;
  color: inherit;
  font-weight:800;
  font-size: 13px;
}
.toc__link.is-active{
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}
.toc--inner{ background: rgba(0,0,0,.03); }

.profileHeader{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.profileAvatar{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  background: rgba(0,0,0,.05);
  border:1px solid rgba(0,0,0,.08);
}
.profileHeadMeta{ flex: 1 1 320px; min-width: 240px; }
.profileBadges{ display:flex; flex-wrap:wrap; gap:8px; }
.profileHeadActions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.profileSection{ margin-top: 14px; }
.profileH3{ margin: 0 0 8px; font-size: 16px; font-weight: 950; }
.list{ margin: 8px 0 0; padding-left: 18px; }
.list li{ margin: 6px 0; }

.profileFooterActions{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.tableWrap{
  width:100%;
  overflow:auto;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.75);
}
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 780px;
}
.table th, .table td{
  text-align:left;
  padding: 10px 12px;
  border-bottom:1px solid rgba(0,0,0,.08);
  vertical-align: top;
}
.table th{ font-weight: 950; }
