/* ==========================================================================
   BOB MULET — Salon de coiffure de prestige
   Vitrine dorée à la feuille · Enseigne de barbier · Miroir de loge · Damier
   ========================================================================== */

:root {
  --bg: #0f0c0a;
  --bg-2: #16120e;
  --bg-3: #1e1813;
  --surface: rgba(255, 244, 220, 0.035);
  --surface-2: rgba(255, 244, 220, 0.065);
  --line: rgba(240, 225, 195, 0.11);
  --line-2: rgba(240, 225, 195, 0.22);
  --ink: #f4ead8;
  --ink-2: #d6cab4;
  --muted: #968b79;
  --gold: #c9a15a;
  --gold-hi: #f2d99c;
  --gold-lo: #7d5f2a;
  --gold-grad: linear-gradient(115deg, #7d5f2a 0%, #c9a15a 28%, #f6e2a8 48%, #c9a15a 66%, #7d5f2a 100%);
  --red: #c42b3c;
  --blue: #2c4f9f;
  --cream: #efe3cc;
  --neon: #ff4f8b;
  --ok: #4cc38e;
  --warn: #e8b04a;
  --bad: #e5484d;
  --info: #7fa6ff;
  --stripe: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--cream) 10px 20px, var(--blue) 20px 30px, var(--cream) 30px 40px);

  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 78px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
body::after { /* grain argentique */
  content: ""; position: fixed; inset: -50%; z-index: 9990; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  opacity: 0.045; animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #140f08; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- Typographie ---------- */
.serif, em.serif { font-family: var(--f-display); font-style: italic; font-weight: 500; }
/* padding-right : laisse la place au dépassement des lettres italiques (sinon la fin du mot est rognée) */
em.gold-text, .gold-text em { padding-right: .08em; }
.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.leaf { filter: drop-shadow(0.035em 0.04em 0 #2a1709); }
.eyebrow {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px; font-weight: 700;
}
.eyebrow::before { content: ""; width: 34px; height: 6px; border-radius: 3px; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 2.4s linear infinite; }
@keyframes stripes { to { background-position: 56.57px 0; } }
.muted { color: var(--muted); }

/* ---------- Bande de barbier ---------- */
.stripe-bar { height: 6px; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 2.4s linear infinite; }

/* ---------- Préchargement ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-items: center; padding: var(--gutter); }
.preloader__inner { width: min(520px, 100%); }
.preloader__brand { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 11vw, 80px); letter-spacing: -0.02em; line-height: .95; overflow: hidden; padding: .12em .2em .08em 0; }
.preloader__brand .gold-text em { padding-right: .12em; }
.preloader__brand span { display: inline-block; }
.preloader__brand em { font-style: italic; }
.preloader__meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.preloader__bar { height: 8px; border-radius: 4px; background: var(--line); margin-top: 18px; position: relative; overflow: hidden; }
.preloader__bar i { position: absolute; inset: 0; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 1s linear infinite; transform-origin: left; transform: scaleX(0); }
.preloader__count { font-variant-numeric: tabular-nums; color: var(--gold); }
.no-js .preloader { display: none; }

/* ---------- Rideau de transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 9995; pointer-events: none; display: flex; }
.curtain i { flex: 1; background: var(--bg-3); transform: scaleY(0); transform-origin: bottom; position: relative; }
.curtain i:nth-child(2) { background: #1a140f; }
.curtain i:nth-child(3) { background: #221a13; }
.curtain i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--stripe); background-size: 56.57px 56.57px; }
.curtain__logo { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 44px; }

/* ---------- Curseur ---------- */
/* Curseur ciseaux (ordinateur uniquement) — la pointe des lames est le point de clic */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input:not([type="checkbox"]):not([type="radio"]), html.has-cursor textarea, html.has-cursor select { cursor: text !important; }
html.has-cursor select { cursor: pointer !important; }
/* Le dessin est vertical puis tourné de -45° : la pointe des lames (le point de clic) est en haut à gauche */
.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; width: 36px; height: 36px; margin: -6px 0 0 -6px; transform-origin: 6px 6px; transition: opacity .25s; }
.cursor-dot { display: none; }
.cursor svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-45deg); transform-origin: 50% 50%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.75)); transition: transform .35s var(--ease), filter .35s; }
.cursor__blade { transform-box: view-box; transform-origin: 20px 20px; animation: snipIdle 2.6s ease-in-out infinite; }
.cursor__blade--a { --open: 13deg; }
.cursor__blade--b { --open: -13deg; }
@keyframes snipIdle { 0%, 62%, 100% { transform: rotate(var(--open)); } 70% { transform: rotate(0deg); } 78% { transform: rotate(var(--open)); } 86% { transform: rotate(0deg); } }
@keyframes snipFast { 0%, 100% { transform: rotate(var(--open)); } 50% { transform: rotate(0deg); } }
/* Survol d'un bouton : léger zoom doré + petits coups de ciseaux */
.cursor.is-hover svg { transform: rotate(-45deg) scale(1.15); filter: drop-shadow(0 0 6px rgba(242,217,156,.55)) drop-shadow(0 2px 3px rgba(0,0,0,.7)); }
.cursor.is-hover .cursor__blade { animation: snipFast .5s ease-in-out infinite; }
.cursor.is-click .cursor__blade { animation: none; transform: rotate(0deg); }
.cursor.is-text, .cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } html.has-cursor, html.has-cursor * { cursor: auto !important; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(15,12,10,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand em { font-style: italic; color: var(--gold); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.nav__links { display: flex; gap: 32px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--stripe); background-size: 56.57px 56.57px; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------- Bouton du header quand on est connecté ---------- */
.nav-me { padding-left: 5px; gap: 10px; }
.nav-me__face { width: 30px; height: 30px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--gold-grad); background-size: 220% 100%; color: #140f08; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 12px; letter-spacing: 0; box-shadow: 0 0 0 1.5px rgba(201,161,90,.6); }
.nav-me__face img { width: 100%; height: 100%; object-fit: cover; }
.nav-me--work { border-color: var(--gold); color: var(--gold-hi); }
.nav-me__short { display: none; }
@media (max-width: 520px) { .nav-me__long { display: none; } .nav-me__short { display: inline; } }

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--ink); background: transparent;
  transition: color .45s var(--ease), border-color .45s var(--ease), opacity .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); background-size: 220% 100%; transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); animation: shimmer 3s linear infinite; }
.btn:hover, .btn:focus-visible { color: #140f08; border-color: var(--gold); }
.btn--gold { color: #140f08; border-color: var(--gold); background: var(--gold-grad); background-size: 220% 100%; animation: shimmer 7s linear infinite; }
.btn--gold::before { background: var(--cream); }
.btn--gold:hover { color: #140f08; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 11px; letter-spacing: .14em; }
.btn--xs { --h: 32px; padding: 0 14px; font-size: 10px; letter-spacing: .12em; }
.btn--ghost { border-color: transparent; }
.btn--danger:hover { color: #fff; border-color: var(--bad); }
.btn--danger::before { background: var(--bad); }
.btn--ok:hover { color: #08130d; border-color: var(--ok); }
.btn--ok::before { background: var(--ok); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn__arrow { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn--gold.is-loading::after { border-color: #140f08; border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.magnetic { will-change: transform; }

/* ---------- Canvas 3D ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.gl-vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 42%, rgba(15,12,10,.78) 100%); }
main, .footer { position: relative; z-index: 2; }
main { overflow-x: clip; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--nav-h) + 20px) var(--gutter) 28px; }
.hero__main { align-self: center; max-width: 100%; }
.hero__kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(10px, 2vh, 22px); font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(76px, 16.5vw, 300px); line-height: .84; letter-spacing: -0.035em; display: flex; flex-direction: column; pointer-events: none; }
.hero__title .line { display: block; overflow: hidden; padding: .1em .2em .14em 0; margin-top: -.1em; white-space: nowrap; }
.hero__title .line--2 { font-style: italic; margin-left: .55em; margin-top: -.2em; }
.hero__title .char { display: inline-block; will-change: transform; }
/* Lettres italiques dorées : on agrandit la zone peinte (padding) sans changer l'espacement (marges négatives),
   sinon le haut des « l » et la barre du « t » qui dépassent de la lettre sont coupés */
.hero__title .char.gold-text { padding: .14em .16em .12em .08em; margin: -.14em -.16em -.12em -.08em; }
.hero__sub { margin: clamp(14px, 3vh, 28px) 0 0 .2em; max-width: 380px; color: var(--ink); font-size: 17px; text-shadow: 0 1px 2px #000, 0 0 18px rgba(0,0,0,.95), 0 0 34px rgba(0,0,0,.8); }
.hero__kicker { text-shadow: 0 0 14px rgba(0,0,0,.9); }
.hero__sub em { font-family: var(--f-display); font-style: italic; color: var(--gold-hi); font-size: 1.12em; }
.hero__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.hero__foot p { margin: 0; max-width: 300px; line-height: 1.7; }
.hero__foot .right { justify-self: end; text-align: right; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--gold); }
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-hi); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Enseigne néon "Ouvert" */
.neon-sign {
  display: inline-block; margin-left: 6px;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: 0; text-transform: none;
  padding: 7px 14px 9px; border: 2px solid currentColor; border-radius: 12px; color: var(--neon);
  text-shadow: 0 0 6px var(--neon), 0 0 18px var(--neon), 0 0 42px rgba(255,79,139,.6);
  box-shadow: 0 0 12px rgba(255,79,139,.6), inset 0 0 12px rgba(255,79,139,.45);
  animation: flicker 6s infinite; transform: rotate(-4deg);
}
.neon-sign small { display: block; font-family: var(--f-body); font-style: normal; font-size: 8px; letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; text-align: center; text-shadow: 0 0 6px var(--neon); }
.neon-sign.is-closed { color: #6e5a63; text-shadow: none; box-shadow: none; animation: none; }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .35; }
}
.neon-sign.is-loading { opacity: 0; }

/* ---------- Widget « salon en direct » ---------- */
.salon-live {
  position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(340px, calc(100vw - 24px));
  border-radius: 20px; border: 1px solid var(--line-2); background: rgba(18,15,12,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px -18px rgba(0,0,0,.85);
  transition: opacity .5s, transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.salon-live.is-loading { opacity: 0; transform: translateY(20px); pointer-events: none; }
.salon-live.is-open { border-color: rgba(255,79,139,.45); box-shadow: 0 24px 60px -18px rgba(0,0,0,.85), 0 0 34px -6px rgba(255,79,139,.35); }
.salon-live { width: min(462px, calc(100vw - 24px)); }
.salon-live__head b { white-space: nowrap; font-size: 17px; }
.salon-live__row { display: flex; align-items: center; gap: 8px; padding-right: 12px; }
.salon-live__toggle { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; padding: 12px 4px 12px 12px; text-align: left; }
/* Bouton « Prendre RDV » toujours visible, même salon fermé */
.salon-live__go {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px;
  background: var(--gold-grad); background-size: 220% 100%; animation: shimmer 7s linear infinite; color: #140f08;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(201,161,90,.8); transition: box-shadow .3s, filter .3s;
}
.salon-live__go:hover { filter: brightness(1.08); box-shadow: 0 12px 30px -8px rgba(201,161,90,.95); }
.salon-live__go svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.salon-live__go:hover svg { transform: translateX(3px); }
.salon-live__head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) {
  .salon-live__go { padding: 0 12px; height: 38px; font-size: 10px; letter-spacing: .1em; }
  .salon-live__go svg { display: none; }
  .salon-live__toggle { gap: 10px; }
  .salon-live__head b { font-size: 14px; }
}
.salon-live__sign { flex: none; padding: 6px; border-radius: 12px; background: #0b0908; border: 1px solid rgba(255,255,255,.06); box-shadow: inset 0 0 12px rgba(0,0,0,.8); }
.salon-live__neon {
  display: block; min-width: 86px; padding: 6px 12px 8px; border-radius: 9px; text-align: center;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1;
  color: #5e4f55; border: 2px solid #3c3236; transition: all .6s;
}
.salon-live.is-open .salon-live__neon {
  color: var(--neon); border-color: var(--neon);
  text-shadow: 0 0 6px var(--neon), 0 0 16px var(--neon), 0 0 34px rgba(255,79,139,.6);
  box-shadow: 0 0 12px rgba(255,79,139,.6), inset 0 0 12px rgba(255,79,139,.4);
  animation: flicker 7s infinite;
}
.salon-live__head { display: grid; gap: 2px; min-width: 0; }
.salon-live__head b { font-family: var(--f-display); font-size: 18px; line-height: 1.15; }
.salon-live__head span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.salon-live__head span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.salon-live.is-open .salon-live__head span { color: var(--ok); }
.salon-live.is-open .salon-live__head span::before { background: var(--ok); box-shadow: 0 0 0 0 rgba(76,195,142,.6); animation: pulse 2s infinite; }
/* Partie dépliable : au survol (ordinateur) ou d'un tap (téléphone) */
.salon-live__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.salon-live:hover .salon-live__more, .salon-live:focus-within .salon-live__more, .salon-live.is-expanded .salon-live__more { grid-template-rows: 1fr; }
.salon-live__inner { min-height: 0; overflow: hidden; display: grid; gap: 12px; padding: 0 16px; }
.salon-live__sub { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.salon-live__sub b { color: var(--ink); }
.salon-live__staff { display: flex; flex-wrap: wrap; gap: 8px; }
.salon-live__staff:empty { display: none; }
.salon-live__person { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; }
.salon-live__person small { display: block; font-size: 10px; color: var(--muted); }
.salon-live__avatar { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--gold-grad); color: #140f08; font-family: var(--f-display); font-style: italic; font-weight: 900; }
.salon-live__avatar img { width: 100%; height: 100%; object-fit: cover; }
.salon-live__inner > :last-child { margin-bottom: 14px; }
@media (max-width: 720px) {
  .salon-live { left: 12px; bottom: 12px; }
  .salon-live__neon { min-width: 70px; font-size: 18px; }
  .salon-live__head b { font-size: 15px; }
}

@media (max-width: 720px) {
  .hero__title { font-size: 24vw; }
  .hero__title .line--2 { margin-left: .22em; }
  .hero__main { align-self: end; margin-bottom: 4svh; }
  .hero__sub { font-size: 15px; }
  .hero__foot { grid-template-columns: 1fr; justify-items: center; }
  .hero__foot .left, .hero__foot .right { display: none; }
  .neon-sign { font-size: 18px; padding: 6px 12px 8px; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 16vh, 180px) var(--gutter); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 6vh, 72px); }
.h2 { margin: 18px 0 0; font-family: var(--f-display); font-weight: 900; letter-spacing: -0.025em; font-size: clamp(44px, 7.4vw, 116px); line-height: .92; }
.h2 em { font-style: italic; font-weight: 500; }
.lead { max-width: 440px; color: var(--ink-2); font-size: 17px; margin: 0; }

/* Manifeste */
.manifesto { min-height: 100svh; display: grid; align-items: center; }
.manifesto__text { margin: 22px 0 0; max-width: 1100px; font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 5.2vw, 78px); line-height: 1.06; letter-spacing: -0.02em; }
.manifesto__text .w { display: inline-block; opacity: .12; }
.manifesto__text em { font-style: italic; }
.manifesto__sign { margin-top: 48px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.manifesto__sign b { color: var(--gold); font-weight: 700; }

/* Le geste (ciseaux) */
.geste { min-height: 130svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.geste__content { grid-column: 2; max-width: 540px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stat { background: var(--bg); padding: 22px 18px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .geste { grid-template-columns: 1fr; min-height: auto; padding-top: 62svh; }
  .geste__content { grid-column: 1; background: linear-gradient(180deg, transparent, rgba(15,12,10,.88) 16%); padding-top: 40px; }
}

/* ---------- La carte (tableau à lettres) ---------- */
.carte__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .carte__wrap { grid-template-columns: 1fr; } }
.board { position: relative; padding: 16px; border-radius: 20px; background: linear-gradient(145deg, #3a2a1a, #1d140c 40%, #3b2a19 70%, #18110a); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,220,160,.15), inset 0 -1px 0 rgba(0,0,0,.6); transform: rotate(-.6deg); }
.board::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 34px; background: linear-gradient(var(--gold-lo), var(--gold)); transform: translateX(-50%); }
.board::after { content: ""; position: absolute; left: 50%; top: -40px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); box-shadow: 0 0 10px rgba(201,161,90,.6); }
.board__felt {
  position: relative; border-radius: 10px; padding: clamp(22px, 4vw, 44px) clamp(18px, 3.4vw, 40px);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px), radial-gradient(120% 100% at 50% 0%, #1d1a18, #0d0c0b);
  box-shadow: inset 0 0 40px rgba(0,0,0,.8);
}
.board__title { text-align: center; font-weight: 800; letter-spacing: .5em; font-size: 13px; color: var(--cream); margin: 0 0 6px; }
.board__script { text-align: center; font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 4vw, 44px); line-height: 1; margin: 0 0 26px; }
.board__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.board__row { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 14px 10px; border-radius: 8px; cursor: pointer; transition: background .35s var(--ease); }
.board__row:hover, .board__row:focus-visible { background: rgba(255,244,220,.05); }
.board__name { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(15px, 1.7vw, 20px); color: var(--cream); }
.board__name .l { display: inline-block; }
.board__dots { border-bottom: 2px dotted rgba(239,227,204,.3); transform: translateY(-5px); }
.board__price { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.board__price small { font-size: .55em; margin-left: 2px; color: var(--gold); }
.board__desc { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.board__desc b { font-weight: 700; color: var(--gold); white-space: nowrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateX(-8px); transition: all .35s var(--ease); }
.board__row:hover .board__desc b { opacity: 1; transform: none; }
.board__cut { position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); pointer-events: none; opacity: .5; }
.board__row:hover .board__cut { transform: scaleX(1); }
.board__foot { margin-top: 22px; text-align: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---------- Le Book (galerie en miroirs) ---------- */
.book__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.book__filters button { height: 38px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); transition: all .3s var(--ease); }
.book__filters button[aria-pressed="true"] { background: var(--cream); color: #140f08; border-color: var(--cream); }
.book__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 1000px) { .book__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .book__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.arch { position: relative; margin: 0; cursor: pointer; }
.arch:nth-child(4n+2) { margin-top: clamp(0px, 5vw, 70px); }
.arch:nth-child(4n+4) { margin-top: clamp(0px, 3vw, 40px); }
@media (max-width: 640px) { .arch:nth-child(n) { margin-top: 0; } .arch:nth-child(2n) { margin-top: 28px; } }
.arch__frame {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: 50% 50% 14px 14px / 32% 32% 14px 14px; padding: 6px;
  background: linear-gradient(160deg, #f2d99c, #8f6c2f 35%, #e8c987 60%, #6c5022);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.9);
}
.arch__glass { position: relative; width: 100%; height: 100%; border-radius: 50% 50% 10px 10px / 32% 32% 10px 10px; overflow: hidden; background: radial-gradient(120% 80% at 30% 10%, #2b241d, #0e0b09); }
.book__filters sup { font-size: 9px; opacity: .6; margin-left: 2px; }
.arch__glass img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.95); }
.arch:hover .arch__glass img { transform: scale(1.07); filter: saturate(1.1); }
.arch__glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.16) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.06)); pointer-events: none; }
.arch figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.arch figcaption b { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 18px; line-height: 1.2; }
.arch figcaption span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.arch--empty { cursor: default; }
.arch--empty .arch__glass { display: grid; place-items: center; text-align: center; }
.arch--empty .arch__glass div { color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: grid; justify-items: center; gap: 12px; }
.arch--empty svg { width: 34px; height: 34px; color: var(--gold); opacity: .6; transform: rotate(-45deg); }

/* Carrousel du Book (défilement automatique) */
.carousel { position: relative; overflow: hidden; margin: 0 calc(var(--gutter) * -1); padding: 18px 0 30px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.carousel.is-dragging { cursor: grabbing; }
.carousel__track { display: flex; gap: clamp(14px, 1.8vw, 26px); width: max-content; will-change: transform; padding: 0 var(--gutter); }
.carousel .arch { flex: none; width: clamp(190px, 21vw, 290px); margin-top: 0 !important; transition: transform .6s var(--ease); }
.carousel .arch:nth-child(even) { transform: translateY(26px); }
.carousel .arch:hover { transform: translateY(-8px); }
.carousel .arch:nth-child(even):hover { transform: translateY(18px); }
.carousel .arch img { pointer-events: none; -webkit-user-drag: none; }
.carousel--static .carousel__track { width: auto; justify-content: center; flex-wrap: wrap; }
.carousel__hint { margin: 6px 0 0; text-align: center; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* Nouveau : carte fidélité */
.badge-new { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--neon); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 0 22px rgba(255,79,139,.6); animation: newPulse 2s ease-in-out infinite; vertical-align: middle; }
@keyframes newPulse { 50% { box-shadow: 0 0 34px rgba(255,79,139,.9); transform: scale(1.04); } }
.fid__wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 960px) { .fid__wrap { grid-template-columns: 1fr; } }
.fid__steps { list-style: none; margin: 34px 0 34px; padding: 0; display: grid; gap: 18px; }
.fid__steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; color: var(--ink-2); font-size: 15px; }
.fid__steps li b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-hi); font-family: var(--f-display); font-style: italic; font-size: 18px; }
.fid__steps strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.fid__visual { display: grid; place-items: center; }
.fid__visual .loyalty__card { width: min(460px, 100%); }
.fid__offer { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(-14deg) scale(0); padding: 8px 18px; border: 3px solid var(--neon); border-radius: 10px; color: var(--neon); font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; text-shadow: 0 0 12px rgba(255,79,139,.6); box-shadow: 0 0 18px rgba(255,79,139,.4), inset 0 0 12px rgba(255,79,139,.3); background: rgba(15,12,10,.6); pointer-events: none; }

/* Hero : boutons + encart domicile */
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0 .2em; }
.home-badge__line { display: block; }
@media (min-width: 560px) { .home-badge__line { white-space: nowrap; } }
.home-badge { display: inline-flex; gap: 14px; align-items: center; margin-top: 28px; padding: 16px 20px; max-width: 100%; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(22,18,14,.7); font-size: 14px; color: var(--ink-2); }
.home-badge > span { font-size: 26px; }
.home-badge b { color: var(--ink); }
.home-badge div > b:first-child { display: block; font-size: 15px; }

.lightbox { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: 70px 16px 40px; background: rgba(8,6,5,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 78svh; border-radius: 14px; box-shadow: 0 40px 90px rgba(0,0,0,.8); }
.lightbox__cap { margin-top: 14px; text-align: center; font-family: var(--f-display); font-style: italic; font-size: 20px; }
.lightbox__btn { position: fixed; top: 50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transform: translateY(-50%); background: rgba(15,12,10,.6); }
.lightbox__btn:hover { border-color: var(--gold); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; }

/* ---------- Bandeau défilant (damier) ---------- */
.marquee { position: relative; z-index: 2; padding: 22px 0; overflow: hidden; background: rgba(15,12,10,.7); }
.marquee::before, .marquee::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: conic-gradient(var(--cream) 25%, #111 0 50%, var(--cream) 0 75%, #111 0) 0 0 / 24px 24px; opacity: .85; }
.marquee::before { top: 0; } .marquee::after { bottom: 0; }
.marquee__row { display: flex; width: max-content; gap: 48px; padding: 14px 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 6.4vw, 92px); letter-spacing: -0.02em; white-space: nowrap; will-change: transform; }
.marquee__row span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__row em { font-style: italic; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.marquee__row svg { width: .55em; height: .55em; color: var(--gold); transform: rotate(-45deg); }

/* ---------- Équipe ---------- */
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.member { position: relative; border: 1px solid var(--line); border-radius: 22px; background: rgba(22,18,14,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 34px; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; transform-style: preserve-3d; }
.member::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 3s linear infinite; }
.member__mono { position: absolute; right: -6px; bottom: -50px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 250px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201,161,90,.22); pointer-events: none; }
.member__role { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.member__name { font-family: var(--f-display); font-weight: 900; font-size: clamp(42px, 4.4vw, 64px); line-height: .92; letter-spacing: -0.02em; margin: 14px 0 0; }
.member__name em { font-style: italic; font-weight: 500; }
.certified { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 16px 8px 8px; border-radius: 99px; border: 1px solid rgba(201,161,90,.45); background: linear-gradient(120deg, rgba(201,161,90,.16), rgba(201,161,90,.04)); box-shadow: 0 0 22px rgba(201,161,90,.15); }
.certified__seal { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 8px rgba(242,217,156,.45)); }
.certified__rosette { transform-box: view-box; transform-origin: 20px 20px; animation: sealSpin 14s linear infinite; }
.certified__seal svg { width: 100%; height: 100%; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.certified span:last-child { font-size: 12px; line-height: 1.25; color: var(--ink-2); }
.certified b { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-hi); }
.member__quote { font-family: var(--f-display); font-style: italic; font-size: 21px; color: var(--ink-2); max-width: 360px; margin: 40px 0 0; }

/* ---------- Appel à l'action ---------- */
.cta { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.cta__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(54px, 11vw, 190px); line-height: .86; letter-spacing: -0.03em; margin: 24px 0 48px; }
.cta__title em { display: block; font-style: italic; font-weight: 500; font-size: .62em; margin-bottom: .06em; }

/* ---------- Pied de page ---------- */
.footer { padding: 0 0 34px; background: var(--bg); }
.footer__check { height: 24px; background: conic-gradient(var(--cream) 25%, #111 0 50%, var(--cream) 0 75%, #111 0) 0 0 / 24px 24px; opacity: .9; }
.footer__inner { padding: 56px var(--gutter) 0; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; font-size: 14px; color: var(--ink-2); }
.footer h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.footer p { margin: 0 0 6px; }
.footer__big { font-family: var(--f-display); font-weight: 900; font-size: clamp(38px, 4.4vw, 58px); letter-spacing: -0.02em; line-height: .92; color: var(--ink); margin-bottom: 16px; }
.footer__big em { font-style: italic; }
.footer__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }
.credit b { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 1.15em; letter-spacing: .02em; padding-right: .1em; }
.page-credit { margin: 40px 0 0; text-align: center; font-size: 12px; line-height: 1.8; color: var(--muted); }
.page-credit .credit { white-space: nowrap; }

.reveal-up { opacity: 0; transform: translateY(40px); }
.no-js .reveal-up, .reduced .reveal-up { opacity: 1; transform: none; }

/* ==========================================================================
   Pages d'authentification
   ========================================================================== */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; position: relative; z-index: 2; }
.auth__visual { position: relative; padding: calc(var(--nav-h) + 40px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-right: 1px solid var(--line); }
.auth__visual::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 6px; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 2.4s linear infinite; opacity: .9; }
.auth__visual h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 7vw, 128px); letter-spacing: -0.03em; line-height: .88; margin: 22px 0 28px; }
.auth__visual h1 em { font-style: italic; font-weight: 500; }
.auth__visual p { max-width: 420px; color: var(--ink-2); margin: 0; }
.auth__panel { display: grid; place-items: center; padding: calc(var(--nav-h) + 24px) var(--gutter) 48px; }
.auth__card { width: min(440px, 100%); }
@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth__visual { min-height: 44svh; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth__visual::after { top: auto; left: 0; width: auto; height: 6px; }
  .auth__visual h1 { font-size: clamp(54px, 16vw, 110px); margin-bottom: 16px; }
}

.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 34px; }
.tabs button { position: relative; z-index: 1; height: 44px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--muted); transition: color .4s var(--ease); }
.tabs button[aria-selected="true"] { color: #140f08; }
.tabs__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--gold-grad); background-size: 220% 100%; animation: shimmer 7s linear infinite; transition: transform .55s var(--ease); }
.tabs[data-active="1"] .tabs__pill { transform: translateX(100%); }

.form { display: grid; gap: 16px; }
.form h2 { font-family: var(--f-display); font-weight: 900; font-size: 38px; letter-spacing: -0.02em; line-height: 1; margin: 0 0 6px; }
.form h2 em { font-style: italic; font-weight: 500; }
.form .sub { color: var(--muted); margin: 0 0 12px; font-size: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 420px) { .row-2 { grid-template-columns: 1fr; } }

.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; height: 58px; padding: 22px 16px 8px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); outline: none; font-size: 16px; transition: border-color .3s, background .3s; }
.field textarea { height: 110px; resize: vertical; padding-top: 26px; line-height: 1.45; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--bg-2); }
.field label { position: absolute; left: 16px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: var(--surface-2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.field__toggle { position: absolute; right: 8px; top: 9px; height: 40px; padding: 0 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field__toggle:hover { color: var(--gold); }

.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; user-select: none; font-size: 14px; color: var(--ink-2); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { position: relative; width: 46px; height: 26px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); transition: background .35s var(--ease), border-color .35s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .45s var(--ease), background .35s; }
.switch input:checked + .switch__track { background: rgba(201,161,90,.2); border-color: var(--gold); }
.switch input:checked + .switch__track::after { transform: translateX(20px); background: var(--gold-hi); box-shadow: 0 0 12px rgba(242,217,156,.6); }
.switch input:focus-visible + .switch__track { outline: 1px solid var(--gold); outline-offset: 3px; }
.switch small { display: block; color: var(--muted); font-size: 12px; }

.alert { padding: 12px 14px; border-radius: var(--radius); border: 1px solid rgba(229,72,77,.4); background: rgba(229,72,77,.08); color: #ffb3b5; font-size: 14px; }
.alert--ok { border-color: rgba(76,195,142,.4); background: rgba(76,195,142,.08); color: #a6ebc9; }

/* ==========================================================================
   Espace membre
   ========================================================================== */
.app { position: relative; z-index: 2; min-height: 100svh; display: grid; grid-template-columns: 264px 1fr; }
.side { position: sticky; top: 0; height: 100svh; border-right: 1px solid var(--line); padding: 26px 18px; display: flex; flex-direction: column; gap: 30px; background: rgba(15,12,10,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.side::after { content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 3px; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 3s linear infinite; opacity: .55; }
.side__nav { display: grid; gap: 4px; }
.side__link { position: relative; display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .3s, background .3s; text-align: left; width: 100%; }
.side__link svg { width: 19px; height: 19px; flex: none; }
.side__link:hover { color: var(--ink); background: var(--surface); }
.side__link[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.side__link[aria-current="page"]::before { content: ""; position: absolute; left: -18px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.side__badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 14px rgba(196,43,60,.6); }
.side__foot { margin-top: auto; display: grid; gap: 12px; }
.me { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 16px; color: #140f08; background: var(--gold-grad); background-size: 220% 100%; }
.me__name { font-weight: 800; font-size: 14px; line-height: 1.2; }
.role { display: inline-block; margin-top: 4px; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; padding: 3px 8px; border-radius: 99px; border: 1px solid currentColor; }
.role--client { color: var(--ink-2); }
.role--coiffeur { color: var(--info); }
.role--patron { color: var(--gold-hi); box-shadow: 0 0 12px rgba(242,217,156,.25); }

.main { padding: 34px clamp(16px, 3.4vw, 48px) 120px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.topbar h1 { font-family: var(--f-display); font-weight: 900; letter-spacing: -0.02em; font-size: clamp(38px, 5vw, 66px); line-height: .95; margin: 12px 0 0; }
.topbar h1 em, .topbar h1 .gold-text { font-style: italic; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(76,195,142,.6); animation: pulse 2s infinite; }
.live.is-off i { background: var(--muted); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(76,195,142,0); } 100% { box-shadow: 0 0 0 0 rgba(76,195,142,0); } }

.card { border: 1px solid var(--line); background: rgba(22,18,14,.76); border-radius: 18px; padding: clamp(18px, 2.4vw, 28px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card + .card { margin-top: 18px; }
.card__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: 1fr; } }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: rgba(22,18,14,.76); }
.kpi b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kpi--gold b { color: var(--gold-hi); }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } }

.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.svc-pick button { text-align: left; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.svc-pick button:hover { border-color: var(--line-2); transform: translateY(-2px); }
.svc-pick button[aria-pressed="true"] { border-color: var(--gold); background: rgba(201,161,90,.1); box-shadow: inset 0 0 0 1px var(--gold); }
.svc-pick b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 800; }
.svc-pick span { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--muted); }
.svc-pick em { font-style: normal; color: var(--gold); font-weight: 800; }

.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal__month { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 24px; text-transform: capitalize; }
.cal__nav { display: flex; gap: 6px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .3s, background .3s; }
.icon-btn:hover { border-color: var(--gold); background: rgba(201,161,90,.08); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn[disabled] { opacity: .3; pointer-events: none; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal__day { position: relative; aspect-ratio: 1 / 1; min-height: 40px; border-radius: 12px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background .25s, border-color .25s, color .25s; }
.cal__day:hover:not([disabled]) { background: var(--surface-2); border-color: var(--line-2); }
.cal__day.is-today { border-color: var(--line-2); }
.cal__day.is-today::after { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.cal__day[aria-pressed="true"] { background: var(--gold); color: #140f08; border-color: var(--gold); }
.cal__day[disabled] { color: rgba(150,139,121,.35); cursor: default; }
.cal__day.is-out { visibility: hidden; }
.cal__dots { display: flex; gap: 3px; height: 5px; }
.cal__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.cal__dots i.pending { background: var(--warn); }
.cal__dots i.accepted { background: var(--ok); }
.cal__dots i.proposed { background: var(--info); }
.cal__day[aria-pressed="true"] .cal__dots i { background: #140f08; }
.cal--staff .cal__day { aspect-ratio: auto; min-height: 64px; align-items: flex-start; justify-content: space-between; padding: 8px; border-color: var(--line); }
.cal--staff .cal__count { font-size: 10px; color: var(--muted); font-weight: 500; }
.cal--staff .cal__day[aria-pressed="true"] .cal__count { color: #140f08; }
@media (max-width: 560px) { .cal--staff .cal__day { min-height: 52px; padding: 6px; } .cal--staff .cal__count { display: none; } }

.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; transition: all .25s var(--ease); }
.slot:hover:not([disabled]) { border-color: var(--gold); color: var(--gold-hi); }
.slot[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #140f08; box-shadow: 0 6px 24px rgba(201,161,90,.3); }
.slot[disabled] { opacity: .28; text-decoration: line-through; cursor: not-allowed; }

.place-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.place-pick button { text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 4px; transition: border-color .3s, background .3s; }
.place-pick button[aria-pressed="true"] { border-color: var(--gold); background: rgba(201,161,90,.1); box-shadow: inset 0 0 0 1px var(--gold); }
.place-pick b { font-size: 15px; }
.place-pick span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.place-pick em { font-style: normal; font-weight: 800; color: var(--gold); font-size: 13px; }
@media (max-width: 420px) { .place-pick { grid-template-columns: 1fr; } }
.appt__place { margin-top: 6px; display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(201,161,90,.1); border: 1px solid rgba(201,161,90,.3); font-size: 12px; color: var(--gold-hi); }
.stamp-done { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--gold); white-space: nowrap; }
.mini-stamps { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 6px; }
.mini-stamps i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(201,161,90,.5); }
.mini-stamps i.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 6px rgba(201,161,90,.6); }
.person--ready { border-color: rgba(201,161,90,.6); background: rgba(201,161,90,.07); }

.summary { display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px dashed var(--line-2); margin: 18px 0; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--muted); }
.summary b { text-align: right; }
.empty { padding: 34px 14px; text-align: center; color: var(--muted); font-size: 14px; }
.empty b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 26px; color: var(--ink-2); margin-bottom: 6px; }

.appts { display: grid; gap: 10px; }
.appt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .3s; }
.appt:hover { border-color: var(--line-2); }
.appt__date { width: 62px; text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.appt__date b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; }
.appt__date span { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.appt__title { font-weight: 800; }
.appt__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.appt__note { font-size: 13px; color: var(--ink-2); margin-top: 6px; font-style: italic; }
.appt__proposal { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(127,166,255,.08); border: 1px solid rgba(127,166,255,.3); font-size: 13px; }
.appt__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.appt__side { display: grid; gap: 10px; justify-items: end; }
@media (max-width: 640px) {
  .appt { grid-template-columns: auto 1fr; }
  .appt__side { grid-column: 1 / -1; justify-items: start; }
  .appt__actions { justify-content: flex-start; }
}

.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; border: 1px solid currentColor; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--pending { color: var(--warn); }
.chip--accepted { color: var(--ok); }
.chip--refused, .chip--cancelled { color: var(--bad); opacity: .85; }
.chip--proposed { color: var(--info); }

.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); transition: all .25s; }
.filters button[aria-pressed="true"] { color: #140f08; background: var(--cream); border-color: var(--cream); }

.search { position: relative; margin-bottom: 14px; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); outline: none; }
.search input:focus { border-color: var(--gold); }
.search svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: var(--muted); }
.people { display: grid; gap: 8px; }
.person { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.person__name { font-weight: 800; }
.person__meta { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .person { grid-template-columns: auto 1fr; } .person > :last-child { grid-column: 1 / -1; } }

/* Galerie (espace) */
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 10px; padding: 34px 18px; border: 1.5px dashed var(--line-2); border-radius: 18px; background: var(--surface); cursor: pointer; transition: border-color .3s, background .3s; }
.drop:hover, .drop.is-over { border-color: var(--gold); background: rgba(201,161,90,.07); }
.drop svg { width: 40px; height: 40px; color: var(--gold); }
.drop b { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 22px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.uploads { display: grid; gap: 6px; margin-top: 12px; font-size: 13px; }
.uploads div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.thumb { position: relative; border-radius: 50% 50% 12px 12px / 32% 32% 12px 12px; overflow: hidden; aspect-ratio: 1 / 1.08; border: 2px solid rgba(201,161,90,.5); background: var(--bg-3); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 8px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 11px; }
.thumb__info span { display: block; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: 9px; font-weight: 800; }
.thumb button { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
.thumb:hover button, .thumb:focus-within button { opacity: 1; }
@media (hover: none) { .thumb button { opacity: 1; top: auto; bottom: 46px; } }

/* ==========================================================================
   Caisse & comptabilité
   ========================================================================== */
.pos { color: var(--ok); } .neg { color: var(--bad); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.tag--gold { border-color: rgba(201,161,90,.55); color: var(--gold-hi); background: rgba(201,161,90,.08); }
.tag--bad { border-color: rgba(229,72,77,.5); color: #ff9b9e; }

/* Badgeuse */
.shift { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(22,18,14,.76); }
.shift.is-on { border-color: rgba(76,195,142,.45); background: linear-gradient(110deg, rgba(76,195,142,.12), rgba(22,18,14,.76) 55%); }
.shift__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.shift.is-on .shift__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(76,195,142,.6); animation: pulse 2s infinite; }
.shift__txt { display: grid; }
.shift__txt b { font-family: var(--f-display); font-size: 22px; line-height: 1.1; }
.shift__txt span { font-size: 13px; color: var(--muted); }
.shift__txt [data-shift-timer] { color: var(--ok); font-weight: 800; font-variant-numeric: tabular-nums; }
.shift__week { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.shift__week svg { width: 16px; height: 16px; }
.shift__week b { color: var(--ink); font-size: 15px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .shift__week { margin-left: 0; } .shift .btn { width: 100%; } }

.caisse__label { margin: 18px 0 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.detect { display: grid; gap: 8px; margin-top: 10px; }
.detect:empty { display: none; }
.detect__item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; }
.detect__item > svg { width: 18px; height: 18px; flex: none; color: var(--info); }
.detect__item--gold { border-color: rgba(201,161,90,.45); background: rgba(201,161,90,.08); }
.detect__item--gold > svg { color: var(--gold); }
.detect__item .switch { margin-left: auto; }
.switch--sm { font-size: 12px; gap: 8px; }
.switch--sm .switch__track { transform: scale(.85); }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, calc(50% - 5px)), 1fr)); gap: 10px; }
@media (max-width: 480px) { .svc-tile__main { padding: 12px 12px 8px; } .svc-tile__main b { font-size: 15px; } .stepper button { width: 28px; height: 28px; } }
/* Barre d'encaissement rapide (téléphone / tablette) */
.cart-bar { display: none; }
@media (max-width: 1100px) {
  .cart-bar { position: fixed; z-index: 390; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; background: #f4ecdd; color: #2a221a; box-shadow: 0 18px 40px -10px rgba(0,0,0,.8); transform: translateY(160%); transition: transform .45s var(--ease); }
  .cart-bar.is-on { transform: none; }
  .cart-bar span { font-size: 12px; color: #6d5f50; display: block; }
  .cart-bar b { font-family: var(--f-display); font-weight: 900; font-size: 22px; }
  .cart-bar .btn { --h: 44px; }
}
@media (min-width: 901px) and (max-width: 1100px) { .cart-bar { bottom: 16px; left: 280px; } }
@media (max-width: 1100px) { [data-view-root]:has(.cart-bar.is-on) { padding-bottom: 84px; } }
.svc-tile { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.svc-tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.svc-tile.is-on { border-color: var(--gold); background: rgba(201,161,90,.1); box-shadow: inset 0 0 0 1px var(--gold); }
.svc-tile__main { display: grid; gap: 4px; width: 100%; padding: 14px 14px 10px; text-align: left; }
.svc-tile__main b { font-family: var(--f-display); font-size: 17px; font-weight: 800; line-height: 1.15; }
.svc-tile__main span { font-size: 13px; color: var(--gold); font-weight: 800; }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 10px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: all .2s; }
.stepper button:hover { border-color: var(--gold); color: var(--gold-hi); }
.stepper button svg { width: 12px; height: 12px; }
.stepper span { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 16px; min-width: 24px; text-align: center; }
.svc-tile:not(.is-on) .stepper span { color: var(--muted); }

/* Ticket de caisse */
.receipt-wrap { position: sticky; top: 20px; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); }
.receipt {
  position: relative; padding: 24px 22px 30px; background: #f4ecdd; color: #2a221a; border-radius: 6px 6px 0 0;
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 4px);
  font-variant-numeric: tabular-nums;
}
/* Bord dentelé du ticket */
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: radial-gradient(circle at 10px 0, #f4ecdd 7px, transparent 7.5px) 0 0 / 20px 10px repeat-x; }
.receipt__head { display: grid; justify-items: center; gap: 2px; text-align: center; padding-bottom: 14px; border-bottom: 1.5px dashed rgba(42,34,26,.35); }
.receipt__head b { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; }
.receipt__head em { font-style: italic; color: #8a6a2c; }
.receipt__head span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #6d5f50; }
.receipt__head svg { filter: saturate(1.2) brightness(.8); }
.receipt__meta { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1.5px dashed rgba(42,34,26,.35); font-size: 12px; }
.receipt__meta div, .receipt__line { display: flex; justify-content: space-between; gap: 12px; }
.receipt__meta span { color: #6d5f50; }
.receipt__meta b { text-align: right; }
.receipt__lines { padding: 12px 0; display: grid; gap: 6px; border-bottom: 1.5px dashed rgba(42,34,26,.35); margin-bottom: 10px; }
.receipt__line { font-size: 14px; }
.receipt__line--disc { font-size: 12px; color: #2f7a52; }
.receipt__empty { margin: 6px 0; text-align: center; font-size: 13px; color: #8c7e6e; font-style: italic; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 16px; padding-top: 8px; border-top: 2px solid #2a221a; }
.receipt__total span { font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.receipt__total b { font-family: var(--f-display); font-weight: 900; font-size: 32px; }
.receipt .btn[disabled] { opacity: .35; }
.receipt__clear { display: block; margin: 10px auto 0; font-size: 12px; color: #8c7e6e; text-decoration: underline; }
.receipt__foot { margin: 14px 0 0; text-align: center; font-family: var(--f-display); font-style: italic; color: #6d5f50; }
@media (max-width: 1100px) { .receipt-wrap { position: static; } }

/* Lignes de factures */
.invs { display: grid; gap: 8px; }
.inv { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.inv.is-cancelled { opacity: .55; }
.inv.is-cancelled .inv__total { text-decoration: line-through; }
.inv__num { display: grid; min-width: 96px; }
.inv__num b { font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: .04em; }
.inv__num span { font-size: 11px; color: var(--muted); }
.inv__main { min-width: 0; }
.inv__client { font-weight: 800; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.inv__lines { font-size: 12px; color: var(--muted); margin-top: 2px; }
.inv__side { display: grid; justify-items: end; gap: 4px; }
.inv__total { font-family: var(--f-display); font-weight: 900; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv__disc { font-size: 11px; color: var(--ok); }
@media (max-width: 640px) { .inv { grid-template-columns: 1fr auto; } .inv__num { grid-column: 1 / -1; display: flex; gap: 8px; } }

/* Comptabilité */
.week-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(22,18,14,.76); font-size: 14px; }
.week-banner.is-archived { border-color: rgba(127,166,255,.4); background: rgba(127,166,255,.08); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: middle; box-shadow: 0 0 8px var(--ok); }
.ctabs { margin-bottom: 18px; }
.ctabs sup { font-size: 9px; opacity: .7; }
.kpis--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .kpis--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .kpis--5 { grid-template-columns: 1fr 1fr; } .kpis--5 .kpi:last-child { grid-column: 1 / -1; } }
.kpi--pos { border-color: rgba(76,195,142,.45); background: linear-gradient(140deg, rgba(76,195,142,.12), rgba(22,18,14,.76)); }
.kpi--pos b { color: var(--ok); }
.kpi--neg { border-color: rgba(229,72,77,.45); background: linear-gradient(140deg, rgba(229,72,77,.12), rgba(22,18,14,.76)); }
.kpi--neg b { color: var(--bad); }
.kpi b { overflow-wrap: anywhere; }
.kpis--5 .kpi b, .caisse ~ .kpis .kpi b { font-size: clamp(22px, 2.4vw, 32px); }

.table-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ledger th { text-align: left; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 800; padding: 10px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.ledger td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.ledger td.num, .ledger th:not(:first-child) { text-align: right; }
.ledger tr.is-idle td { color: var(--muted); }
.ledger tbody tr:hover td { background: rgba(255,244,220,.03); }
.ledger tfoot td { border-bottom: 0; border-top: 2px solid var(--gold); font-weight: 800; padding-top: 14px; }
.ledger__who { white-space: normal !important; min-width: 170px; }
.ledger__who b { display: block; }
.ledger__who .role { margin-top: 4px; }
.ledger__who small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.mini-btn { width: 24px; height: 24px; margin-left: 6px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-grid; place-items: center; vertical-align: middle; color: var(--gold); }
.mini-btn:hover { border-color: var(--gold); background: rgba(201,161,90,.12); }
.mini-btn svg { width: 11px; height: 11px; }
/* Sur téléphone : chaque employé devient une fiche */
@media (max-width: 760px) {
  .table-wrap { overflow: visible; margin: 0; padding: 0; }
  .ledger, .ledger tbody, .ledger tfoot, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger thead { display: none; }
  .ledger tr { border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; margin-bottom: 10px; background: var(--surface); }
  .ledger tfoot tr { border-color: var(--gold); background: rgba(201,161,90,.06); }
  .ledger td { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); white-space: normal; text-align: right !important; }
  .ledger td:last-child { border-bottom: 0; }
  .ledger td::before { content: attr(data-label); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; text-align: left; }
  .ledger td.ledger__who { display: block; text-align: left !important; padding: 8px 0 10px; }
  .ledger td.ledger__who::before { content: none; }
  .ledger tfoot td { border-top: 0; padding-top: 7px; }
}

.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.bar__track { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar__track i { display: block; height: 100%; border-radius: inherit; background: var(--gold-grad); background-size: 220% 100%; }
.bar b { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) { .bar { grid-template-columns: 1fr auto; } .bar__track { grid-column: 1 / -1; grid-row: 2; } }

.danger-zone { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; border-color: rgba(229,72,77,.35); background: linear-gradient(120deg, rgba(229,72,77,.07), rgba(22,18,14,.76) 60%); }
.danger-zone > div { max-width: 640px; }
.close-sum { display: grid; gap: 8px; padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 14px; }
.close-sum div { display: flex; justify-content: space-between; gap: 12px; }
.close-sum span { color: var(--muted); }

/* Partenariats */
.partners-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.partners-intro .card__title { margin-bottom: 6px; }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-top: 18px; }
.partner { padding: 20px; border-radius: 18px; border: 1px solid rgba(201,161,90,.35); background: linear-gradient(150deg, rgba(201,161,90,.1), rgba(22,18,14,.8) 45%); display: grid; gap: 14px; align-content: start; }
.partner.is-off { border-color: var(--line); background: rgba(22,18,14,.6); opacity: .75; }
.partner__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.partner__head b { font-family: var(--f-display); font-size: 24px; font-weight: 900; margin-right: 8px; }
.partner__pct { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--gold-grad); background-size: 220% 100%; color: #140f08; font-weight: 900; font-size: 13px; vertical-align: middle; }
.partner__on { margin: 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.partner__stats { margin: 0; font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-name { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; }
.chip-name button { width: 22px; height: 22px; border-radius: 50%; color: var(--muted); font-size: 16px; line-height: 1; }
.chip-name button:hover { color: #fff; background: var(--bad); }
.member-add { display: flex; gap: 8px; }
.member-add input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); outline: none; font-size: 14px; }
.member-add input:focus { border-color: var(--gold); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }
.check:has(input:checked) { border-color: var(--gold); background: rgba(201,161,90,.1); }

/* Personnel : grades */
.grade-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.grade-select select { height: 34px; padding: 0 30px 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23c9a15a' stroke-width='1.6'/></svg>") no-repeat right 12px center; font-size: 12px; font-weight: 700; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; max-width: 210px; }
.grade-select select:focus { border-color: var(--gold); }
.grade-select option { background: var(--bg-2); }
.person--staff { border-color: rgba(201,161,90,.3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Bouton tuto + visite guidée
   ========================================================================== */
.topbar > .tuto-btn, .mobile-head > .tuto-btn { margin-left: auto; }
.topbar > .tuto-btn + .live { margin-left: 14px; }
.tuto-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 99px; border: 1px solid rgba(201,161,90,.5); background: rgba(201,161,90,.08); color: var(--gold-hi); font-size: 12px; font-weight: 800; letter-spacing: .06em; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.tuto-btn:hover { background: rgba(201,161,90,.18); border-color: var(--gold); transform: translateY(-1px); }
.tuto-btn svg { width: 18px; height: 18px; }
.mobile-head .tuto-btn { height: 32px; margin-right: 10px; }
.tuto-btn__short { display: none; }
.mobile-head .brand { white-space: nowrap; }
@media (max-width: 560px) { .mobile-head .tuto-btn__long { display: none; } .mobile-head .tuto-btn__short { display: inline; } .mobile-head .live { font-size: 0; gap: 0; } }

.tour { position: fixed; inset: 0; z-index: 9000; }
.tour__block { position: absolute; inset: 0; }
.tour__hole { position: fixed; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(8,6,5,.8), 0 0 0 2px var(--gold), 0 0 34px 4px rgba(201,161,90,.45); transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease); }
.tour__hole.is-empty { box-shadow: 0 0 0 9999px rgba(8,6,5,.82); }
.tour__card { position: fixed; padding: 22px 22px 18px; border-radius: 20px; background: var(--bg-2); border: 1px solid rgba(201,161,90,.5); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); transition: left .45s var(--ease), top .45s var(--ease); }
.tour__card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 2.4s linear infinite; }
.tour__step { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 8px; }
.tour__card h3 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1.1; }
.tour__text { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.tour__dots { display: flex; gap: 5px; margin: 16px 0 14px; flex-wrap: wrap; }
.tour__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: all .3s; }
.tour__dots i.done { background: var(--gold-lo); }
.tour__dots i.on { width: 22px; border-radius: 4px; background: var(--gold); }
.tour__actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tour__actions > span { display: flex; gap: 6px; align-items: center; }
.tour__skip { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.tour__skip:hover { color: var(--ink); }

/* ==========================================================================
   Logs entreprise
   ========================================================================== */
.logs-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .logs-grid { grid-template-columns: 1fr; } .logs-grid .on-duty { order: -1; } }
.logs { display: grid; gap: 2px; }
.log-day { margin: 14px 0 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.log-day:first-child { margin-top: 0; }
.log { display: grid; grid-template-columns: 46px 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 12px; font-size: 14px; transition: background .3s; }
.log:hover { background: var(--surface); }
.log time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.log__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--surface-2); border: 1px solid var(--line); }
.log--shift_start .log__icon { border-color: rgba(76,195,142,.5); background: rgba(76,195,142,.1); }
.log--shift_stop .log__icon { border-color: rgba(229,72,77,.45); background: rgba(229,72,77,.08); }
.log--invoice .log__icon { border-color: rgba(201,161,90,.55); background: rgba(201,161,90,.12); }
.log--loyalty .log__icon { color: var(--gold-hi); }
.log__body { min-width: 0; color: var(--ink-2); line-height: 1.4; }
.log__body b { color: var(--ink); }
.log__amount { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; }
.log.is-new { animation: logIn 2.4s var(--ease); }
@keyframes logIn { 0% { background: rgba(201,161,90,.28); transform: translateX(-10px); } 25% { transform: none; } 100% { background: transparent; } }
@media (max-width: 560px) {
  .log { grid-template-columns: 34px 1fr auto; row-gap: 2px; }
  .log time { grid-column: 2 / -1; grid-row: 1; }
  .log__icon { grid-row: 1 / span 2; }
  .log__body { grid-column: 2; grid-row: 2; }
  .log__amount { grid-column: 3; grid-row: 2; }
}
.duty-timer { font-variant-numeric: tabular-nums; color: var(--ok); font-size: 15px; }
.app .page-credit { margin: 48px 0 0; }

/* ==========================================================================
   Photos de profil
   ========================================================================== */
.avatar--img { padding: 0; overflow: hidden; background: var(--bg-3); box-shadow: 0 0 0 1.5px rgba(201,161,90,.6); }
.avatar--img img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { width: 26px; height: 26px; font-size: 11px; }
.appt__who { display: flex; align-items: center; gap: 8px; }

.profile-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.avatar-drop {
  position: relative; flex: none; width: 112px; height: 112px; border-radius: 50%; cursor: pointer; overflow: hidden;
  display: grid; place-items: center; background: var(--gold-grad); background-size: 220% 100%;
  box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 4.5px rgba(201,161,90,.7), 0 18px 40px -14px rgba(0,0,0,.9);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.avatar-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-drop__initials { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 38px; color: #140f08; }
.avatar-drop__hint { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; background: rgba(10,8,6,.62); color: var(--gold-hi); opacity: 0; transition: opacity .3s; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.avatar-drop__hint svg { width: 26px; height: 26px; }
.avatar-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.avatar-drop:hover .avatar-drop__hint, .avatar-drop:focus-within .avatar-drop__hint, .avatar-drop.is-over .avatar-drop__hint, .avatar-drop.is-busy .avatar-drop__hint { opacity: 1; }
.avatar-drop.is-over { transform: scale(1.06); box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--gold), 0 0 34px rgba(201,161,90,.6); }
.avatar-drop.is-busy .avatar-drop__hint b, .avatar-drop.is-busy .avatar-drop__hint svg { display: none; }
.avatar-drop.is-busy .avatar-drop__hint::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; animation: spin .7s linear infinite; }
@media (hover: none) { .avatar-drop:not(.has-img) .avatar-drop__hint { opacity: 1; background: rgba(10,8,6,.35); } }
.profile-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); max-width: 320px; }
.profile-remove { margin-top: 6px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.profile-remove:hover { color: var(--bad); }

/* Sélecteur segmenté (sexe) */
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); max-width: 100%; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { display: block; padding: 9px 16px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: all .3s var(--ease); }
.seg__opt input:checked + span { background: var(--gold-grad); background-size: 220% 100%; color: #140f08; }
.seg__opt input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }
@media (max-width: 420px) { .seg__opt span { padding: 9px 11px; } }

/* ==========================================================================
   Personnel : onglets Équipe / Clients
   ========================================================================== */
.people-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.people-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 99px; font-size: 13px; font-weight: 800; color: var(--muted); transition: all .3s var(--ease); }
.people-tabs button sup { font-size: 10px; opacity: .75; }
.people-tabs button[aria-selected="true"] { background: var(--gold-grad); background-size: 220% 100%; color: #140f08; }

/* ==========================================================================
   Absences
   ========================================================================== */
.abs-rule { display: flex; gap: 18px; align-items: center; padding: 18px 22px; margin-bottom: 18px; border-radius: 18px; border: 1px solid rgba(127,166,255,.35); background: linear-gradient(115deg, rgba(127,166,255,.12), rgba(22,18,14,.8) 60%); }
.abs-rule__icon { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: rgba(127,166,255,.14); border: 1px solid rgba(127,166,255,.3); animation: absFloat 4s ease-in-out infinite; }
@keyframes absFloat { 50% { transform: translateY(-4px) rotate(-4deg); } }
.abs-rule b { display: block; font-family: var(--f-display); font-size: 21px; line-height: 1.2; }
.abs-rule p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.abs-rule u { text-decoration-color: var(--info); text-underline-offset: 3px; }
@media (max-width: 560px) { .abs-rule { flex-direction: column; align-items: flex-start; } }

.abs-top { align-items: stretch; }
.abs-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.abs-reasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.abs-reason { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--ink-2); transition: all .25s var(--ease); }
.abs-reason span { font-size: 18px; }
.abs-reason:hover { border-color: var(--c); transform: translateY(-2px); }
.abs-reason[aria-pressed="true"] { border-color: var(--c); color: var(--ink); background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 1px var(--c); }

/* Aperçu : la « carte d'absence » */
.abs-preview { display: grid; }
.abs-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 22px; overflow: hidden; min-height: 100%;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c, #7fa6ff) 30%, transparent), transparent 60%), linear-gradient(160deg, #1d1813, #110e0b);
  border: 1px solid color-mix(in srgb, var(--c, #7fa6ff) 55%, transparent); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
  transition: border-color .4s, background .4s;
}
.abs-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe); background-size: 56.57px 56.57px; animation: stripes 2.4s linear infinite; opacity: .8; }
.abs-card--empty { align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.abs-card--empty b { font-family: var(--f-display); font-size: 22px; color: var(--ink); }
.abs-card--empty p { margin: 0; }
.abs-card__top { display: flex; justify-content: space-between; align-items: center; }
.abs-card__emoji { font-size: 54px; line-height: 1; filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)); animation: absFloat 4s ease-in-out infinite; }
.abs-card__tag { padding: 6px 14px; border-radius: 99px; background: var(--c); color: #140f08; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.abs-card__days { display: flex; align-items: baseline; gap: 10px; }
.abs-card__days b { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 8vw, 96px); line-height: .9; color: var(--c); }
.abs-card__days span { font-family: var(--f-display); font-style: italic; font-size: 26px; color: var(--ink-2); }
.abs-card__range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.abs-card__range span { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.abs-card__range b { font-size: 15px; }
.abs-card__when { margin: auto 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.abs-card--short, .abs-card--bad { --c: #968b79 !important; }
.abs-card--short .abs-card__when { background: rgba(232,176,74,.12); color: #f3cd85; }
.abs-card--bad .abs-card__when { background: rgba(229,72,77,.12); color: #ffb3b5; }

/* Planning « Qui est là ? » */
.gantt-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px 6px; }
.gantt { min-width: 820px; display: grid; gap: 6px; }
.gantt__row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 10px; }
.gantt__who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; min-width: 0; }
.gantt__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gantt__track { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); height: 38px; border-radius: 10px; background: var(--surface); }
.gantt__track > span:not(.gantt__bar) { grid-row: 1; height: 100%; border-right: 1px solid rgba(255,255,255,.03); }
.gantt__track > span.we { background: rgba(255,255,255,.025); }
.gantt__track > span.today { background: rgba(201,161,90,.12); box-shadow: inset 2px 0 0 var(--gold); }
.gantt__days { height: auto; background: none; }
.gantt__days span { display: grid; justify-items: center; gap: 1px; padding: 4px 0; font-size: 11px; color: var(--muted); border: 0 !important; position: relative; }
.gantt__days span b { font-size: 12px; color: var(--ink-2); }
.gantt__days span i { font-style: normal; font-size: 9px; text-transform: uppercase; }
.gantt__days span em { position: absolute; top: -12px; font-style: normal; font-size: 9px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.gantt__days span.we b { color: var(--muted); }
.gantt__days span.today { border-radius: 8px; background: var(--gold) !important; box-shadow: none !important; }
.gantt__days span.today b, .gantt__days span.today i { color: #140f08; }
.gantt__row--head { margin-top: 12px; }
.gantt__bar {
  grid-row: 1; z-index: 1; align-self: center; height: 28px; margin: 0 2px; padding: 0 8px; border-radius: 99px;
  display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; font-size: 13px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); color: #fff; box-shadow: 0 6px 16px -8px var(--c);
  animation: barIn .8s var(--ease) both;
}
.gantt__bar em { font-style: normal; font-size: 11px; font-weight: 800; }
.gantt__bar b { margin-left: auto; font-size: 12px; }
@keyframes barIn { from { clip-path: inset(0 100% 0 0 round 99px); } to { clip-path: inset(0 0 0 0 round 99px); } }
.gantt__empty { padding: 26px; text-align: center; color: var(--ink-2); font-family: var(--f-display); font-style: italic; font-size: 20px; }

/* Fiches d'absence */
.abs-list { display: grid; gap: 10px; }
.abs { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.abs::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.abs.is-now { border-color: color-mix(in srgb, var(--c) 45%, transparent); background: linear-gradient(100deg, color-mix(in srgb, var(--c) 10%, transparent), var(--surface) 50%); }
.abs-list--past .abs { opacity: .6; }
.abs__emoji { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.abs__who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.abs__who .muted { font-size: 12px; }
.abs__dates { margin-top: 4px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.abs__len { padding: 2px 9px; border-radius: 99px; background: var(--c); color: #140f08; font-size: 11px; font-weight: 800; }
.abs__reason { font-size: 12px; color: var(--muted); }
.abs__progress { height: 6px; margin-top: 10px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; max-width: 340px; }
.abs__progress i { display: block; height: 100%; border-radius: inherit; background: var(--c); }
.abs__hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.abs__msg { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13px; font-style: italic; color: var(--ink-2); max-width: 520px; }
.abs__side { display: grid; justify-items: end; gap: 10px; }
.abs__stamp { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 12px; border: 1.5px solid rgba(76,195,142,.55); background: rgba(76,195,142,.1); transform: rotate(-3deg); }
.abs__stamp span { font-size: 22px; display: inline-block; }
.abs__stamp small { font-size: 11px; line-height: 1.25; color: #a6ebc9; }
.abs__wait { font-size: 12px; color: var(--warn); font-weight: 700; padding: 6px 12px; border-radius: 12px; border: 1px dashed rgba(232,176,74,.5); }
@media (max-width: 640px) {
  .abs { grid-template-columns: auto 1fr; }
  .abs__side { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}

/* Carte fidélité */
.loyalty { perspective: 1200px; }
.loyalty__card { position: relative; aspect-ratio: 1.586 / 1; max-width: 460px; border-radius: 22px; padding: clamp(18px, 4vw, 28px); overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, #2d2316 0%, #110d0a 55%), #110d0a; border: 1px solid rgba(201,161,90,.4); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,240,200,.08); display: flex; flex-direction: column; justify-content: space-between; transform-style: preserve-3d; transition: transform .2s ease-out; }
.loyalty__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--stripe); background-size: 56.57px 56.57px; }
.loyalty__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(242,217,156,.16) 45%, transparent 60%); transform: translateX(var(--shine, -60%)); pointer-events: none; }
.loyalty__top { display: flex; justify-content: space-between; align-items: flex-start; }
.loyalty__brand { font-family: var(--f-display); font-weight: 900; font-size: 20px; }
.loyalty__brand em { font-style: italic; color: var(--gold); }
.loyalty__tier { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.loyalty__stamps { display: flex; gap: clamp(6px, 2vw, 12px); }
.stamp { width: clamp(36px, 9vw, 54px); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(201,161,90,.4); display: grid; place-items: center; color: rgba(201,161,90,.3); }
.stamp svg { width: 50%; height: 50%; }
.stamp.is-on { border: 1px solid var(--gold); background: var(--gold-grad); background-size: 220% 100%; color: #140f08; box-shadow: 0 0 18px rgba(201,161,90,.45); }
.loyalty__bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.loyalty__bottom b { display: block; font-size: 15px; letter-spacing: .06em; color: var(--ink); }

/* Modale */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; }
.modal__bg { position: absolute; inset: 0; background: rgba(5,4,3,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(480px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px; padding: 26px; }
.modal__box h3 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 900; font-size: 30px; letter-spacing: -0.01em; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* Fenêtre « Proposer un autre horaire » */
.modal__box--wide { width: min(760px, 100%); }
.pp__client { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.pp__client > div { display: grid; }
.pp__client span { font-size: 13px; color: var(--muted); }
.pp__asked { margin-left: auto; padding: 6px 12px; border-radius: 99px; border: 1px dashed var(--line-2); font-size: 12px !important; color: var(--ink-2) !important; }
.pp__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.pp__chip { height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(201,161,90,.45); background: rgba(201,161,90,.07); color: var(--gold-hi); font-size: 12px; font-weight: 700; transition: all .25s var(--ease); }
.pp__chip:hover:not([disabled]) { background: rgba(201,161,90,.18); border-color: var(--gold); transform: translateY(-1px); }
.pp__chip[disabled] { opacity: .3; cursor: not-allowed; }
.pp__chip--msg { height: auto; padding: 7px 12px; text-align: left; color: var(--ink-2); border-color: var(--line-2); background: var(--surface); font-weight: 600; }
.pp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 680px) { .pp__grid { grid-template-columns: 1fr; } }
.pp__cal .cal__day { min-height: 34px; font-size: 13px; border-radius: 9px; }
.pp__cal .cal__month { font-size: 19px; }
.pp__slots { max-height: 330px; overflow: auto; padding-right: 4px; }
.slots--sm { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.slots--sm .slot { height: 40px; font-size: 13px; position: relative; }
.slot--busy:not([aria-pressed="true"])::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.slot--orig { opacity: 1 !important; text-decoration: none !important; border-style: dashed; color: var(--muted); display: grid; place-content: center; line-height: 1.05; }
.slot--orig small { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pp__summary { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); text-align: center; transition: all .35s var(--ease); }
.pp__summary > div { display: grid; gap: 2px; }
.pp__summary span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pp__summary b { font-size: 16px; }
.pp__summary .pp__old { color: var(--muted); text-decoration: line-through; font-weight: 600; }
.pp__summary svg { width: 18px; height: 18px; color: var(--gold); }
.pp__summary.is-ready { border-style: solid; border-color: var(--gold); background: rgba(201,161,90,.08); }
.pp__summary.is-ready > div:last-child b { color: var(--gold-hi); }
.pp__msgs { display: flex; flex-wrap: wrap; gap: 6px; }

/* Notifications */
.toasts { position: fixed; z-index: 800; right: 16px; bottom: 16px; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(30,24,19,.95); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; }
.toast i { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.toast--ok i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.toast--bad i { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.toast b { display: block; }
.toast span { display: block; }

/* Barre d'onglets mobile */
.tabbar { display: none; }
.mobile-head { display: none; justify-content: space-between; align-items: center; margin-bottom: 18px; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding-top: 20px; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .tabbar { display: flex; position: fixed; z-index: 400; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 66px; padding: 6px; border-radius: 22px; background: rgba(22,18,14,.92); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); }
  .tabbar button { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 16px; font-size: 10px; font-weight: 800; color: var(--muted); }
  .tabbar button span:not(.side__badge) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar button svg { width: 21px; height: 21px; }
  .tabbar button[aria-current="page"] { color: #140f08; background: var(--gold-grad); background-size: 220% 100%; }
  .tabbar .side__badge { position: absolute; top: 4px; right: calc(50% - 22px); margin: 0; min-width: 18px; height: 18px; font-size: 10px; }
  .toasts { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .mobile-head { display: flex; }
  .topbar .live, .topbar .tuto-btn { display: none; }
}

.boot { position: fixed; inset: 0; display: grid; place-items: center; z-index: 50; }
.boot__spin { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }

/* Easter egg */
.egg { position: fixed; inset: 0; z-index: 9000; pointer-events: none; overflow: hidden; }
.egg i { position: absolute; top: -40px; width: 3px; height: 26px; border-radius: 3px; }
.egg__msg { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9001; pointer-events: none; text-align: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 10vw, 140px); letter-spacing: -0.03em; line-height: .9; text-shadow: 0 0 40px rgba(255,79,139,.6); }
.egg__msg em { font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body::after { animation: none; }
}

/* ---------- Connexion avec Discord ---------- */
.discord-cta { display: grid; gap: 10px; }
.btn-discord {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 52px; padding: 12px 20px; border-radius: 999px;
  background: #5865f2; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(88, 101, 242, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  overflow: hidden;
}
.btn-discord::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
.btn-discord:hover { background: #4752c4; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(88, 101, 242, .9), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-discord:hover::after { transform: translateX(120%); }
.btn-discord svg { width: 24px; height: 24px; flex: none; }
.btn-discord.is-loading { opacity: .7; pointer-events: none; }
.btn-discord--sm { width: auto; min-height: 42px; padding: 9px 18px; font-size: 13px; }
.discord-cta__hint { margin: -2px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dc-hello { display: flex; gap: 16px; align-items: center; }
.dc-hello__avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: #5865f2; color: #fff; font: 900 28px var(--f-display);
  box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px #5865f2, 0 12px 30px -10px rgba(88, 101, 242, .8);
}
.dc-hello__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-hello__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(88, 101, 242, .16); color: #aab2ff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dc-hello__tag svg { width: 14px; height: 14px; }
.dc-hello h2 { margin: 8px 0 4px; }

/* Carte « Discord » dans Compte */
.dc-card__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dc-card__badge { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #5865f2; color: #fff; }
.dc-card__badge svg { width: 26px; height: 26px; }
.dc-card__text { flex: 1 1 200px; min-width: 0; }
.dc-card__text b { display: block; }
.dc-card__text span { color: var(--muted); font-size: 13px; }
.dc-card--on .dc-card__badge { box-shadow: 0 0 0 3px rgba(76, 195, 142, .35); }
.pill--ok { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(76, 195, 142, .14); color: var(--ok); font-size: 10px; letter-spacing: .12em; }

/* ==========================================================================
   FLAPPY BOB — mini-jeu + podium
   ========================================================================== */
.fb-layout { display: grid; grid-template-columns: auto minmax(300px, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.fb-main { width: min(100%, max(300px, calc((100dvh - 200px) * 2 / 3))); width: min(100%, max(300px, calc((100vh - 200px) * 2 / 3))); }
@supports (height: 100dvh) { .fb-main { width: min(100%, max(300px, calc((100dvh - 200px) * 2 / 3))); } }
.fb-side { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 1100px) {
  .fb-layout { grid-template-columns: 1fr; }
  .fb-main { justify-self: center; width: min(100%, 520px, max(300px, calc((100vh - 190px) * 2 / 3))); }
}

.fb-stage { position: relative; width: 100%; border-radius: 22px; overflow: hidden; background: #07081a; border: 1px solid rgba(201,161,90,.4); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 0 6px rgba(201,161,90,.06), 0 0 60px -10px rgba(201,161,90,.25); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.fb-stage::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--stripe); background-size: 40px 40px; z-index: 2; opacity: .9; animation: fbStripe 1.6s linear infinite; pointer-events: none; }
.fb-stage::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 5px; background: var(--stripe); background-size: 40px 40px; z-index: 2; opacity: .9; animation: fbStripe 1.6s linear infinite reverse; pointer-events: none; }
@keyframes fbStripe { to { background-position: 0 -40px; } }
.fb-canvas { display: block; width: 100%; touch-action: none; cursor: pointer; margin: 0 auto; }
.fb-stage:fullscreen { display: grid; place-items: center; border: 0; border-radius: 0; background: #050407; }
.fb-stage:fullscreen::before, .fb-stage:fullscreen::after { display: none; }

.fb-tools { position: absolute; top: 12px; right: 14px; z-index: 3; display: flex; gap: 8px; }
.fb-tool { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(246,226,168,.35); background: rgba(10,8,6,.55); color: var(--gold-hi); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.fb-tool:hover { transform: scale(1.08); background: rgba(201,161,90,.25); }
.fb-tool svg { width: 18px; height: 18px; }

.fb-over { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(10,8,6,.35), rgba(5,4,3,.78)); cursor: pointer; }
.fb-over[hidden] { display: none; }
.fb-over__card { width: min(86%, 310px); padding: 24px 22px 18px; text-align: center; border-radius: 20px; background: linear-gradient(180deg, rgba(34,27,20,.96), rgba(18,14,10,.97)); border: 1px solid rgba(201,161,90,.45); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,240,200,.08); animation: fbPop .55s var(--ease) both; cursor: default; }
@keyframes fbPop { from { opacity: 0; transform: translateY(18px) scale(.92); } }
.fb-over__eyebrow { margin: 0 0 12px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.fb-over__medal-label { margin: 10px 0 14px; font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--ink); }
.fb-over__scores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.fb-over__scores div { padding: 10px 6px; border-radius: 12px; background: rgba(255,244,220,.05); border: 1px solid var(--line); }
.fb-over__scores small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fb-over__scores b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 38px; line-height: 1.1; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.fb-over__status { min-height: 20px; margin: 0 0 14px; font-size: 13px; color: var(--ink-2); }
.fb-over__status.is-gold { color: var(--gold-hi); font-weight: 700; }
.fb-over__status.is-bad { color: var(--bad); }
.fb-over__card .btn { width: 100%; justify-content: center; }
.fb-over__hint { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }
@media (hover: none) { .fb-over__hint { display: none; } }

/* Médailles */
.fb-medal { --m1: #3a322a; --m2: #6b5e50; --m3: #2a241e; width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: rgba(20,14,8,.85); background: radial-gradient(circle at 32% 28%, var(--m2), var(--m1) 55%, var(--m3)); box-shadow: inset 0 0 0 4px rgba(255,255,255,.18), inset 0 -6px 12px rgba(0,0,0,.35), 0 10px 26px -8px rgba(0,0,0,.8); font-size: 30px; }
.fb-medal svg { width: 44%; height: 44%; }
.fb-medal span { color: var(--muted); }
.fb-medal--bronze { --m1: #a86434; --m2: #f0b582; --m3: #6b3a18; }
.fb-medal--argent { --m1: #a9b2bd; --m2: #ffffff; --m3: #69727e; }
.fb-medal--or { --m1: #c9a15a; --m2: #fff1c4; --m3: #7d5f2a; box-shadow: inset 0 0 0 4px rgba(255,255,255,.25), inset 0 -6px 12px rgba(0,0,0,.3), 0 0 30px rgba(242,217,156,.45); }
.fb-medal--diamant { --m1: #7cc8ff; --m2: #f1fbff; --m3: #3f6fd8; box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), 0 0 34px rgba(124,200,255,.6); animation: fbShine 2.4s ease-in-out infinite; }
@keyframes fbShine { 50% { filter: brightness(1.25) saturate(1.2); } }
.fb-over .fb-medal:not(.fb-medal--bronze):not(.fb-medal--argent):not(.fb-medal--or):not(.fb-medal--diamant) { opacity: .7; }

/* Podium */
.fb-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: rgba(201,161,90,.12); color: var(--gold-hi); font-size: 10px; letter-spacing: .12em; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; padding-top: 8px; }
.podium__who { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 0 2px 10px; min-width: 0; }
.podium__face .avatar { width: 54px; height: 54px; font-size: 20px; box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--ring, var(--gold)); }
.podium__slot--1 .podium__face .avatar { width: 68px; height: 68px; font-size: 24px; }
.podium__name { margin-top: 8px; max-width: 100%; font-family: var(--f-display); font-weight: 800; font-size: 15px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.podium__label { font-size: 11px; color: var(--muted); }
.podium__crown { position: absolute; top: -20px; left: 50%; width: 34px; margin-left: -17px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); animation: fbCrown 2.6s ease-in-out infinite; }
@keyframes fbCrown { 50% { transform: translateY(-4px) rotate(-4deg); } }
.podium__slot--1 { --ring: #f2d99c; --s1: #f6e2a8; --s2: #c9a15a; --s3: #7d5f2a; }
.podium__slot--2 { --ring: #d9dee5; --s1: #f4f6f9; --s2: #aab3be; --s3: #5f6772; }
.podium__slot--3 { --ring: #e0a46f; --s1: #f2c194; --s2: #b8743e; --s3: #6b3a18; }
.podium__step { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 10px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--s1), var(--s2) 30%, var(--s3)); box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -10px 18px rgba(0,0,0,.25), 0 16px 30px -14px rgba(0,0,0,.8); color: #140f08; overflow: hidden; }
.podium__step::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%); transform: translateX(-120%); animation: fbGlint 4.5s ease-in-out infinite; }
.podium__slot--2 .podium__step::before { animation-delay: .6s; }
.podium__slot--3 .podium__step::before { animation-delay: 1.2s; }
@keyframes fbGlint { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.podium__slot--1 .podium__step { height: 124px; }
.podium__slot--2 .podium__step { height: 92px; }
.podium__slot--3 .podium__step { height: 70px; }
.podium__score { position: relative; font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.podium__rank { position: absolute; bottom: -10px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 64px; line-height: 1; color: rgba(20,15,8,.18); }
.podium__slot--3 .podium__rank { font-size: 50px; }
.podium__slot.is-me .podium__face .avatar { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--ring), 0 0 26px var(--ring); }
.podium__slot.is-empty .podium__who { opacity: .5; }
.podium__slot.is-empty .podium__step { filter: saturate(.3) brightness(.7); }

.fb-rank { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.fb-rank li { display: grid; grid-template-columns: 26px auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255,244,220,.03); border: 1px solid var(--line); }
.fb-rank li.is-me { border-color: rgba(201,161,90,.55); background: rgba(201,161,90,.08); }
.fb-rank__n { font-family: var(--f-display); font-style: italic; font-weight: 800; color: var(--muted); text-align: center; }
.fb-rank__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 14px; }
.fb-rank__name small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.fb-rank b { font-family: var(--f-display); font-size: 20px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.fb-empty { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

.fb-me__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fb-me__grid div { padding: 12px 8px; text-align: center; border-radius: 12px; background: rgba(255,244,220,.04); border: 1px solid var(--line); }
.fb-me__grid small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fb-me__grid b { display: block; margin-top: 2px; font-family: var(--f-display); font-weight: 900; font-size: 28px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.fb-progress { margin-top: 16px; }
.fb-progress__head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.fb-progress__head b { color: var(--ink); }
.fb-progress__bar { height: 10px; border-radius: 99px; background: rgba(255,244,220,.07); overflow: hidden; border: 1px solid var(--line); }
.fb-progress__bar i { display: block; height: 100%; border-radius: inherit; background: var(--stripe); background-size: 40px 40px; animation: fbBar 1.2s linear infinite; transition: width .8s var(--ease); }
@keyframes fbBar { to { background-position: 40px 0; } }
.fb-medals { list-style: none; margin: 16px 0 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; }
.fb-medals li { display: grid; justify-items: center; gap: 4px; filter: grayscale(1); opacity: .35; transition: .4s; }
.fb-medals li.is-won { filter: none; opacity: 1; }
.fb-medals .fb-medal { width: 42px; height: 42px; animation: none; }
.fb-medals small { font-size: 11px; color: var(--muted); }
.fb-rules ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.fb-rules b { color: var(--ink); }
.reduced .fb-stage::before, .reduced .fb-stage::after, .reduced .podium__crown, .reduced .podium__step::before, .reduced .fb-progress__bar i { animation: none; }

/* Rappel « pose GPS » (rendez-vous à domicile) */
.gps-notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(201,161,90,.16), rgba(201,161,90,.05)); border: 1px solid rgba(201,161,90,.45); border-left: 4px solid var(--gold); }
.gps-notice__icon { flex: none; font-size: 20px; line-height: 1.2; animation: gpsPing 1.8s ease-in-out infinite; }
.gps-notice p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.gps-notice b { color: var(--gold-hi); }
@keyframes gpsPing { 50% { transform: translateY(-3px); } }
.reduced .gps-notice__icon { animation: none; }

/* ==========================================================================
   CARTE DE LOS SANTOS (rendez-vous à domicile)
   ========================================================================== */
.lsm-open, .lsm-open body { overflow: hidden; }
.lsm { position: fixed; inset: 0; z-index: 900; display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: #04101f; opacity: 0; transition: opacity .3s var(--ease); }
.lsm.is-in { opacity: 1; }
.lsm.is-closing { opacity: 0; }
.lsm__view { position: relative; overflow: hidden; touch-action: none; cursor: crosshair; background: radial-gradient(ellipse at 50% 40%, #0b2a4a, #04101f 70%); user-select: none; -webkit-user-select: none; }
.lsm--view .lsm__view { cursor: grab; }
.lsm__view.is-drag { cursor: grabbing; }
.lsm__world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.lsm__world img { display: block; width: 100%; height: 100%; pointer-events: none; }
.lsm__svg { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.lsm__zone { fill: var(--zc); fill-opacity: .2; stroke: var(--zc); stroke-width: 2.5; stroke-opacity: .95; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill-opacity .25s, stroke-width .25s; }
.lsm__zone.is-hot { fill-opacity: .36; stroke-width: 3.5; }
.lsm__zone.is-sel { fill-opacity: .45; stroke-width: 4; filter: url(#lsmGlow); animation: lsmZone 1.8s ease-in-out infinite; }
@keyframes lsmZone { 50% { fill-opacity: .3; } }
.lsm__route { fill: none; stroke: #f6e2a8; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(246,226,168,.8)); animation: lsmRoute 1s linear infinite; }
@keyframes lsmRoute { to { stroke-dashoffset: -22; } }
.lsm__car { fill: #fff6dc; filter: drop-shadow(0 0 6px #f6e2a8); }

.lsm__label { position: absolute; transform: translate(-50%, -50%) scale(var(--lk, 1)); display: grid; justify-items: center; padding: 5px 12px 6px; border-radius: 12px; background: rgba(8,12,24,.78); border: 2px solid var(--zc); box-shadow: 0 6px 16px rgba(0,0,0,.45); pointer-events: none; white-space: nowrap; font-size: 22px; line-height: 1.1; transition: opacity .3s; }
.lsm__label b { font-family: var(--f-display); font-style: italic; font-weight: 800; color: #fff; }
.lsm__label em { font-style: normal; font-weight: 800; font-size: .82em; color: var(--zc); filter: brightness(1.35); }
.lsm__world.is-far .lsm__label { padding: 3px 8px 4px; }
.lsm__label.is-sel { background: var(--zc); }
.lsm__label.is-sel b, .lsm__label.is-sel em { color: #0b0a09; filter: none; }

.lsm__salon { position: absolute; transform: translate(-50%, -50%) scale(var(--inv, 1)); display: grid; justify-items: center; pointer-events: none; }
.lsm__salon span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: radial-gradient(circle at 35% 30%, #fff1c4, #c9a15a 60%, #7d5f2a); box-shadow: 0 0 0 3px rgba(11,10,9,.85), 0 0 0 5px #f2d99c, 0 8px 18px rgba(0,0,0,.6); }
.lsm__salon span::after { content: ""; position: absolute; top: 0; left: 50%; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; border: 2px solid #f2d99c; animation: lsmPulse 2s ease-out infinite; }
.lsm__salon small { margin-top: 5px; padding: 2px 8px; border-radius: 6px; background: rgba(11,10,9,.85); color: var(--gold-hi); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
@keyframes lsmPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }

.lsm__pin { position: absolute; width: 46px; height: 61px; transform: translate(-50%, -100%) scale(var(--inv, 1)); transform-origin: 50% 100%; pointer-events: none; filter: drop-shadow(0 10px 8px rgba(0,0,0,.55)); }
.lsm__pin svg { display: block; width: 100%; height: 100%; }
.lsm__pin.is-drop svg { animation: lsmDrop .6s cubic-bezier(.2,.9,.3,1.35) both; transform-origin: 50% 100%; }
@keyframes lsmDrop { 0% { transform: translateY(-90px) scale(.8); opacity: 0; } 55% { transform: translateY(0) scale(1.08, .88); opacity: 1; } 75% { transform: translateY(-8px) scale(.97, 1.04); } 100% { transform: none; } }
.lsm__pin.is-bad { filter: grayscale(1) brightness(.8) drop-shadow(0 10px 8px rgba(0,0,0,.55)); }
.lsm__pin.is-shake svg { animation: lsmShake .45s ease both; }
@keyframes lsmShake { 20%, 60% { transform: translateX(-7px) rotate(-6deg); } 40%, 80% { transform: translateX(7px) rotate(6deg); } }
.lsm__ripple { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 3px solid var(--zc, #f6e2a8); transform: scale(var(--inv, 1)); opacity: 0; pointer-events: none; }
.lsm__ripple.is-on { animation: lsmRipple .9s ease-out; }
@keyframes lsmRipple { from { opacity: 1; transform: scale(calc(var(--inv, 1) * .5)); } to { opacity: 0; transform: scale(calc(var(--inv, 1) * 5)); } }

.lsm__tip { position: absolute; left: 0; top: 0; z-index: 3; display: grid; padding: 8px 12px; border-radius: 10px; background: rgba(8,12,24,.92); border: 1px solid var(--zc); border-left-width: 4px; pointer-events: none; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.lsm__tip b { font-family: var(--f-display); font-style: italic; font-size: 16px; }
.lsm__tip span { font-size: 12px; color: var(--gold-hi); font-weight: 700; }

.lsm__brand { position: absolute; left: 18px; top: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(4,16,31,.72); border: 1px solid rgba(127,166,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.lsm__brand b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 17px; letter-spacing: .02em; line-height: 1; }
.lsm__brand small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #9fb6d8; }
.lsm__compass { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #fff; background: conic-gradient(from -20deg, #d8323e 0 40deg, #1d3557 40deg 320deg, #d8323e 320deg); box-shadow: inset 0 0 0 3px rgba(4,16,31,.9), 0 0 0 1px rgba(255,255,255,.3); }
.lsm__ctrl { position: absolute; right: 16px; bottom: 18px; display: grid; gap: 8px; }
.lsm__ctrl button { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: #fff; background: rgba(4,16,31,.8); border: 1px solid rgba(127,166,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.lsm__ctrl button:hover { background: rgba(201,161,90,.35); transform: scale(1.06); }
.lsm__ctrl svg { width: 20px; height: 20px; }
.lsm__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 11px 18px; border-radius: 999px; background: rgba(11,10,9,.85); border: 1px solid rgba(201,161,90,.5); color: var(--gold-hi); font-weight: 700; font-size: 14px; white-space: nowrap; pointer-events: none; animation: lsmHint 2s ease-in-out infinite; transition: opacity .4s, transform .4s; }
.lsm__hint.is-gone { opacity: 0; transform: translate(-50%, 20px); animation: none; }
@keyframes lsmHint { 50% { transform: translate(-50%, -5px); } }

.lsm__panel { display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 18px; overflow-y: auto; background: linear-gradient(180deg, #17120d, #0f0c0a); border-left: 1px solid rgba(201,161,90,.25); box-shadow: -20px 0 50px rgba(0,0,0,.5); }
.lsm__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.lsm__eyebrow { margin: 0 0 4px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.lsm__head h2 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 28px; line-height: 1.05; }
.lsm__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 16px; transition: all .2s; }
.lsm__close:hover { border-color: var(--gold); color: var(--gold-hi); transform: rotate(90deg); }
.lsm__card { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 20px; border-radius: 16px; background: linear-gradient(110deg, color-mix(in srgb, var(--zc, #c9a15a) 22%, transparent), rgba(255,244,220,.03)); border: 1px solid color-mix(in srgb, var(--zc, #c9a15a) 55%, transparent); overflow: hidden; animation: fbPop .45s var(--ease) both; }
.lsm__card-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--zc); }
.lsm__card-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lsm__card small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lsm__card-main b { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 24px; line-height: 1.1; }
.lsm__card-main span { font-size: 12px; color: var(--ink-2); }
.lsm__card-price { text-align: right; }
.lsm__card-price b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 30px; color: var(--gold-hi); line-height: 1; }
.lsm__card.is-empty, .lsm__card.is-bad { --zc: #c9a15a; padding-left: 16px; }
.lsm__card.is-bad { --zc: #e5484d; }
.lsm__card.is-empty b, .lsm__card.is-bad b { display: block; font-size: 16px; }
.lsm__card.is-empty small, .lsm__card.is-bad small { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--ink-2); }
.lsm__card-ico { font-size: 28px; animation: gpsPing 1.8s ease-in-out infinite; }
.lsm__info { display: grid; gap: 6px; margin-top: 12px; }
.lsm__info div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255,244,220,.04); font-size: 13px; }
.lsm__info span { color: var(--muted); }
.lsm__info b { text-align: right; }
.lsm__subtitle { margin: 4px 0 -6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.lsm__legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lsm__legend button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,244,220,.03); text-align: left; font-size: 13px; transition: border-color .2s, background .2s, transform .2s; }
.lsm__legend button:hover { border-color: var(--zc); transform: translateY(-1px); }
.lsm__legend button[aria-pressed="true"] { border-color: var(--zc); background: color-mix(in srgb, var(--zc) 18%, transparent); }
.lsm__legend i { flex: none; width: 12px; height: 12px; border-radius: 4px; background: var(--zc); box-shadow: 0 0 10px var(--zc); }
.lsm__legend span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsm__legend b { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.lsm__foot { position: sticky; bottom: -18px; margin-top: auto; padding: 12px 0 0; background: linear-gradient(180deg, transparent, #0f0c0a 30%); }
.lsm__foot .btn { width: 100%; justify-content: center; }
.lsm__foot .btn:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 860px) {
  .lsm { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lsm__panel { max-height: 48vh; max-height: 48dvh; padding: 16px 16px 14px; gap: 12px; border-left: 0; border-top: 1px solid rgba(201,161,90,.3); border-radius: 22px 22px 0 0; margin-top: -18px; position: relative; z-index: 2; }
  .lsm__head h2 { font-size: 22px; }
  .lsm__legend { grid-template-columns: repeat(13, max-content); overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .lsm__legend button { padding: 7px 10px; }
  .lsm__brand { left: 10px; top: 10px; transform: scale(.88); transform-origin: 0 0; }
  .lsm__ctrl { right: 10px; bottom: 30px; }
  .lsm__ctrl button { width: 40px; height: 40px; }
  .lsm__hint { bottom: 32px; font-size: 13px; }
  .lsm__foot { bottom: -14px; }
}

/* Aperçu de la carte dans le formulaire */
.book-map { margin-top: 12px; }
.lsm-mini { position: relative; width: 100%; display: block; padding: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(201,161,90,.35); background: #04101f; text-align: left; transition: transform .3s var(--ease), box-shadow .3s; }
.lsm-mini:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.8), 0 0 0 1px var(--zc, var(--gold)); }
.lsm-mini.has-pin { border-color: var(--zc, var(--gold)); }
.lsm-mini__map { position: relative; display: block; height: 150px; background-repeat: no-repeat; }
.lsm-mini__map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,16,31,0) 40%, rgba(4,16,31,.55)); }
.lsm-mini:not(.has-pin) .lsm-mini__map::after { background: rgba(4,16,31,.55); }
.lsm-mini__pin { position: absolute; left: 50%; top: 62%; width: 34px; height: 45px; transform: translate(-50%, -100%); z-index: 1; filter: drop-shadow(0 6px 6px rgba(0,0,0,.6)); animation: lsmBob 2s ease-in-out infinite; }
.lsm-mini__pin svg { width: 100%; height: 100%; }
@keyframes lsmBob { 50% { transform: translate(-50%, calc(-100% - 5px)); } }
.lsm-mini__cta { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; }
.lsm-mini__cta b { padding: 10px 18px; border-radius: 999px; background: var(--gold-grad); background-size: 200% 100%; color: #140f08; font-size: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.5); animation: lsmHint 2s ease-in-out infinite; }
.lsm-mini__cta small { font-size: 12px; color: #dbe6f5; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.lsm-mini__info { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(90deg, color-mix(in srgb, var(--zc, #c9a15a) 20%, #120e0a), #120e0a); }
.lsm-mini__info i { flex: none; width: 10px; height: 34px; border-radius: 4px; }
.lsm-mini__info > span { flex: 1; min-width: 0; display: grid; }
.lsm-mini__info b { font-family: var(--f-display); font-style: italic; font-size: 18px; line-height: 1.15; }
.lsm-mini__info small { font-size: 11px; color: var(--muted); }
.lsm-mini__info em { font-style: normal; font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--gold-hi); }
.book-map__detail { margin: 8px 2px 0; font-size: 13px; color: var(--ink-2); }

/* Rendez-vous : zone + bouton carte */
.appt__place { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; border-color: color-mix(in srgb, var(--zc, #c9a15a) 55%, transparent); }
.appt__place b { color: #fff; }
.appt__map { padding: 3px 10px; border-radius: 999px; background: rgba(201,161,90,.18); border: 1px solid rgba(201,161,90,.5); color: var(--gold-hi); font-size: 11px; font-weight: 800; transition: background .2s; }
.appt__map:hover { background: rgba(201,161,90,.35); }

/* Caisse : tuile déplacement avec choix de la zone */
.svc-tile--dep .dep-select { display: block; width: calc(100% - 16px); margin: 0 8px 8px; padding: 6px 8px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 12px; }
.lsm__world.is-far .lsm__salon small { display: none; }
.lsm__world.is-far .lsm__salon span { width: 30px; height: 30px; font-size: 16px; }
.lsm__world.is-far .lsm__salon span::after { width: 30px; height: 30px; margin-left: -15px; }
.lsm__route { filter: none; stroke-width: 3.5; stroke-dasharray: 1 9; }
.lsm__route-bg { fill: none; stroke: rgba(8,6,4,.6); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lsm-mini__map { overflow: hidden; }
.lsm-mini__img { position: absolute; left: 50%; top: 62%; max-width: none; transform-origin: 0 0; pointer-events: none; }
.lsm-mini__img--all { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.lsm__route { stroke-width: 4.5; stroke-dasharray: 1 8; }

/* Carte : couche nette (textes, 📍, salon redessinés en pixels d'écran à chaque zoom) */
.lsm__world { will-change: auto; }
.lsm__world img { image-rendering: auto; }
.lsm__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.lsm__marks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lsm__marks > * { position: absolute; left: 0; top: 0; }
.lsm__label { font-size: var(--lf, 12px); padding: .3em .8em .35em; border-radius: .7em; border-width: 1.5px; box-shadow: 0 4px 12px rgba(0,0,0,.5); -webkit-font-smoothing: antialiased; }
.lsm__label em { font-size: .85em; }
.lsm__marks.is-far .lsm__label { padding: .22em .6em .28em; }
.lsm__marks.is-far .lsm__salon small { display: none; }
.lsm__marks.is-far .lsm__salon span { width: 30px; height: 30px; font-size: 16px; }
.lsm__marks.is-far .lsm__salon span::after { width: 30px; height: 30px; margin-left: -15px; }
.lsm__salon { z-index: 1; }
.lsm__pin { z-index: 3; }
.lsm__ripple, .lsm__ripple.is-on { width: 20px; height: 20px; margin: 0; border: 0; opacity: 1; animation: none; z-index: 2; }
.lsm__ripple i { display: block; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--zc, #f6e2a8); opacity: 0; }
.lsm__ripple.is-on i { animation: lsmRipple2 .9s ease-out; }
@keyframes lsmRipple2 { from { opacity: 1; transform: scale(.5); } to { opacity: 0; transform: scale(5); } }

/* Case « J'ai compris » pour la pose GPS */
.gps-notice { flex-direction: column; align-items: stretch; }
.gps-notice__row { display: flex; gap: 12px; align-items: flex-start; }
.gps-check { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(11,10,9,.55); border: 1.5px dashed rgba(201,161,90,.6); cursor: pointer; transition: background .25s, border-color .25s, transform .2s; -webkit-tap-highlight-color: transparent; }
.gps-check:hover { border-color: var(--gold-hi); transform: translateY(-1px); }
.gps-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gps-check__box { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 2px solid var(--gold); background: rgba(201,161,90,.08); color: #140f08; transition: background .25s, transform .3s var(--ease); }
.gps-check__box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s cubic-bezier(.2,1.6,.4,1); }
.gps-check__txt { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.gps-check__txt b { color: var(--gold-hi); }
.gps-check input:focus-visible + .gps-check__box { box-shadow: 0 0 0 3px rgba(201,161,90,.45); }
.gps-check input:checked + .gps-check__box { background: var(--gold-grad); background-size: 200% 100%; border-color: var(--gold-hi); transform: scale(1.08); }
.gps-check input:checked + .gps-check__box svg { opacity: 1; transform: none; }
.gps-notice--check:not(.is-ok) .gps-check { animation: gpsNudge 2.4s ease-in-out infinite; }
@keyframes gpsNudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(201,161,90,0); } 85% { box-shadow: 0 0 0 6px rgba(201,161,90,.18); } }
.gps-notice.is-ok { border-color: rgba(76,195,142,.55); border-left-color: var(--ok); background: linear-gradient(90deg, rgba(76,195,142,.14), rgba(76,195,142,.04)); }
.gps-notice.is-ok .gps-check { border-style: solid; border-color: rgba(76,195,142,.6); background: rgba(76,195,142,.08); }
.book-need { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(232,176,74,.1); border: 1px solid rgba(232,176,74,.35); color: var(--warn); font-size: 12.5px; text-align: center; }
.reduced .gps-check { animation: none !important; }
