/* ============================================================
   WELLSHOP GABON — E-Commerce Premium Design System
   Couleur: Vert Gabon #009e60 | Typographie: Clash Display + Plus Jakarta Sans
   ============================================================ */

html {
  overflow-x: hidden;
}
body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ── CSS Variables ── */
/* ── Lot 2 : jetons design system intérieur (DESIGN-INTERIEUR.md §1) ── */
:root {
  --green:#009e60; --green-dark:#007a4a; --green-light:#00c878; --green-soft:#e6f6ee; --green-glow:rgba(0,158,96,.18);
  --gold:#e8b84b; --gold-dark:#c99a2e; --gold-soft:#fbf3dc;
  --black:#0a0f0d; --ink:#111816; --ink-2:#2d3a35; --ink-3:#5c7269; --line:#dfe9e3; --mist:#eef5f1; --paper:#f7faf8; --white:#fff;
  --red:#e53935; --red-soft:#fdecea; --blue:#2f6fed; --blue-soft:#e8effd;
  --radius-sm:10px; --radius-md:16px; --radius-lg:22px; --radius-xl:30px; --radius-pill:999px;
  --shadow-sm:0 1px 2px rgba(10,15,13,.05),0 2px 8px rgba(10,15,13,.05);
  --shadow-md:0 6px 20px rgba(10,15,13,.09),0 1px 3px rgba(10,15,13,.06);
  --shadow-lg:0 18px 48px rgba(10,15,13,.14),0 4px 12px rgba(10,15,13,.07);
  --shadow-green:0 10px 30px rgba(0,158,96,.28);
  --font-display:'Outfit',system-ui,sans-serif;           /* titres, chiffres, prix */
  --font-body:'Plus Jakarta Sans',system-ui,sans-serif;    /* tout le reste */
  --nav-h:64px; --bottom-bar-h:68px;
  --ease:cubic-bezier(.2,.7,.2,1); --dur-1:.16s; --dur-2:.28s; --dur-3:.5s;

  /* Alias historiques — gardés pour ne rien casser dans les vues existantes */
  --gray-900:var(--ink); --gray-800:#1c2420; --gray-700:var(--ink-2); --gray-500:var(--ink-3);
  --gray-300:var(--line); --gray-100:var(--mist); --gray-50:var(--paper);
  --transition:.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  background:var(--white);
  color:var(--gray-900);
  font-size:15px;
  line-height:1.6;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
input,select,textarea{font-family:inherit}
ul,ol{list-style:none}

/* ── Lot 2 : symboles — Material Symbols Rounded, un seul jeu partout (DESIGN-INTERIEUR.md §2) ── */
.ms{
  font-family:'Material Symbols Rounded';
  font-weight:300;
  font-size:22px;
  line-height:1;
  font-variation-settings:'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 24;
  display:inline-flex;
  vertical-align:middle;
  user-select:none;
}
.ms.fill{font-variation-settings:'FILL' 1,'wght' 300,'GRAD' 0,'opsz' 24}
.ms.sm{font-size:18px}
.ms.lg{font-size:28px}

/* h1/h2/h3, prix et chiffres clés en Outfit (DESIGN-INTERIEUR.md §4) */
h1,h2,h3{font-family:var(--font-display)}
.product-price,.pricing-amount,.hero-stat strong,.pro-abo-meta-val,
[data-price],.ws-price,.stat-count,.counter-value{
  font-family:var(--font-display);
  font-variant-numeric:tabular-nums;
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Slider container */
.splash-slides {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;
  transition: transform .9s cubic-bezier(.77,0,.175,1);
}
.splash-slide {
  width: 33.333%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.splash-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45) saturate(1.2);
  transform: scale(1.08);
  transition: transform 6s ease;
}
.splash-slide.active img { transform: scale(1); }

/* Green gradient overlay */
.splash-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,158,96,.15) 0%,
    rgba(10,15,13,.5) 40%,
    rgba(10,15,13,.95) 100%
  );
}

/* Content over slides */
.splash-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 32px 48px;
}

.splash-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.splash-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.splash-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
}
.splash-logo-text span { color: var(--green-light); }

.splash-text-area {
  padding-bottom: 8px;
}
.splash-slide-text {
  display: none;
  animation: fadeSlideUp .7s ease;
}
.splash-slide-text.active { display: block; }

@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

.splash-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,158,96,.25);
  border: 1px solid rgba(0,200,120,.3);
  border-radius: 100px;
  padding: 5px 14px;
  color: var(--green-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.splash-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.4)}
}

.splash-headline {
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.splash-headline em {
  font-style: normal;
  color: var(--green-light);
}
.splash-desc {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 320px;
}

/* Dots */
.splash-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.splash-dot {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.25);
  transition: width .4s ease, background .4s ease;
  width: 20px;
  cursor: pointer;
}
.splash-dot.active {
  width: 40px;
  background: var(--green);
}

/* CTA Buttons */
.splash-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.splash-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-green);
}
.splash-btn-primary:active { transform: scale(.97); }
.splash-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

/* ── Adaptation grands écrans (tablette / desktop) ──
   Ces règles n'existaient pas du tout : sur un écran large, le splash
   plein-écran hérité du mobile étirait l'image sur toute la largeur et
   collait le texte/les boutons dans un coin, comme un écran de téléphone
   simplement agrandi. On recentre le contenu dans une colonne lisible
   et on limite la largeur des boutons. */
@media (min-width: 769px) {
  .splash-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 48px 64px;
  }
  .splash-desc { max-width: 420px; }
  .splash-headline { font-size: clamp(40px, 5vw, 58px); }
  .splash-ctas {
    flex-direction: row;
    max-width: 420px;
  }
  .splash-btn-primary,
  .splash-btn-secondary { flex: 1; }
}
@media (min-width: 1200px) {
  .splash-content { max-width: 720px; padding: 72px 0 72px; }
}

/* ============================================================
   TOP NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0,158,96,.08);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.navbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,158,96,.3);
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.4px;
}
.brand-name span { color: var(--green); }

/* Desktop nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.navbar-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-links a:hover,
.navbar-links a.active {
  background: var(--gray-100);
  color: var(--green);
}

/* Search bar */
.navbar-search {
  flex: 1;
  max-width: 320px;
  position: relative;
}
.navbar-search input {
  width: 100%;
  padding: 9px 14px 9px 40px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--gray-900);
  outline: none;
  transition: var(--transition);
}
.navbar-search input:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.navbar-search .search-icon {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  pointer-events: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-icon {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: var(--transition);
  background: transparent;
}
.btn-icon:hover { background: var(--gray-100); color: var(--green); }
.btn-icon .ms { font-size: 22px; }

.badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

/* User menu */
.user-menu { position: relative; }
.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border-radius: 100px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.user-avatar-btn:hover {
  border-color: var(--green);
  background: var(--white);
}
.user-avatar-btn img,
.avatar-initials {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-initials {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-name-short {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-avatar-btn .ms {
  font-size: 18px;
  color: var(--gray-500);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  max-height: calc(100vh - var(--nav-h) - 24px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transition: var(--transition);
  transform-origin: top right;
}
.user-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.user-dropdown a:hover { background: var(--gray-50); color: var(--green); }
.user-dropdown a .ms { font-size: 18px; color: var(--gray-300); }
.dropdown-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }
.logout-link { color: var(--red) !important; }
.logout-link:hover { background: #fef2f2 !important; }
.logout-link .ms { color: var(--red) !important; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav {
   position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);  /* au lieu de left: -100% */
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 1100;
  padding: 24px 20px;
  overflow-y: auto;
  transition: left .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
  margin-bottom: 4px;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--gray-50);
  color: var(--green);
}
.mobile-nav a .ms { font-size: 20px; color: var(--gray-300); }

/* ============================================================
   BOTTOM BAR (mobile e-commerce)
   ============================================================ */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-bar-h);
  background: #ffffff;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-top: 3px solid var(--green);
  box-shadow: 0 -8px 28px rgba(0,0,0,.18), 0 -1px 0 rgba(0,158,96,.15);
  z-index: 900;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -8px 32px rgba(0,0,0,.08);
}
.bottom-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 68px;
  align-items: center;
}
.bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 1;
}
.bottom-tab:hover { color: var(--green); }
.bottom-tab .ms { font-size: 26px; transition: var(--transition); color: var(--ink); font-weight: 600; }
.bottom-tab.active {
  color: var(--green);
}
.bottom-tab.active .ms {
  transform: translateY(-2px);
  color: var(--green);
  font-weight: 700;
}
.bottom-tab-dot {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
}

/* Center FAB button in bottom bar */
.bottom-tab-fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--gray-300);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bottom-tab-fab .fab-circle {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  margin-top: -18px;
  transition: var(--transition);
}
.bottom-tab-fab .fab-circle .ms {
  font-size: 24px;
  color: var(--white);
}
.bottom-tab-fab:active .fab-circle { transform: scale(.93); }

/* ============================================================
   LAYOUT & SPACING
   ============================================================ */
.main-content {
  padding-top: var(--nav-h);
  min-height: 100vh;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-sm { padding: 36px 0; }

/* Page header (inside app) */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--gray-900);
}
.page-header p { font-size: 14px; color: var(--gray-500); margin-top: 2px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: -.1px;
}
.btn .ms { font-size: 17px; }
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0,158,96,.25);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(.97); }

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-100);
}
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-300); }

.btn-dark {
  background: var(--gray-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--gray-800); }

.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: var(--radius-lg); }
.btn-danger { background: #fef2f2; color: var(--red); border: 1.5px solid #fecaca; }
.btn-danger:hover { background: #fee2e2; }

/* ── Lot 2 : variantes bouton — secondary / gold / état chargement (DESIGN-INTERIEUR.md §3) ── */
.btn-secondary { background: var(--mist); color: var(--ink); }
.btn-secondary:hover { background: var(--line); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 2px 10px rgba(232,184,75,.35);
}
.btn-gold:hover { box-shadow: 0 8px 22px rgba(232,184,75,.4); transform: translateY(-1px); }
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 2px solid currentColor; border-color: rgba(255,255,255,.35) rgba(255,255,255,.35) #fff rgba(255,255,255,.35);
  border-radius: 50%;
  animation: wsBtnSpin .6s linear infinite;
  color: var(--white);
}
.btn-ghost.btn-loading::after, .btn-secondary.btn-loading::after { color: var(--ink); border-color: rgba(17,24,22,.2) rgba(17,24,22,.2) var(--ink) rgba(17,24,22,.2); }
@keyframes wsBtnSpin { to { transform: rotate(360deg); } }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gray-900);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
  display: flex;
  width: 200%;
}
.hero-bg-slide {
  width: 50%;
  flex-shrink: 0;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 1.2s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.38) saturate(1.3);
  transform: scale(1.06);
  transition: transform 8s ease;
}
.hero-bg-slide.active img { transform: scale(1); }
.hero-bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(0,158,96,.2) 0%,
    rgba(10,15,13,.6) 45%,
    rgba(10,15,13,.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,158,96,.2);
  border: 1px solid rgba(0,200,120,.3);
  border-radius: 100px;
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content:'';
  width:6px;height:6px;
  background:var(--green-light);
  border-radius:50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero-title em {
  font-style: normal;
  color: var(--green-light);
  position: relative;
}
.hero-desc {
  font-size: 16.5px;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-green);
  transition: var(--transition);
}
.hero-btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-btn-outline:hover { background: rgba(255,255,255,.18); }

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}
.hero-stat span {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
  transition: all .4s ease;
  width: 24px;
  cursor: pointer;
}
.hero-dot.active { width: 48px; background: var(--green); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 10;
}
.scroll-hint::after {
  content:'';
  width:1px; height:40px;
  background: rgba(255,255,255,.2);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{opacity:.3}50%{opacity:1} }

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(22px,3.5vw,32px);
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--gray-900);
  line-height: 1.15;
}
.section-title em { font-style:normal; color:var(--green); }

.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 16px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  transition: var(--transition);
}
.cat-card:hover .cat-icon {
  background: var(--green);
  transform: scale(1.08);
}
.cat-card:hover .cat-icon .ms { color: var(--white); }
.cat-icon .ms { font-size: 26px; color: var(--green); }
.cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}
.cat-count {
  font-size: 11.5px;
  color: var(--gray-500);
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  border-color: rgba(0,158,96,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-image {
  position: relative;
  aspect-ratio: 3/4; /* Lot 2 : visuels flyers portrait, jamais carré (DESIGN-INTERIEUR.md §3) */
  background: var(--gray-50);
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-badge.badge-gold { background: var(--gold); color: var(--gray-900); }
.product-badge.badge-red  { background: var(--red); }

.product-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition);
}
.product-card:hover .product-wishlist { opacity: 1; transform: translateY(0); }
.product-wishlist .ms { font-size: 16px; color: var(--gray-500); }

.product-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
  padding: 24px 12px 12px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-info {
  padding: 14px 14px 16px;
}
.product-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green);
  margin-bottom: 4px;
}
.product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-seller {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.product-price {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
}
.product-price .currency {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 2px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  color: var(--gold);
  margin-bottom: 4px;
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(120deg, var(--gray-900) 0%, #0d2b1e 100%);
  padding: 48px 52px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,158,96,.25), transparent 70%);
  border-radius: 50%;
}
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,158,96,.2);
  border: 1px solid rgba(0,200,120,.3);
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--green-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.promo-title {
  font-size: clamp(24px,3vw,36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.8px;
  margin-bottom: 10px;
}
.promo-title em { font-style:normal; color:var(--green-light); }
.promo-desc { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 24px; }

/* ============================================================
   SPECIALISTS SECTION
   ============================================================ */
.specialists-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.specialists-scroll::-webkit-scrollbar { display: none; }
.specialist-card {
  min-width: 180px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
}
.specialist-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.specialist-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gray-50);
  margin: 0 auto 10px;
  overflow: hidden;
  border: 2.5px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.specialist-avatar .ms { font-size: 32px; color: var(--green); }
.specialist-name { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.specialist-type { font-size: 11.5px; color: var(--gray-500); margin-bottom: 10px; }
.specialist-available {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: rgba(0,158,96,.1);
  padding: 3px 9px;
  border-radius: 100px;
}
.specialist-available::before {
  content:'';
  width:5px; height:5px;
  background: var(--green);
  border-radius: 50%;
}

/* ============================================================
   SUBSCRIPTION SECTION
   ============================================================ */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--green);
  background: linear-gradient(160deg, #f0fdf8, var(--white));
  box-shadow: var(--shadow-green);
}
.pricing-card .price-badge {
  position: absolute;
  top: -10px; right: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.pricing-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.8px;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.pricing-amount sup { font-size: 14px; font-weight: 600; vertical-align: top; margin-top: 8px; }
.pricing-period { font-size: 12px; color: var(--gray-500); margin-bottom: 20px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.pricing-feature .ms {
  font-size: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 48px; /* Lot 2 : champs 48px (DESIGN-INTERIEUR.md §3) */
  padding: 0 14px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-900);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.form-group textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
/* Lot 2 : erreur de champ — bord rouge + symbole error */
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
  border-color: var(--red); background: var(--red-soft);
}
.form-error { display:flex; align-items:center; gap:5px; font-size:12px; color:var(--red); margin-top:4px; font-weight:600; }
.form-error .ms { font-size:15px; }

/* ============================================================
   ALERTS & STATUS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 16px;
  border: 1.5px solid;
}
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .03em;
  text-transform: capitalize;
}
.status-active   { background: #f0fdf4; color: #166534; }
.status-pending  { background: #fffbeb; color: #92400e; }
.status-rejected { background: #fef2f2; color: #991b1b; }
/* Lot 2 : alias sémantiques tableaux commandes/abonnés (DESIGN-INTERIEUR.md §3) */
.status-paid      { background: var(--green-soft); color: var(--green-dark); }
.status-shipped   { background: var(--blue-soft);  color: var(--blue); }
.status-cancelled { background: var(--red-soft);   color: var(--red); }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--gray-100); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--gray-50); }
th {
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--gray-100);
}
td {
  padding: 13px 16px;
  font-size: 13.5px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }

/* ============================================================
   FLASH MESSAGES (toasts)
   ============================================================ */
.flash {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 16px;
  max-width: 380px;
  padding: 13px 40px 13px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  animation: slideInToast .35s ease;
}
@keyframes slideInToast {
  from { opacity:0; transform:translateX(24px); }
  to   { opacity:1; transform:translateX(0); }
}
.flash-success { background: var(--white); border-left: 4px solid var(--green); }
.flash-error   { background: var(--white); border-left: 4px solid var(--red); }
.flash-success .ms { color: var(--green); font-size: 20px; }
.flash-error   .ms { color: var(--red);   font-size: 20px; }
.flash-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  cursor: pointer;
  background: none; border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 56px 0 0;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--green-light); }
.footer-logo .brand-icon {
  width: 32px; height: 32px;
  font-size: 16px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.footer-domain {
  font-size: 12px;
  font-weight: 600;
  color: var(--green) !important;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 20px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.35); }
.payment-logos { display: flex; gap: 8px; }
.pay-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   UTILS
   ============================================================ */
.text-sm    { font-size: 12.5px; }
.text-muted { color: var(--gray-500); }
.text-green { color: var(--green); }
.text-center{ text-align: center; }
.bg-white   { background: var(--white); }
.rounded-xl { border-radius: var(--radius-xl); }
.shadow-sm  { box-shadow: var(--shadow-sm); }
.border-card{ border: 1.5px solid var(--gray-100); }

/* Inner page container */
.inner-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 20px;
  padding-bottom: calc(var(--bottom-bar-h) + 16px);
}

/* ============================================================
   NOTIFICATION PANEL
   ============================================================ */
.notif-panel {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  transform: translateX(100%);   /* au lieu de right: -380px */
  width: 360px;
  height: calc(100vh - var(--nav-h));
  background: var(--white);
  transition: transform var(--transition);
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0,0,0,.08);
  z-index: 2000; /* au-dessus de navbar(1000), mobile-nav(1100), flash(1200) — jamais caché */
}
.notif-panel.open { transform: translateX(0); }
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  background: var(--white);
}
.notif-header h3 { font-size: 15px; font-weight: 700; }
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-50);
  transition: background var(--transition);
}
.notif-item:hover { background: var(--gray-50); }
.notif-item.unread { background: #f0fdf4; }
.notif-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-icon .ms { font-size: 17px; color: var(--green); }
.notif-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.notif-msg   { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--gray-900);
  padding: 0 12px 24px;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  bottom: 0;
  overflow-y: auto;
}
.admin-sidebar .sidebar-section {
  padding: 20px 0 8px;
}
.sidebar-section-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
  padding: 0 10px;
  margin-bottom: 6px;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  margin-bottom: 2px;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(0,158,96,.2);
  color: var(--white);
}
.admin-sidebar a.active { color: var(--green-light); }
.admin-sidebar a .ms { font-size: 18px; }
.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 32px;
  background: var(--gray-50);
  min-height: calc(100vh - var(--nav-h));
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; padding: 24px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; }

  .navbar-links,
  .navbar-search { display: none; }
  .hamburger { display: flex; }
  .bottom-bar { display: block; }

  .main-content {
    padding-bottom: var(--bottom-bar-h);
  }

  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { aspect-ratio: 3/4; }

  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 22px; }
  .promo-banner { grid-template-columns: 1fr; padding: 32px 24px; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 340px; }

  .section { padding: 40px 0; }
  .footer { margin-top: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .notif-panel { width: 100%; }

  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 16px; }

  .page-header { gap: 12px; }
  .page-header h1 { font-size: 20px; }

  .inner-page { padding: 20px 14px; }
}

@media (max-width: 480px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card { padding: 14px 8px 12px; }
  .cat-name { font-size: 11px; }
  .cat-count { display: none; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 14px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info { padding: 10px 10px 12px; }
  .product-title { font-size: 13px; }
  .product-price { font-size: 14px; }
}

/* ============================================================
   AUTH PAGES — Login / Register / Inscription Pro
   ============================================================ */
.auth-body {
  min-height: 100vh;
  background: linear-gradient(150deg, #f0fdf8 0%, #e6f4ef 50%, #f5faf7 100%);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.auth-body::before {
  content: '';
  position: fixed;
  top: -30%; right: -20%;
  width: 70vw; height: 70vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(0,158,96,.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Auth top bar ── */
.auth-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0,158,96,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 200;
}
.auth-topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
  text-decoration: none;
}
.auth-topbar-brand .brand-icon {
  width: 30px; height: 30px;
  font-size: 14px;
  border-radius: 8px;
}
.auth-topbar-brand span { color: var(--green); }
.auth-topbar-back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  padding: 7px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.auth-topbar-back:hover { color: var(--green); border-color: var(--green); }
.auth-topbar-back .ms { font-size: 16px; }

/* ── Auth flash (inside topbar area) ── */
.auth-flash {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  z-index: 150;
  box-shadow: var(--shadow-md);
  border: 1.5px solid;
  animation: slideDownFade .35s ease;
}
@keyframes slideDownFade {
  from { opacity:0; transform:translateX(-50%) translateY(-8px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.auth-flash-success {
  background: var(--white);
  border-color: #bbf7d0;
  color: #166534;
}
.auth-flash-error {
  background: var(--white);
  border-color: #fecaca;
  color: #991b1b;
}
.auth-flash .ms { font-size: 18px; flex-shrink: 0; }
.auth-flash-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  cursor: pointer;
  line-height: 1;
  background: none; border: none;
}

/* ── Auth wrapper (center content) ── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 16px 32px;
  position: relative;
  z-index: 10;
}

/* ── Auth card ── */
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  border: 1px solid rgba(0,158,96,.08);
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 0 0 3px 3px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 20px;
}
.auth-logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
  text-decoration: none;
}
.auth-logo a span { color: var(--green); }

.auth-title { text-align: center; margin-bottom: 26px; }
.auth-title h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--gray-900); margin-bottom: 4px; }
.auth-title p  { font-size: 13.5px; color: var(--gray-500); }

/* ── Input group with icon ── */
.input-group { position: relative; }
.input-group input,
.input-group select { padding-right: 42px; }
.input-group-icon {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.input-group-icon:hover { color: var(--green); }
.input-group-icon .ms { font-size: 18px; }

/* ── Form controls ── */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.required { color: var(--red); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-900);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.w-full { width: 100%; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.9;
}
.auth-footer a { color: var(--green); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ── Divider ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--gray-300);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after { content:''; flex:1; height:1px; background:var(--gray-100); }

/* ============================================================
   HAMBURGER BUTTON (standalone, no btn-icon conflict)
   ============================================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.hamburger-btn:hover { background: var(--gray-200, #e5e7eb); }
.hamburger-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   RESPONSIVE — MOBILE & TABLET (toutes corrections)
   ============================================================ */

/* ── Tablet 768–1024px ── */
@media (max-width: 1024px) {
  .cats-grid          { grid-template-columns: repeat(4, 1fr); }
  .footer-inner       { grid-template-columns: 1fr; gap: 32px; }
  .footer-links       { grid-template-columns: repeat(3,1fr); }
  .admin-sidebar      { width: 200px; }
  .admin-main         { margin-left: 200px; padding: 24px; }
  .products-grid      { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile < 768px ── */
@media (max-width: 768px) {
  :root {
    --nav-h: 58px;
  }

  /* ── Navbar ── */
  .navbar-links  { display: none; }
  .navbar-search { display: none; }
  .hamburger-btn { display: flex; }   /* show hamburger */

  /* ── Footer: MASQUER sur mobile, remplacé par bottom bar ── */
  .footer { display: none !important; }

  /* ── Bottom bar: afficher ── */
  .bottom-bar { display: block; }
  .main-content { padding-bottom: var(--bottom-bar-h); }

  /* ── Products: max 2 colonnes ── */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-image { aspect-ratio: 3/4; }
  .product-info  { padding: 10px 10px 12px; }
  .product-title { font-size: 13px; }
  .product-price { font-size: 14px; }

  /* ── Categories: 4 icônes compactes ── */
  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card  { padding: 14px 6px 12px; border-radius: var(--radius-md); }
  .cat-icon  { width: 42px; height: 42px; font-size: 20px !important; margin-bottom: 8px; }
  .cat-name  { font-size: 10.5px; }
  .cat-count { display: none; }

  /* ── How it works: colonne unique ── */
  .how-it-works-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 100% !important;
  }

  /* ── Hero ── */
  .hero             { min-height: 100svh; min-height: 100vh; }
  .hero-title       { font-size: 34px; letter-spacing: -1px; }
  .hero-desc        { font-size: 14.5px; }
  .hero-actions     { flex-direction: column; }
  .hero-btn-primary,
  .hero-btn-outline { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-stats       { flex-wrap: wrap; gap: 16px; }
  .scroll-hint      { display: none; }

  /* ── Promo banner ── */
  .promo-banner { grid-template-columns: 1fr; padding: 28px 20px; }
  .promo-banner > div:last-child { display: none; }

  /* ── Section ── */
  .section    { padding: 36px 0; }
  .section-sm { padding: 24px 0; }
  .container  { padding: 0 14px; }

  /* ── Page header ── */
  .page-header    { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-header h1 { font-size: 20px; }

  /* ── Inner page ── */
  .inner-page { padding: 16px 12px; padding-bottom: calc(var(--bottom-bar-h) + 20px); }

  /* ── Flash: en bas sur mobile ── */
  .flash {
    top: auto;
    bottom: calc(var(--bottom-bar-h) + 10px);
    right: 12px;
    left: 12px;
    max-width: 100%;
    font-size: 13px;
    padding: 11px 38px 11px 12px;
    border-radius: var(--radius-md);
  }

  /* ── Tables ── */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table       { min-width: 580px; }

  /* ── Pricing ── */
  .pricing-cards { grid-template-columns: 1fr; max-width: 100%; }

  /* ── Specialists ── */
  .specialist-card { min-width: 148px; }

  /* ── Notif panel ── */
  .notif-panel { width: 100%; }

  /* ── Admin ── */
  .admin-sidebar { display: none; }
  .admin-main    { margin-left: 0; padding: 14px; padding-bottom: calc(var(--bottom-bar-h) + 16px); }

  /* ── Auth on mobile ── */
  .auth-wrapper { padding: 74px 12px 24px; align-items: flex-start; }
  .auth-card    { padding: 28px 18px 22px; border-radius: var(--radius-lg); max-width: 100%; }
  .auth-back-label { display: none; } /* hide "Accueil" label, keep icon only */
  .auth-topbar-back { padding: 8px; border-radius: 50%; min-width: 36px; justify-content: center; }

  /* ── Auth flash on mobile: below topbar ── */
  .auth-flash { top: 66px; }
}

/* ── Small phones < 480px ── */
@media (max-width: 480px) {
  .cats-grid { gap: 6px; }
  .cat-icon  { width: 36px; height: 36px; font-size: 17px !important; }
  .cat-name  { font-size: 9.5px; }

  .section-title   { font-size: 22px; letter-spacing: -.5px; }
  .hero-title      { font-size: 28px; }
  .hero-eyebrow    { font-size: 10.5px; padding: 5px 12px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .auth-card { padding: 24px 14px 18px; }
  .auth-title h2 { font-size: 19px; }
}

/* ── PWA / iPhone notch support ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .bottom-bar {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom));
  }
  .main-content {
    padding-bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom));
  }
  @media (max-width: 768px) {
    .flash {
      bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom) + 10px);
    }
  }
}

/* ── Form row (2-col grid in auth, single col on mobile) ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  /* Wide auth card for register */
  .auth-card[style*="max-width:600px"],
  .auth-card[style*="max-width: 600px"] { max-width: 100%; }
}

/* ── Policy checkbox ── */
.policy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600, #4b5563);
  line-height: 1.5;
  cursor: pointer;
}
.policy-check input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 1px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Step badge (register multi-step indicator) ── */
.register-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.register-step {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-300);
  transition: var(--transition);
}
.register-step.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ============================================================
   ADMIN — CORRECTIONS LAYOUT & MOBILE
   ============================================================ */

/* Compenser la navbar fixe */
.admin-layout {
  padding-top: var(--nav-h);
}

/* Sidebar mobile: glisse depuis la gauche */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .28s ease;
    top: var(--nav-h);
    z-index: 500;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
    padding: 20px 14px;
    padding-bottom: calc(var(--bottom-bar-h) + 20px);
  }
  .admin-layout {
    padding-top: var(--nav-h);
  }
}

/* Masquer bottom-bar admin sur desktop */
@media (min-width: 769px) {
  #admin-bottom-bar { display: none !important; }
}

/* Afficher hamburger dans navbar admin */
.navbar .hamburger-btn {
  display: none;
}
@media (max-width: 768px) {
  .navbar .hamburger-btn {
    display: flex;
  }
}

/* hide-xs / show-xs : paire texte↔icône sur très petit écran (bouton "S'inscrire"
   du header notamment, app/Views/layouts/main.php). Lot 8 : .show-xs n'avait
   jamais de règle globale — seul .hide-xs cachait le texte, l'icône de secours
   restait bloquée sur son style inline display:none, laissant un bouton plein
   sans aucun contenu visible en dessous de 480px. Les pages qui redéfinissent
   .show-xs pour leur propre usage (panier, IMC, catégorie) gardent la priorité :
   leur <style> vient après celui-ci dans le document. */
@media (max-width: 480px) {
  .hide-xs { display: none; }
  .show-xs { display: inline-flex !important; }
}

/* Alert styles (utilisés dans layouts admin/main pour flash) */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  border: 1.5px solid;
}
.alert .ms { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* Table styles (utilisés dans admin/user/pro views) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1.5px solid var(--gray-100);
  white-space: nowrap;
}
table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(0,158,96,.03); }
.text-sm  { font-size: 12px; }
.text-muted { color: var(--gray-500); }
.bg-white   { background: var(--white); }
.shadow-sm  { box-shadow: var(--shadow-sm); }
.border-card { border: 1.5px solid var(--gray-100); }
.rounded-xl  { border-radius: var(--radius-xl); }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   WELLSHOP — CATALOGUE FIX : classes utilisables desktop + mobile
   Ajouter À LA FIN de main.css (remplace catalogue_mobile_ecommerce.css)
   ============================================================ */

/* ── section-header-mobile : fonctionne partout ── */
.section-header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .625rem;
}
.section-header-mobile h2 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--gray-900);
}
.section-header-mobile a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

/* ── filter-chips : scrollables partout, wrappent sur desktop ── */
.filter-chips {
  display: flex;
  gap: .375rem;
  flex-wrap: wrap;          /* desktop : wrap */
  padding: .25rem 0 .5rem;
  margin-bottom: .75rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  height: 36px; /* Lot 2 : chips 36px (DESIGN-INTERIEUR.md §3) */
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: var(--mist);
  color: var(--ink-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  text-decoration: none;
}
.filter-chip:hover { background: var(--line); color: var(--green-dark); }
.filter-chip.active {
  background: var(--green);
  color: var(--white);
}
.filter-chip.active:hover { background: var(--green-dark); }

/* ── flash-sale-banner : desktop + mobile ── */
.flash-sale-banner {
  background: linear-gradient(90deg, var(--green), #00c878);
  border-radius: var(--radius-md);
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .875rem;
  color: var(--white);
}
.flash-sale-banner .label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Lot 2 : zéro emoji — "Offres du jour" → symbole bolt (DESIGN-INTERIEUR.md §2) */
.flash-sale-banner .label::before {
  content: 'bolt';
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 20;
  font-size: 16px;
  line-height: 1;
}
.flash-sale-timer {
  font-size: 12px;
  font-weight: 700;
  background: rgba(0,0,0,.2);
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}

/* ── cat-search-sticky : sticky sur mobile, normal sur desktop ── */
.cat-search-sticky {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: .875rem;
  position: relative;
}
.cat-search-sticky input {
  flex: 1;
  padding: 10px 14px 10px 40px;
  background: var(--gray-50);
  border: 1.5px solid transparent;
  border-radius: 100px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.cat-search-sticky input:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.cat-search-sticky .search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  pointer-events: none;
}

/* ── pro-quick-tags ── */
.pro-quick-tags { display:flex; flex-wrap:wrap; gap:.375rem; margin:.625rem 0; }
.pro-quick-tag  {
  display:inline-flex; align-items:center; gap:3px;
  font-size:11.5px; font-weight:600; padding:3px 10px;
  border-radius:100px; background:var(--gray-50); color:var(--gray-700);
  border:1px solid var(--gray-100);
}
.pro-quick-tag .ms { font-size:13px; color:var(--green); }

/* ── dispo-day-chips ── */
.dispo-day-chips { display:flex; gap:.375rem; flex-wrap:wrap; }
.dispo-day-chip  {
  min-width:72px; padding:.5rem .5rem .375rem;
  background:var(--gray-50); border-radius:var(--radius-sm);
  text-align:center; border:1px solid var(--gray-100);
}
.dispo-day-chip .jour  { font-size:.72rem; font-weight:800; color:var(--green); text-transform:uppercase; margin-bottom:2px; }
.dispo-day-chip .heure { font-size:.7rem; color:var(--gray-700); line-height:1.4; }

/* ── boutiques-mobile-scroll ── */
.boutiques-mobile-scroll { display:flex; gap:.625rem; flex-wrap:wrap; margin-bottom:.875rem; }
.boutique-mini-card {
  min-width:130px; background:var(--white); border:1.5px solid var(--gray-100);
  border-radius:var(--radius-md); overflow:hidden; text-decoration:none; color:inherit;
  transition:var(--transition);
}
.boutique-mini-card:hover { border-color:var(--green); transform:translateY(-2px); }
.boutique-mini-card .bmc-img { height:80px; background:var(--gray-50); display:flex; align-items:center; justify-content:center; font-size:2rem; overflow:hidden; }
.boutique-mini-card .bmc-img img { width:100%;height:100%;object-fit:cover; }
.boutique-mini-card .bmc-info { padding:.5rem .625rem .625rem; }
.boutique-mini-card .bmc-name { font-size:.75rem; font-weight:700; color:var(--gray-900); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.boutique-mini-card .bmc-addr { font-size:.68rem; color:var(--gray-500); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── pro-sticky-cta : mobile seulement ── */
.pro-sticky-cta { display:none; }

/* ── pro-detail-mobile-hero/card : caché sur desktop ── */
.pro-detail-mobile-hero { display:none; }
.pro-detail-mobile-card { padding:0; }

/* ════════ MOBILE OVERRIDES < 768px ════════ */
@media (max-width: 768px) {

  /* Sticky search */
  .cat-search-sticky {
    position: sticky;
    top: var(--nav-h);
    z-index: 200;
    background: var(--white);
    padding: .625rem .875rem;
    margin: -.75rem -12px .75rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }

  /* Chips : scroll horizontal sur mobile */
  .filter-chips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .filter-chips::-webkit-scrollbar { display:none; }
  .filter-chip { font-size:12px; padding:5px 12px; }

  /* Products grid */
  .products-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .product-image { aspect-ratio:3/4; }
  .product-info  { padding:7px 8px 10px; }
  .product-category { font-size:10px; }
  .product-title { font-size:12.5px; -webkit-line-clamp:2; }
  .product-seller { font-size:11px; }
  .product-price { font-size:13.5px; font-weight:800; color:var(--red); }
  .product-price .currency { font-size:10px; color:var(--red); opacity:.8; }
  .product-badge { font-size:9.5px; padding:2px 7px; }
  .product-overlay { display:none; }
  .product-wishlist { display:none; }

  /* Hero pro mobile */
  .pro-detail-mobile-hero {
    display: block;
    margin: 0 -12px;
    position: relative;
    height: 200px;
    background: linear-gradient(135deg,var(--green-glow),var(--gray-50));
    overflow: hidden;
  }
  .pro-detail-mobile-hero img { width:100%;height:100%;object-fit:cover; }
  .pro-detail-mobile-hero .hero-overlay {
    position:absolute;inset:0;
    background:linear-gradient(to bottom,transparent 30%,rgba(10,15,13,.7) 100%);
  }
  .pro-detail-mobile-card {
    margin: -40px 0 0;
    position: relative;
    z-index: 5;
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 1.25rem 1rem 1rem;
  }
  .pro-detail-mobile-avatar {
    width:70px;height:70px;border-radius:50%;
    border:3px solid var(--white);background:var(--white);
    box-shadow:0 4px 16px rgba(0,0,0,.12);overflow:hidden;
    display:flex;align-items:center;justify-content:center;margin-bottom:.75rem;
  }

  /* CTA sticky bas */
  .pro-sticky-cta {
    display: flex;
    position: fixed;
    bottom: var(--bottom-bar-h);
    left:0;right:0;
    padding:.625rem .875rem;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    border-top:1px solid var(--gray-100);
    z-index:300;
    gap:.5rem;
  }
  .pro-sticky-cta .btn { flex:1;justify-content:center; }

  /* dispo-day-chips : scroll sur mobile */
  .dispo-day-chips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .dispo-day-chips::-webkit-scrollbar { display:none; }

  /* boutiques : scroll horizontal */
  .boutiques-mobile-scroll { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .boutiques-mobile-scroll::-webkit-scrollbar { display:none; }
}

/* ============================================================
   ── Lot 2 : MOUVEMENT — chaque mouvement sert une action (DESIGN-INTERIEUR.md §5) ──
   ============================================================ */

/* Apparition au scroll : IntersectionObserver ajoute .is-visible (main.js) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Grille de cartes : décalage de 40ms entre elles (DESIGN-INTERIEUR.md §5) */
.reveal-grid > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.reveal-grid.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-grid.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-grid.is-visible > *:nth-child(2) { transition-delay: 40ms; }
.reveal-grid.is-visible > *:nth-child(3) { transition-delay: 80ms; }
.reveal-grid.is-visible > *:nth-child(4) { transition-delay: 120ms; }
.reveal-grid.is-visible > *:nth-child(5) { transition-delay: 160ms; }
.reveal-grid.is-visible > *:nth-child(6) { transition-delay: 200ms; }
.reveal-grid.is-visible > *:nth-child(7) { transition-delay: 240ms; }
.reveal-grid.is-visible > *:nth-child(8) { transition-delay: 280ms; }
.reveal-grid.is-visible > *:nth-child(n+9) { transition-delay: 320ms; }

/* Filet de sécurité : tout visible après 1,5s même sans JS / sans IntersectionObserver */
@keyframes wsRevealFailsafe { to { opacity: 1; transform: none; } }
.reveal, .reveal-grid > * { animation: wsRevealFailsafe 0s linear 1.5s forwards; }

/* Favori : le cœur "pop" une fois au clic */
@keyframes wsHeartPop { 0%{transform:scale(1)} 40%{transform:scale(1.25)} 100%{transform:scale(1)} }
.ms.heart-pop { animation: wsHeartPop .3s var(--ease); }

/* Panier : la pastille du badge panier pulse une fois après ajout */
@keyframes wsCartPulse { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }
.badge.cart-pulse { animation: wsCartPulse .4s var(--ease); }

/* Bouton "ajout au panier" réussi : bref état check (600ms), texte gardé */
.btn.btn-added { background: var(--green-dark) !important; }
.btn.btn-added .ms { animation: wsHeartPop .3s var(--ease); }

/* Compteurs (accueil) : rien de spécifique visuellement, la valeur est animée en JS (main.js) */
.ws-counting { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-grid > *,
  .cat-chip-icon, .cat-card, .cat-card .cat-icon, .product-card, .product-image img,
  .btn, .btn-primary, .navbar, .bottom-tab .ms,
  .ms.heart-pop, .badge.cart-pulse, .btn.btn-added .ms {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transform: none !important;
  }
  .reveal, .reveal-grid > * { opacity: 1 !important; }
}

/* ============================================================
   ── Lot 3 : CATALOGUE — mouvement relevé (DESIGN-INTERIEUR.md §5 bis) ──
   Jay (retour 20/09 01:45) : « je m'attendais à mieux avec des animations ».
   Ne modifie jamais .reveal/.reveal-grid (lot 2, utilisées par l'accueil en
   cours de refonte en parallèle) : tout ce qui suit vit sous des classes
   propres au lot 3, additives et sans effet ailleurs.
   ============================================================ */

/* ── Transition d'entrée de page : View Transitions native, fondu léger.
   Aucun flash blanc ; ignoré si le navigateur ne supporte pas la feature
   ou si l'utilisateur préfère moins de mouvement. ── */
@media (prefers-reduced-motion: no-preference) {
  @supports (view-transition-name: none) {
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation-duration: .22s; }
    ::view-transition-new(root) { animation-duration: .26s; }
  }
}

/* ── Prix — chiffres tabulaires, jamais de saut de ligne dans "12 500 FCFA" ── */
.ws-prix { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-prix small { font-size: .68em; font-weight: 600; opacity: .72; margin-left: 1px; }
.ws-prix--devis, .ws-prix--gratuit { font-weight: 700; color: var(--green); font-size: .82em; white-space: normal; }
.ws-prix--barre { font-weight: 500; text-decoration: line-through; opacity: .55; font-size: .82em; }
.ws-prix--barre small { opacity: .72; }

/* ── En-tête de section animé : titre glisse depuis la gauche + trait vert
   qui s'étire sous lui + symbole qui pop (une fois, à l'apparition) ── */
.ws-sec-anim .ws-sec-row {
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateX(-24px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.ws-sec-anim.is-visible .ws-sec-row { opacity: 1; transform: translateX(0); }
.ws-sec-anim .ws-sec-row > .ms:first-child {
  transform: scale(.6); transition: transform .28s var(--ease) .1s;
}
.ws-sec-anim.is-visible .ws-sec-row > .ms:first-child { transform: scale(1); }
.ws-sec-line {
  display: block; width: 52px; height: 3px; border-radius: 2px; margin-top: 6px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform-origin: left; transform: scaleX(0);
  transition: transform .5s var(--ease) .15s;
}
.ws-sec-anim.is-visible .ws-sec-line { transform: scaleX(1); }
.ws-sec-anim, .ws-sec-anim .ws-sec-row, .ws-sec-anim .ws-sec-line {
  animation: wsRevealFailsafe 0s linear 1.5s forwards;
}

/* ── Grille catalogue : cascade 45ms + léger scale .96→1 (lot 3, cf. .reveal-grid lot 2) ── */
.reveal-grid3 > * {
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.reveal-grid3.is-visible > * { opacity: 1; transform: none; }
.reveal-grid3.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-grid3.is-visible > *:nth-child(2) { transition-delay: 45ms; }
.reveal-grid3.is-visible > *:nth-child(3) { transition-delay: 90ms; }
.reveal-grid3.is-visible > *:nth-child(4) { transition-delay: 135ms; }
.reveal-grid3.is-visible > *:nth-child(5) { transition-delay: 180ms; }
.reveal-grid3.is-visible > *:nth-child(6) { transition-delay: 225ms; }
.reveal-grid3.is-visible > *:nth-child(7) { transition-delay: 270ms; }
.reveal-grid3.is-visible > *:nth-child(8) { transition-delay: 315ms; }
.reveal-grid3.is-visible > *:nth-child(n+9) { transition-delay: 360ms; }
.reveal-grid3, .reveal-grid3 > * { animation: wsRevealFailsafe 0s linear 1.5s forwards; }

/* ── Squelette image — jamais de carte blanche : shimmer vert très pâle
   tant que l'image n'est pas chargée (main.js gère les classes). ── */
.ali-img, .ali-img-placeholder, .bout-card-cover, .spec-card-cover, .coach-card-cover,
.pro-ali-cover, .boutique-ali-cover, .pro-feat-avatar, .produit-images, .produit-thumb,
.ws-imgbox {
  position: relative;
  background: linear-gradient(100deg, var(--green-soft) 8%, #f4fbf8 20%, var(--green-soft) 33%);
  background-size: 200% 100%;
}
.ali-img.ws-img-loading, .bout-card-cover.ws-img-loading, .spec-card-cover.ws-img-loading,
.coach-card-cover.ws-img-loading, .pro-ali-cover.ws-img-loading, .boutique-ali-cover.ws-img-loading,
.pro-feat-avatar.ws-img-loading, .produit-images.ws-img-loading, .produit-thumb.ws-img-loading,
.ws-imgbox.ws-img-loading {
  animation: wsShimmer 1.4s ease-in-out infinite;
}
@keyframes wsShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.ali-img img, .bout-card-cover img, .spec-card-cover img, .coach-card-cover img,
.pro-ali-cover img, .boutique-ali-cover img, .pro-feat-avatar img,
.produit-images img, .produit-thumb img, .ws-imgbox img {
  opacity: 0; transition: opacity .35s var(--ease);
}
.ali-img img.ws-loaded, .bout-card-cover img.ws-loaded, .spec-card-cover img.ws-loaded,
.coach-card-cover img.ws-loaded, .pro-ali-cover img.ws-loaded, .boutique-ali-cover img.ws-loaded,
.pro-feat-avatar img.ws-loaded, .produit-images img.ws-loaded, .produit-thumb img.ws-loaded,
.ws-imgbox img.ws-loaded {
  opacity: 1;
}
.ws-img-ready { background: var(--gray-50) !important; animation: none !important; }
/* Image réellement manquante (404/erreur) : dégradé + initiale, jamais de blanc */
.ws-img-broken {
  animation: none !important;
  background: linear-gradient(135deg, var(--green-soft), var(--gold-soft)) !important;
  display: flex; align-items: center; justify-content: center;
}
.ws-img-broken img { display: none; }
.ws-img-broken::after {
  content: attr(data-fallback-initial);
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  color: var(--green-dark); opacity: .55;
}

/* ── Cartes : inclinaison 3D légère au survol (souris uniquement, ≤3°)
   + reflet doré qui traverse. Sur tactile : élévation seule (voir plus bas). ── */
@media (hover: hover) and (pointer: fine) {
  .ws-tilt {
    position: relative; overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
    will-change: transform;
  }
  .ws-tilt::after {
    content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, rgba(232,184,75,.32) 50%, transparent 58%);
    transform: translateX(-130%); transition: transform .7s var(--ease);
  }
  .ws-tilt:hover::after { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) {
  .ws-tilt, .ws-tilt::after { transition: none !important; transform: none !important; }
}
/* Tactile : petite élévation au toucher, jamais d'inclinaison */
@media (hover: none) {
  .ws-tilt:active { transform: translateY(-2px); transition: transform .12s var(--ease); }
}

/* ── Galerie fiche produit : fondu croisé + zoom au survol + miniatures qui s'illuminent ── */
.produit-images img#main-product-img { transition: opacity .35s var(--ease), transform .5s var(--ease); touch-action: pan-y; }
@media (hover: hover) and (pointer: fine) {
  .produit-images:hover img#main-product-img { transform: scale(1.045); }
}
.produit-images.ws-fade-swap img#main-product-img { animation: wsGalleryFade .35s var(--ease); }

/* Dots indicateurs de la galerie — affichés seulement sur tactile */
.produit-dots { display: none; position: absolute; left: 0; right: 0; bottom: 12px; justify-content: center; gap: 6px; z-index: 3; pointer-events: none; }
.produit-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.45); transition: all .25s var(--ease); }
.produit-dot.is-active { width: 22px; background: var(--green-light); }
@media (hover: none) { .produit-dots { display: flex; } }
@keyframes wsGalleryFade { from { opacity: .25; } to { opacity: 1; } }
.produit-thumb { transition: border-color .15s var(--ease), filter .15s var(--ease); filter: brightness(.92); }
.produit-thumb.active, .produit-thumb:hover { filter: brightness(1.08); }

/* ── Prix qui "tombe" légèrement à l'apparition sur les fiches ── */
.ws-price-drop { animation: wsPriceDrop .5s var(--ease) both; }
@keyframes wsPriceDrop { 0% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 1; transform: translateY(0); } }

/* ── Toast bas "Ajouté au panier · Voir" (favori / panier / RDV) ── */
.ws-toast-bottom {
  position: fixed; left: 50%; bottom: calc(var(--bottom-bar-h, 60px) + 14px);
  transform: translateX(-50%) translateY(140%);
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600;
  padding: 10px 12px 10px 16px; border-radius: 100px; z-index: 4000;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  transition: transform .35s var(--ease);
  white-space: nowrap;
}
.ws-toast-bottom.show { transform: translateX(-50%) translateY(0); }
.ws-toast-bottom .ms { font-size: 18px; color: var(--green-light); flex-shrink: 0; }
.ws-toast-bottom a {
  color: var(--gold); font-weight: 800; text-decoration: none;
  border-left: 1px solid rgba(255,255,255,.25); padding-left: 10px; margin-left: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .ws-toast-bottom { transition: none; }
}

/* ── Favori / panier / RDV : icône qui saute (scale 1→1.3→1, 350ms) ── */
@keyframes wsBump { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
.ws-bump { animation: wsBump .35s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .ws-sec-anim .ws-sec-row, .ws-sec-anim .ws-sec-row > .ms:first-child, .ws-sec-line,
  .reveal-grid3 > *, .ws-img-loading, .ws-price-drop, .ws-bump,
  .produit-images img#main-product-img, .produit-thumb {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transform: none !important;
  }
  .ws-sec-anim .ws-sec-row, .reveal-grid3 > * { opacity: 1 !important; }
}

/* ── Lot 7 : espaces pro / salle / admin — cohérence minimale (DESIGN-INTERIEUR.md §3, §7) ──
   Scope volontairement restreint aux vues app/Views/pro, app/Views/salle, app/Views/admin :
   n'affecte jamais .table-wrap générique (catalogue/client) car réservé aux tableaux qui
   portent en plus la classe .ws-table-52. Réutilise .reveal-grid (lot 2) pour la cascade des
   lignes/cartes — aucun nouveau composant de mouvement créé ici. Pas de tilt 3D / reflet doré
   dans ces écrans de gestion (cf. brief lot 7) : ces classes ne figurent pas dans TILT_SELECTOR
   (public/js/main.js), donc .ws-tilt ne s'y applique jamais. */
.ws-table-52 thead tr { background: var(--paper); }
.ws-table-52 tr { height: 52px; }
.ws-table-52 th,
.ws-table-52 td { padding-top: 0; padding-bottom: 0; }

/* Champs de formulaire pro/salle/admin à 48px (les .form-group du lot 2 le sont déjà :
   ce bloc couvre les inputs hors .form-group, ex. filtres inline, recherche tableau). */
.ws-field-48 { height: 48px; border-radius: 14px; }

/* États vides sobres, cohérents avec le reste du site (symbole + phrase + un bouton). */
.ws-empty {
  text-align: center;
  padding: 56px 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-100);
}
.ws-empty .ms { font-size: 40px; color: var(--gray-300); display: block; margin-bottom: 12px; }
.ws-empty h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 6px; color: var(--gray-900); }
.ws-empty p { color: var(--gray-500); font-size: 14px; margin-bottom: 18px; }

@media (prefers-reduced-motion: reduce) {
  .admin-stat-card, .dash-stat-card { transition-duration: 0s !important; transform: none !important; }
}

/* ============================================================
   ── Lot 8 : VITESSE RESSENTIE (retour propriétaire, 20/09) ──
   "ça met du temps avant qu'une page s'ouvre" + "faut améliorer le
   responsive". Le serveur répond en 1-30ms : la lenteur est perçue,
   côté navigateur. Deux corrections ici :
   1) tout élément .reveal/.reveal-grid/.reveal-grid3/.ws-sec-anim déjà
      dans l'écran au chargement devient visible INSTANTANÉMENT (main.js
      ajoute .ws-instant + .is-visible avant même le premier scroll) —
      seul ce qui est sous la ligne de flottaison continue d'animer à
      l'apparition. Le filet de sécurité 1,5s (wsRevealFailsafe) reste
      intact pour le cas sans JS.
   2) CSS de app/Views/catalogue/index.php (bannière sidebar + cartes/
      grille catalogue) migré ici : moins de HTML répété à chaque
      chargement de /catalogue (~10 Ko), une seule feuille mise en cache
      par le navigateur au lieu d'un <style> réinjecté à chaque visite.
   ============================================================ */
.reveal.ws-instant,
.reveal-grid.ws-instant > *,
.reveal-grid3.ws-instant > *,
.ws-sec-anim.ws-instant .ws-sec-row,
.ws-sec-anim.ws-instant .ws-sec-line {
  transition: none !important;
  animation: none !important;
}

/* ── Bannière sidebar catalogue (ex app/Views/catalogue/index.php) ── */
.ws-ban-sidebar { display: none; }
@media (min-width: 1500px) {
  .ws-ban-sidebar {
    display: block;
    position: fixed;
    top: calc(var(--nav-h, 64px) + 24px);
    right: 24px;
    width: 200px;
    z-index: 50;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .ws-ban-sidebar a { display: block; position: relative; }
  .ws-ban-sidebar img { width: 100%; height: 260px; object-fit: cover; display: block; }
  .ws-ban-sidebar-label {
    position: absolute; bottom: 8px; right: 10px;
    font-size: 10px; font-weight: 700; color: rgba(255,255,255,.85);
    background: rgba(0,0,0,.4); padding: 2px 7px; border-radius: 5px;
  }
}

/* ── Catalogue index (ex <style> inline app/Views/catalogue/index.php) ── */
.pro-ali-type-badge { position:absolute;top:7px;left:7px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:2px 7px;border-radius:5px;backdrop-filter:blur(4px); }
.pro-ali-type-badge--spec     { background:rgba(159,18,57,.85);color:#fff; }
.pro-ali-type-badge--coach    { background:rgba(22,101,52,.85);color:#fff; }
.pro-ali-type-badge--boutique { background:rgba(107,33,168,.85);color:#fff; }
.pro-ali-type-badge--salle    { background:rgba(37,99,235,.85);color:#fff; }
.cat-section { padding:12px 0 4px;border-top:1px solid var(--gray-50); }
.cat-section:first-child { border-top:none; }
.cat-section-head { display:flex;align-items:center;justify-content:space-between;padding:0 var(--page-px,14px) 10px; }
.cat-section-title { font-size:13px;font-weight:800;color:var(--gray-900); }
.cat-hscroll { display:flex;gap:8px;overflow-x:auto;padding:0 var(--page-px,14px) 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory; }
.cat-hscroll::-webkit-scrollbar { display:none; }
.cat-hscroll--2col .cat-hscroll-card { flex-shrink:0;scroll-snap-align:start;width:calc(50vw - var(--page-px,14px) - 8px);max-width:200px; }
.cat-hscroll--1col .cat-hscroll-card--1col { flex-shrink:0;scroll-snap-align:start;width:calc(100vw - (var(--page-px,14px) * 2));max-width:480px; }
.ali-img--wide { aspect-ratio:16/9 !important; }
@media (min-width:480px) { .cat-hscroll--2col .cat-hscroll-card { width:calc(33vw - 12px);max-width:200px; } }
@media (min-width:769px) { .cat-hscroll--2col .cat-hscroll-card { width:180px;max-width:none; } .cat-hscroll--1col .cat-hscroll-card--1col { width:480px;max-width:none; } }
.ali-card { background:var(--white);border:1px solid var(--gray-100);border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s;position:relative; }
.ali-card:hover { box-shadow:0 6px 20px rgba(0,0,0,.1);transform:translateY(-2px); }
.ali-img { aspect-ratio:1/1;background:var(--gray-50);overflow:hidden;position:relative; }
.ali-img img { width:100%;height:100%;object-fit:cover;transition:transform .4s ease; }
.ali-card:hover .ali-img img { transform:scale(1.05); }
.ali-img-placeholder { width:100%;height:100%;display:flex;align-items:center;justify-content:center; }
.ali-rupture { position:absolute;top:6px;left:6px;background:rgba(229,57,53,.9);color:#fff;font-size:9px;font-weight:700;padding:2px 6px;border-radius:4px;text-transform:uppercase; }
.ali-body { padding:8px 9px 10px;flex:1;display:flex;flex-direction:column;position:relative; }
.ali-cat { font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--green);margin-bottom:3px; }
.ali-title { font-size:12.5px;font-weight:600;color:var(--gray-900);line-height:1.35;margin-bottom:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1; }
.ali-seller { font-size:10.5px;color:var(--gray-400);margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.ali-price { font-size:14px;font-weight:800;color:var(--red);letter-spacing:-.2px;line-height:1; }
.ali-price small { font-size:10px;font-weight:500;color:var(--gray-500); }
.ali-add-btn { position:absolute;bottom:8px;right:8px;width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;box-shadow:0 2px 8px rgba(0,158,96,.35);padding:0;transition:transform .15s; }
.ali-add-btn:active { transform:scale(.9); }
.ali-add-btn .ms { font-size:15px; }
/* Lot 8 : cible tactile réelle 44px sans agrandir le bouton visuel (design
   compact des cartes conservé) — zone invisible centrée sur le bouton. */
.ali-add-btn::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}
.feed-loader { display:none;justify-content:center;padding:16px 0 4px; }
.feed-loader.visible { display:flex; }
.feed-loader-dots { display:flex;gap:6px; }
.feed-loader-dots span { width:8px;height:8px;background:var(--green);border-radius:50%;animation:dotBounce .9s ease-in-out infinite; }
.feed-loader-dots span:nth-child(2) { animation-delay:.15s; }
.feed-loader-dots span:nth-child(3) { animation-delay:.3s; }
@keyframes dotBounce { 0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(-8px);opacity:1} }
.flash-sale-banner { display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#1a1a2e,#16213e);color:#fff;border-radius:var(--radius-md);padding:8px 14px;font-size:12.5px;font-weight:600;margin:0 var(--page-px,14px); }
.flash-sale-banner .label { flex-shrink:0;background:#ef4444;color:#fff;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em; }
.flash-sale-timer { flex-shrink:0;font-family:monospace;font-size:14px;font-weight:800;color:#fbbf24;margin-left:auto; }
/* Lot 3 : marquee douce des promotions réelles (25s/boucle, pause au survol) */
.flash-sale-marquee-wrap { flex:1;min-width:0;overflow:hidden; }
.flash-sale-marquee { display:flex;gap:24px;width:max-content;animation:wsFlashMarquee 25s linear infinite; }
.flash-sale-marquee:hover { animation-play-state:paused; }
@keyframes wsFlashMarquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.flash-sale-item { color:#fff;text-decoration:none;white-space:nowrap;opacity:.92; }
.flash-sale-item strong { color:#fbbf24;margin-left:4px; }
@media (prefers-reduced-motion: reduce) { .flash-sale-marquee { animation:none; } }
.cat-empty-inline { padding:1.5rem var(--page-px,14px);color:var(--gray-400);font-size:13px; }
#cat-fab-top { position:fixed;bottom:calc(var(--bottom-bar-h,68px) + 14px);right:16px;z-index:800;width:46px;height:46px;border-radius:50%;background:var(--gray-900);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.25);opacity:0;pointer-events:none;transform:translateY(12px) scale(.9);transition:opacity .22s ease,transform .22s ease; }
#cat-fab-top.visible { opacity:1;pointer-events:all;transform:translateY(0) scale(1); }
#cat-fab-top:active { transform:scale(.93); }
#cat-fab-top .ms { font-size:22px; }
@media (min-width:769px) { #cat-fab-top { bottom:28px;right:28px;width:50px;height:50px; } }
.ali-share-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  transition: background .15s, color .15s;
  flex-shrink: 0;
  padding: 0;
  position: relative;
}
.ali-share-btn:hover { background: #f0fdf4; color: var(--green); border-color: var(--green); }
.ali-share-btn .ms { font-size: 14px; }
/* Lot 8 : cible tactile réelle 44px, même logique que .ali-add-btn ci-dessus. */
.ali-share-btn::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}

/* Vidéo dans les cards — pause au scroll hors vue */
.ali-card-video { display:block; }

.cat-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 14px;
  grid-auto-flow: dense;
}
@media (min-width: 480px)  { .cat-prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .cat-prod-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 20px; } }
@media (min-width: 1024px) { .cat-prod-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1280px) { .cat-prod-grid { grid-template-columns: repeat(6, 1fr); } }

/* Card vidéo — occupe toute la largeur de la grille (comme une pub ou un
   featured post), avec un cadre 16:9 adapté au format vidéo plutôt que
   carré. Les cartes produits avec image restent sur la grille standard
   (2 par ligne en mobile, plus en desktop). */
.ali-card--video {
  grid-column: 1 / -1;
}
.ali-card--video .ali-img {
  aspect-ratio: 16/9;
}
.ali-card--video .ali-body {
  padding: 10px 12px 12px;
}
.ali-card--video .ali-title {
  -webkit-line-clamp: 2;
  font-size: 14px;
}

@media (min-width: 769px) {
  .cpage {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .cat-section-head {
    padding: 0 0 12px;
  }

  .cat-hscroll {
    padding: 0 0 12px;
  }

  /* Sur desktop, ces rangées restaient un bandeau à défilement horizontal
     figé (cartes de 180-200px de large avec une scrollbar), comme si
     l'écran était toujours un téléphone. On les transforme en vraie
     grille qui utilise la largeur disponible. */
  .cat-hscroll--2col {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    overflow: visible;
  }
  .cat-hscroll--2col .cat-hscroll-card {
    width: auto !important;
    max-width: none !important;
  }

  .cat-hscroll--1col {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
    overflow: visible;
  }
  .cat-hscroll--1col .cat-hscroll-card--1col {
    width: auto !important;
    max-width: none !important;
  }
}
.ali-vues {
    font-size: 10px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
    font-weight: 500;
}

/* ── Étoiles compact (cards) ── */
.ws-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
}
.ws-stars-row .ws-s {
  font-size: 11px;
  line-height: 1;
}
.ws-stars-row .ws-s--full  { color: #f59e0b; }
.ws-stars-row .ws-s--empty { color: #d1d5db; }
.ws-stars-row .ws-s--half  { color: #f59e0b; opacity: .55; }
.ws-stars-row .ws-s-avg {
  font-size: 10.5px;
  font-weight: 700;
  color: #92400e;
  margin-left: 1px;
}
.ws-stars-row .ws-s-nb {
  font-size: 9.5px;
  color: var(--gray-400);
}


/* ── Lot 11 : micro-animations ── */
/* « WS Motion » (public/js/ws-motion.js). Tout en transform/opacity ; chaque mouvement
   répond à un geste, rien ne boucle. prefers-reduced-motion : états directs. */

/* Composant « + » → « − n + » (app/helpers.php::ws_ajout_panier). La pilule est faite
   de trois pièces pour se déplier sans animer de dimension : capuchon gauche (le −),
   corps (::before, scaleX depuis la droite) et capuchon droit (le +). */
.ws-ajout {
  position: absolute; right: 8px; bottom: 8px; z-index: 5;
  width: 96px; height: 32px; pointer-events: none;
  font-family: var(--font-display); font-weight: 700;
  user-select: none; -webkit-user-select: none;
}
.ws-ajout::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 16px; right: 16px;
  background: var(--green); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .32s cubic-bezier(.34,1.56,.64,1);
}
.ws-ajout .ws-ajout-m, .ws-ajout .ws-ajout-p { /* spécificité > ".cart-qty button" de la page panier */
  position: absolute; top: 0; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: var(--green); color: #fff; font: inherit; font-size: 21px; line-height: 32px;
  display: block; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), opacity .2s var(--ease);
}
.ws-ajout .ws-ajout-m::before, .ws-ajout .ws-ajout-p::before { /* zone tactile réelle 44 px, bouton visuel inchangé */
  content: ''; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
}
.ws-ajout .ws-ajout-p { right: 0; pointer-events: auto; box-shadow: 0 2px 8px rgba(0,158,96,.35); }
.ws-ajout .ws-ajout-m { left: 0; opacity: 0; transform: translateX(64px); }
.ws-ajout-n {
  position: absolute; left: 32px; right: 32px; top: 0; height: 32px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
  color: #fff; font-size: 14px; opacity: 0; transform: scale(.6);
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), opacity .2s var(--ease);
}
.ws-ajout-n b { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
.ws-ajout.is-ouvert { pointer-events: auto; }
.ws-ajout.is-ouvert::before { transform: scaleX(1); }
.ws-ajout.is-ouvert .ws-ajout-m, .ws-ajout.is-ouvert .ws-ajout-n { opacity: 1; transform: none; }
.ws-ajout.is-ouvert .ws-ajout-m:active, .ws-ajout .ws-ajout-p:active { transform: scale(.88); }
.ws-ajout.is-ouvert button[aria-disabled="true"], .ws-ajout .ws-ajout-p[aria-disabled="true"] { opacity: .45; cursor: default; }
/* Page panier : toujours dépliée, dans le flux de la ligne (minimum 1, la corbeille supprime) */
.ws-ajout--ligne { position: relative; right: auto; bottom: auto; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ws-ajout--ligne .ws-ajout-p { box-shadow: none; }
.cart-qty .ws-ajout button::before { width: 44px; height: 44px; } /* la page panier redéfinit ::before des boutons */

/* Vignette qui s'envole vers le panier (clone fixe, retiré à l'arrivée) */
.ws-vol {
  position: fixed; z-index: 6000; margin: 0; pointer-events: none;
  object-fit: cover; object-position: top; will-change: transform, opacity;
  box-shadow: 0 8px 24px rgba(10,15,13,.22);
}

/* Pastille du panier : le nombre roule (transform sur le <b> interne, la pastille masque) */
a[href$="/panier"] .badge { overflow: hidden; }
.badge b { display: block; font-weight: inherit; }

/* Éclat du cœur favori (6 particules max, 450 ms) */
.ws-eclat {
  position: fixed; z-index: 6000; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: #ef4444; pointer-events: none;
}
.ws-eclat--or { background: var(--gold); }

/* Pression des boutons + onde au clic sur les boutons principaux */
.btn:active, .btn-icon:active, .filter-chip:active { transform: scale(.97); }
:where(.btn-primary, .btn-gold) { position: relative; overflow: hidden; }
.ws-onde { position: absolute; border-radius: 50%; background: #fff; opacity: 0; pointer-events: none; transform: scale(0); }

/* Toast bas : barre de temps (3 s, une fois) */
.ws-toast-bottom { overflow: hidden; }
.ws-toast-bottom::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--green-light); transform: scaleX(1); transform-origin: 0 50%;
}
.ws-toast-bottom.show::after { animation: wsToastTemps 3s linear forwards; }
@keyframes wsToastTemps { to { transform: scaleX(0); } }

/* Filtres : la pilule verte glisse du filtre actif vers le filtre cliqué (FLIP) */
.filter-chip { position: relative; isolation: isolate; }
.ws-chip-pilule { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--green); transform-origin: 0 0; pointer-events: none; }
.filter-chip.ws-chip-vol, .filter-chip.ws-chip-vol:hover { background: transparent; }

/* ──────────────────────────────────────────────────────────────
   BILLETTERIE — Façade B4 (20/09/2026)
   Charte : noir/vert, Material Symbols, mobile-first.
   ────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────
   ACCÈS RAPIDES — bloc visible uniquement pour utilisateurs
   connectés, juste sous le hero de la home (20/09/2026).
   ────────────────────────────────────────────────────────────── */
.ws-quick { max-width: 1320px; margin: 18px auto 0; padding: 0 16px; }
.ws-quick__head { padding: 4px 4px 12px; }
.ws-quick__head .section-tag { background: var(--green); color: #fff; border-color: var(--green); }
.ws-quick__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 3.2vw, 24px); margin: 8px 0 0; color: var(--ink); }
.ws-quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ws-quick__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 8px; background: #fff; border: 1.5px solid var(--gray-100); border-radius: 14px;
  text-align: center; text-decoration: none; color: var(--ink); transition: all .2s var(--ease); min-height: 96px; }
.ws-quick__tile:hover { border-color: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.06); }
.ws-quick__tile .ms { font-size: 28px; color: var(--green); }
.ws-quick__tile:active { transform: scale(.97); }
.ws-quick__lbl { font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--gray-700); }
@media (min-width: 720px)  { .ws-quick__grid { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 1100px) { .ws-quick__grid { grid-template-columns: repeat(8, 1fr); gap: 12px; } .ws-quick__tile { min-height: 110px; } .ws-quick__tile .ms { font-size: 32px; } .ws-quick__lbl { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) {
  .ws-quick__tile, .ws-quick__tile:hover, .ws-quick__tile:active { transition: none !important; transform: none !important; }
}

/* ──────────────────────────────────────────────────────────────
   ÉVÉNEMENTS À VENIR — bande horizontale sur la home app (connecté)
   ────────────────────────────────────────────────────────────── */
.ws-upcoming { max-width: 1320px; margin: 28px auto 0; padding: 0 16px; }
.ws-upcoming__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 0 4px; }
.ws-upcoming__head .section-tag { background: var(--green); color: #fff; border-color: var(--green); }
.ws-upcoming__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 3.5vw, 26px); margin: 6px 0 0; color: var(--ink); }
.ws-upcoming__seeall { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none; padding: 8px 12px; border-radius: 999px; flex-shrink: 0; }
.ws-upcoming__seeall .ms { font-size: 16px; transition: transform .2s ease; }
.ws-upcoming__seeall:hover .ms { transform: translateX(3px); }

.ws-upcoming__row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ws-up-event { flex: 0 0 240px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--gray-100); transition: all .25s var(--ease); }
.ws-up-event:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--green-light); }
.ws-up-event__media { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ws-up-event__media::before { content: ''; position: absolute; inset: -30%; background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 55%); }
.ws-up-event__media .ms { font-size: 56px; color: rgba(255,255,255,.4); position: relative; z-index: 1; filter: drop-shadow(0 3px 10px rgba(0,0,0,.2)); }
.ws-up-event--concert    .ws-up-event__media { background: linear-gradient(135deg, #4c1d95 0%, #7e22ce 50%, #c026d3 100%); }
.ws-up-event--spectacle  .ws-up-event__media { background: linear-gradient(135deg, #be185d 0%, #db2777 50%, #f472b6 100%); }
.ws-up-event--formation  .ws-up-event__media { background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #60a5fa 100%); }
.ws-up-event--conference .ws-up-event__media { background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%); }
.ws-up-event--sport      .ws-up-event__media { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #fb7185 100%); }
.ws-up-event--culturel   .ws-up-event__media { background: linear-gradient(135deg, #0a2418 0%, #0e3a22 50%, #1c8054 100%); }
.ws-up-event--autre      .ws-up-event__media { background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%); }
.ws-up-event__body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ws-up-event__date { font-size: 11px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .03em; }
.ws-up-event__title { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-up-event__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.ws-up-event__arrow { font-size: 18px; color: var(--gray-500); transition: transform .2s ease, color .2s ease; }
.ws-up-event:hover .ws-up-event__arrow { color: var(--green); transform: translateX(3px); }
@media (min-width: 720px) {
  .ws-upcoming__row { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 16px; padding: 4px 4px 8px; }
  .ws-up-event { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-up-event, .ws-up-event:hover, .ws-upcoming__seeall .ms, .ws-up-event__arrow { transition: none !important; transform: none !important; }
}

/* ──────────────────────────────────────────────────────────────
   BILLETTERIE — Façade B4 (20/09/2026)
   Charte : noir/vert, Material Symbols, mobile-first.
   ────────────────────────────────────────────────────────────── */
.ws-bil-hero { position: relative; padding: 26px 18px 22px; border-radius: 20px; overflow: hidden; margin: 12px 0 18px;
  background: linear-gradient(135deg, #0a120e 0%, #0e1c14 50%, #0a2418 100%); color: #fff; isolation: isolate; }
.ws-bil-hero__bg { position: absolute; inset: 0; z-index: -1; opacity: .45;
  background: radial-gradient(circle at 85% 20%, rgba(80,200,120,.35) 0%, transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(46,160,80,.25) 0%, transparent 50%); }
.ws-bil-hero__inner { max-width: 760px; min-width: 0; }
.ws-bil-hero__inner .section-tag { background: rgba(255,255,255,.1); color: #b8e8c8; border-color: rgba(255,255,255,.18); }
.ws-bil-hero__inner .cpage-title { color: #fff; font-size: clamp(22px, 4.6vw, 36px); margin: 6px 0 4px; line-height: 1.15;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; word-break: break-word; }
.ws-bil-hero__inner .cpage-title .ms { flex-shrink: 0; }
.ws-bil-hero__inner .ws-sec-line { background: var(--green-light); }
.ws-bil-hero__lead { color: #d6e4dc; font-size: 14px; line-height: 1.5; max-width: 620px; margin: 10px 0 14px; }
.ws-bil-hero__stats { display: flex; gap: 18px; flex-wrap: wrap; }
.ws-bil-stat { display: flex; flex-direction: column; min-width: 0; }
.ws-bil-stat__num { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--green-light); line-height: 1; }
.ws-bil-stat__lbl { font-size: 11px; color: #a8bfb4; margin-top: 4px; text-transform: uppercase; letter-spacing: .4px; }

.ws-bil-filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin: 0 -4px; scrollbar-width: thin; }
.ws-bil-filters::-webkit-scrollbar { height: 4px; }
.ws-bil-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--gray-50); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap;
  border: 1.5px solid var(--gray-100); transition: all .2s ease; text-decoration: none; flex-shrink: 0; }
.ws-bil-chip .ms { font-size: 16px; }
.ws-bil-chip:hover { background: var(--gray-100); border-color: var(--gray-200); }
.ws-bil-chip.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.ws-bil-chip.is-active .ms { color: #fff; }

.ws-bil-empty { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.ws-bil-empty .ms { font-size: 56px; color: var(--gray-300); display: block; margin-bottom: 12px; }
.ws-bil-empty h2 { font-size: 18px; color: var(--ink); margin: 0 0 6px; }

.ws-bil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding: 4px 0 24px; }
.ws-bil-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gray-100); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; min-width: 0; }
.ws-bil-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.10); border-color: var(--green-light); }
.ws-bil-card__media { position: relative; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* Bannières distinctives par catégorie — chaque univers a son identité */
.ws-bil-card--concert    .ws-bil-card__media { background: linear-gradient(135deg, #4c1d95 0%, #7e22ce 50%, #c026d3 100%); }
.ws-bil-card--spectacle  .ws-bil-card__media { background: linear-gradient(135deg, #be185d 0%, #db2777 50%, #f472b6 100%); }
.ws-bil-card--formation  .ws-bil-card__media { background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #60a5fa 100%); }
.ws-bil-card--conference .ws-bil-card__media { background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%); }
.ws-bil-card--sport      .ws-bil-card__media { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #fb7185 100%); }
.ws-bil-card--culturel   .ws-bil-card__media { background: linear-gradient(135deg, #0a2418 0%, #0e3a22 50%, #1c8054 100%); }
.ws-bil-card--autre      .ws-bil-card__media { background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%); }
/* Halo lumineux + icône plus présente */
.ws-bil-card__placeholder { position: relative; z-index: 1; }
.ws-bil-card__placeholder::before { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 55%); z-index: -1; }
.ws-bil-card__placeholder .ms { font-size: 92px; color: rgba(255,255,255,.32); position: relative; z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.25)); }
/* Badge d'urgence J-X */
.ws-bil-card__jx { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .02em; backdrop-filter: blur(6px); border: 1.5px solid rgba(255,255,255,.4);
  text-transform: uppercase; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.ws-bil-card__jx--red    { background: rgba(220,38,38,.92);    color: #fff; animation: wsJxPulse 1.6s ease-in-out infinite; }
.ws-bil-card__jx--orange { background: rgba(234,88,12,.92);    color: #fff; }
.ws-bil-card__jx--green  { background: rgba(22,163,74,.92);   color: #fff; }
.ws-bil-card__jx--mute   { background: rgba(75,85,99,.85);     color: #fff; }
@keyframes wsJxPulse { 0%,100% { box-shadow: 0 4px 12px rgba(0,0,0,.18), 0 0 0 0 rgba(220,38,38,.6); }
                       50%     { box-shadow: 0 4px 12px rgba(0,0,0,.18), 0 0 0 8px rgba(220,38,38,0); } }
@media (prefers-reduced-motion: reduce) { .ws-bil-card__jx--red { animation: none; } }
.ws-bil-card__cat-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,.65); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500;
  backdrop-filter: blur(8px); z-index: 2; }
.ws-bil-card__cat-badge .ms { font-size: 14px; color: var(--green-light); }
.ws-bil-card__soldout { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: 2px; text-transform: uppercase; z-index: 1; }
.ws-bil-card__body { display: flex; gap: 14px; padding: 14px 16px 16px; flex: 1; }
.ws-bil-card__date { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--gray-50); border-radius: 10px; padding: 8px 6px; min-width: 56px; }
.ws-bil-card__day { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ink); }
.ws-bil-card__mon { font-size: 10px; font-weight: 700; color: var(--green); text-transform: uppercase; margin-top: 2px; letter-spacing: .5px; }
.ws-bil-card__time { font-size: 10px; color: var(--gray-500); margin-top: 4px; }
.ws-bil-card__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ws-bil-card__title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 6px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-bil-card__meta { font-size: 12px; color: var(--gray-500); margin-bottom: 10px; }
.ws-bil-card__loc { display: inline-flex; align-items: center; gap: 4px; }
.ws-bil-card__loc .ms { font-size: 14px; color: var(--green); }
.ws-bil-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; }
.ws-bil-card__cta { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.ws-bil-card__cta .ms { font-size: 16px; transition: transform .2s ease; }
.ws-bil-card:hover .ws-bil-card__cta .ms { transform: translateX(3px); }

/* Détail événement */
.ws-bil-breadcrumb { margin: 8px 0 14px; }
.ws-bil-breadcrumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--gray-700); font-size: 13px; text-decoration: none; }
.ws-bil-breadcrumb a:hover { color: var(--green); }
.ws-bil-breadcrumb .ms { font-size: 16px; }

.ws-bil-show__hero { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 26px; }
.ws-bil-show__hero-media { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #0a2418 0%, #0e3a22 100%); display: flex; align-items: center; justify-content: center; }
.ws-bil-show__hero-media--concert    { background: linear-gradient(135deg, #4c1d95 0%, #7e22ce 50%, #c026d3 100%); }
.ws-bil-show__hero-media--spectacle  { background: linear-gradient(135deg, #be185d 0%, #db2777 50%, #f472b6 100%); }
.ws-bil-show__hero-media--formation  { background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #60a5fa 100%); }
.ws-bil-show__hero-media--conference { background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%); }
.ws-bil-show__hero-media--sport      { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #fb7185 100%); }
.ws-bil-show__hero-media--culturel   { background: linear-gradient(135deg, #0a2418 0%, #0e3a22 50%, #1c8054 100%); }
.ws-bil-show__hero-media--autre      { background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%); }
.ws-bil-show__placeholder .ms { font-size: 120px; color: rgba(255,255,255,.22); filter: drop-shadow(0 6px 20px rgba(0,0,0,.25)); }
.ws-bil-show__placeholder { position: relative; }
.ws-bil-show__placeholder::before { content: ''; position: absolute; inset: -50%; background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 55%); }
.ws-bil-show__cat-badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.65); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; backdrop-filter: blur(8px); }
.ws-bil-show__cat-badge .ms { font-size: 16px; color: var(--green-light); }
.ws-bil-show__hero-body { padding: 4px 0; }
.ws-bil-show__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 4vw, 32px); line-height: 1.2; color: var(--ink); margin: 0 0 16px; word-break: break-word; }
.ws-bil-show__metas { display: flex; flex-direction: column; gap: 12px; }
.ws-bil-show__meta { display: flex; gap: 12px; align-items: flex-start; }
.ws-bil-show__meta .ms { font-size: 22px; color: var(--green); flex-shrink: 0; padding-top: 2px; }
.ws-bil-show__meta strong { display: block; font-size: 14px; color: var(--ink); text-transform: capitalize; }
.ws-bil-show__meta span { font-size: 13px; color: var(--gray-500); }

.ws-bil-show__layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
.ws-bil-show__desc { background: #fff; border: 1px solid var(--gray-100); border-radius: 16px; padding: 22px; }
.ws-bil-show__desc h2 { font-size: 17px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.ws-bil-show__desc h2 .ms { font-size: 20px; color: var(--green); }
.ws-bil-show__desc p { color: var(--gray-700); line-height: 1.6; margin: 0 0 18px; font-size: 14.5px; }
.ws-bil-show__infos { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.ws-bil-show__infos > div { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-700); }
.ws-bil-show__infos .ms { font-size: 16px; color: var(--green); }
.ws-bil-show__muted { color: var(--gray-500); font-style: italic; }

.ws-bil-show__tarifs { background: #fff; border: 1px solid var(--gray-100); border-radius: 16px; padding: 22px;
  position: sticky; top: 16px; align-self: start; }
.ws-bil-show__tarifs h2 { font-size: 17px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.ws-bil-show__tarifs h2 .ms { font-size: 20px; color: var(--green); }
.ws-bil-tarifs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-bil-tarif { border: 1.5px solid var(--gray-100); border-radius: 12px; padding: 14px; background: var(--gray-50); transition: border-color .2s ease; }
.ws-bil-tarif:hover { border-color: var(--green-light); }
.ws-bil-tarif--soldout { opacity: .6; }
.ws-bil-tarif__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.ws-bil-tarif__head h3 { font-size: 15px; font-weight: 700; margin: 0; color: var(--ink); }
.ws-bil-tarif__desc { font-size: 12.5px; color: var(--gray-500); margin: 0 0 10px; line-height: 1.4; }
.ws-bil-tarif__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ws-bil-tarif__stock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--green); font-weight: 500; }
.ws-bil-tarif__stock .ms { font-size: 14px; }
.ws-bil-tarif__stock--off { color: var(--gray-500); }
.ws-bil-show__notice { margin: 18px 0 0; padding: 12px 14px; background: rgba(80,200,120,.08); border-radius: 10px;
  font-size: 12.5px; color: var(--gray-700); display: flex; align-items: center; gap: 8px; }
.ws-bil-show__notice .ms { font-size: 16px; color: var(--green); flex-shrink: 0; }

@media (min-width: 720px) {
  .ws-bil-hero { padding: 48px 36px 38px; }
  .ws-bil-hero__lead { font-size: 16.5px; }
  .ws-bil-show__hero { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
  .ws-bil-show__layout { grid-template-columns: 1.4fr 1fr; gap: 28px; }
}
@media (min-width: 1100px) {
  .ws-bil-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-bil-card, .ws-bil-card:hover, .ws-bil-card__cta .ms, .ws-bil-tarif { transition: none !important; transform: none !important; }
}

/* ──────────────────────────────────────────────────────────────
   RÉSERVATION — Formulaire de sélection tarif + quantité
   ────────────────────────────────────────────────────────────── */
.ws-bil-reserver { max-width: 720px; margin: 0 auto; }
.ws-bil-reserver__head { margin-bottom: 18px; }
.ws-bil-reserver__cat { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
  background: var(--green); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.ws-bil-resetter__cat .ms { font-size: 14px; }
.ws-bil-reserver__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 4vw, 32px); margin: 0 0 8px; color: var(--ink); }
.ws-bil-reserver__evt { background: var(--gray-50); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.ws-bil-reserver__evt strong { font-size: 14px; color: var(--ink); }
.ws-bil-reserver__evt span { font-size: 12.5px; color: var(--gray-500); }

.ws-bil-form { display: flex; flex-direction: column; gap: 18px; }
.ws-bil-form__tarifs { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-bil-form__tarifs legend { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; padding: 0; }
.ws-bil-tarif-radio { display: block; padding: 14px; border: 2px solid var(--gray-100); border-radius: 14px;
  background: #fff; cursor: pointer; transition: all .2s var(--ease); position: relative; }
.ws-bil-tarif-radio:hover:not(.is-disabled) { border-color: var(--green-light); transform: translateY(-1px); }
.ws-bil-tarif-radio:has(input:checked) { border-color: var(--green); background: rgba(0,158,96,.04); box-shadow: 0 4px 12px rgba(0,158,96,.15); }
.ws-bil-tarif-radio.is-disabled { opacity: .5; cursor: not-allowed; background: var(--gray-50); }
.ws-bil-tarif-radio input[type="radio"] { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; accent-color: var(--green); }
.ws-bil-tarif-radio.is-disabled input[type="radio"] { display: none; }
.ws-bil-tarif-radio__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; padding-right: 36px; }
.ws-bil-tarif-radio__libelle { font-size: 15px; font-weight: 700; color: var(--ink); }
.ws-bil-tarif-radio__prix { font-size: 15px; }
.ws-bil-tarif-radio__desc { font-size: 12.5px; color: var(--gray-500); margin: 4px 0 8px; line-height: 1.4; padding-right: 36px; }
.ws-bil-tarif-radio__foot { display: flex; align-items: center; }
.ws-bil-tarif-radio__stock { font-size: 12px; color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.ws-bil-tarif-radio__stock.is-off { color: var(--gray-500); }
.ws-bil-tarif-radio__stock .ms { font-size: 14px; }

.ws-bil-form__qte { display: flex; flex-direction: column; gap: 8px; }
.ws-bil-form__qte label { font-weight: 700; font-size: 14px; color: var(--ink); }
.ws-bil-qte-stepper { display: inline-flex; align-items: center; gap: 0; background: var(--gray-50); border-radius: 14px; padding: 4px; align-self: flex-start; }
.ws-bil-qte-stepper__btn { background: transparent; border: none; width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: background .15s ease; }
.ws-bil-qte-stepper__btn:hover { background: #fff; }
.ws-bil-qte-stepper__btn .ms { font-size: 22px; }
.ws-bil-qte-stepper input { width: 64px; height: 44px; text-align: center; border: none; background: transparent;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); -moz-appearance: textfield; }
.ws-bil-qte-stepper input::-webkit-outer-spin-button,
.ws-bil-qte-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ws-bil-form__hint { font-size: 12px; color: var(--gray-500); margin: 0; }

.ws-bil-form__notice { background: rgba(234,88,12,.08); border-left: 3px solid #ea580c; padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: #7c2d12; display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.ws-bil-form__notice .ms { font-size: 18px; color: #ea580c; flex-shrink: 0; }
.ws-bil-form__submit { width: 100%; justify-content: center; }
.ws-bil-form__secure { text-align: center; font-size: 11.5px; color: var(--gray-500); margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 4px; }
.ws-bil-form__secure .ms { font-size: 14px; color: var(--green); }
.ws-bil-show__empty { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.ws-bil-show__empty .ms { font-size: 56px; color: var(--gray-300); display: block; margin-bottom: 12px; }

/* ──────────────────────────────────────────────────────────────
   MES RÉSERVATIONS — Liste + statut
   ────────────────────────────────────────────────────────────── */
.ws-bil-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 0 4px; }
.ws-bil-head-row .cpage-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 4vw, 32px); margin: 6px 0 0; color: var(--ink);
  display: flex; align-items: center; gap: 8px; }
.ws-bil-head-row .cpage-title .ms { color: var(--green); font-size: 28px; }
.ws-bil-mes-liste { display: flex; flex-direction: column; gap: 10px; }
.ws-bil-row { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; background: #fff; border: 1px solid var(--gray-100); border-radius: 14px;
  text-decoration: none; color: inherit; transition: all .2s var(--ease); }
.ws-bil-row:hover { border-color: var(--green-light); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.05); }
.ws-bil-row--expire, .ws-bil-row--annule { opacity: .65; }
.ws-bil-row__main { flex: 1; min-width: 0; }
.ws-bil-row__titre { font-size: 14.5px; font-weight: 700; color: var(--ink); margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ws-bil-row__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 11.5px; color: var(--gray-500); }
.ws-bil-row__meta span { display: inline-flex; align-items: center; gap: 3px; }
.ws-bil-row__meta .ms { font-size: 13px; color: var(--green); }
.ws-bil-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.ws-bil-statut { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; white-space: nowrap; }
.ws-bil-statut--paye    { background: rgba(22,163,74,.12); color: #15803d; }
.ws-bil-statut--reserve { background: rgba(234,88,12,.12); color: #c2410c; }
.ws-bil-statut--expire  { background: rgba(107,114,128,.15); color: #4b5563; }
.ws-bil-statut--annule  { background: rgba(239,68,68,.10); color: #b91c1c; }
.ws-bil-statut .ms { font-size: 13px; }
.ws-bil-row__qty { font-size: 11px; color: var(--gray-500); }
.ws-bil-row__prix { font-size: 13px; font-weight: 700; color: var(--ink); }

/* ──────────────────────────────────────────────────────────────
   ACHAT — Confirmation + billets émis
   ────────────────────────────────────────────────────────────── */
.ws-bil-confirm { text-align: center; padding: 24px 16px 16px; }
.ws-bil-confirm__icon { width: 80px; height: 80px; border-radius: 50%; background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
  animation: wsBounceIn .5s var(--ease); }
.ws-bil-confirm__icon .ms { font-size: 44px; }
.ws-bil-confirm__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 4.5vw, 30px); margin: 0 0 6px; color: var(--ink); }
.ws-bil-confirm__sub { color: var(--gray-500); font-size: 14px; margin: 0; }
@keyframes wsBounceIn { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }

.ws-bil-event-summary { background: #fff; border: 1px solid var(--gray-100); border-radius: 16px; padding: 18px; margin-bottom: 24px; }
.ws-bil-event-summary__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ws-bil-event-summary__head .section-tag { background: var(--green); color: #fff; border-color: var(--green); }
.ws-bil-event-summary__head h2 { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin: 6px 0 0; color: var(--ink); }
.ws-bil-event-summary__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--gray-700); }
.ws-bil-event-summary__meta span { display: inline-flex; align-items: center; gap: 4px; }
.ws-bil-event-summary__meta .ms { font-size: 15px; color: var(--green); }

.ws-bil-billets-title { font-size: 16px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.ws-bil-billets { display: flex; flex-direction: column; gap: 12px; }
.ws-bil-billet { background: #fff; border: 1.5px dashed var(--green); border-radius: 16px; padding: 16px; position: relative; overflow: hidden; }
.ws-bil-billet::before, .ws-bil-billet::after { content: ''; position: absolute; width: 24px; height: 24px; background: var(--paper); border-radius: 50%; top: 50%; transform: translateY(-50%); }
.ws-bil-billet::before { left: -12px; }
.ws-bil-billet::after { right: -12px; }
.ws-bil-billet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding: 0 16px; }
.ws-bil-billet__num { font-size: 11px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; }
.ws-bil-billet__tarif { font-size: 12px; font-weight: 600; color: var(--green); padding: 2px 8px; background: rgba(0,158,96,.1); border-radius: 999px; }
.ws-bil-billet__code { font-family: 'Courier New', monospace; font-size: 18px; font-weight: 800; text-align: center; letter-spacing: .15em;
  color: var(--ink); background: var(--gray-50); padding: 10px; border-radius: 10px; margin: 8px 0; }
.ws-bil-billet__qr { display: flex; justify-content: center; padding: 10px 0; }
.ws-bil-billet__foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 0; font-size: 12px; color: var(--gray-700); }
.ws-bil-billet__foot span { display: inline-flex; align-items: center; gap: 4px; }
.ws-bil-billet__foot .ms { font-size: 14px; color: var(--green); }

/* Page "attente de paiement" */
.ws-bil-attente { text-align: center; padding: 24px 16px; background: rgba(234,88,12,.06); border-radius: 16px; margin-bottom: 18px; }
.ws-bil-attente__icon { width: 72px; height: 72px; border-radius: 50%; background: #ea580c; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.ws-bil-attente__icon .ms { font-size: 38px; }
.ws-bil-attente__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 4vw, 26px); margin: 0 0 6px; color: var(--ink); }
.ws-bil-attente__sub { color: var(--gray-700); font-size: 13.5px; margin: 0; }
.ws-bil-attente__sub strong { color: #c2410c; }

.ws-bil-recap { background: #fff; border: 1px solid var(--gray-100); border-radius: 16px; padding: 18px; margin-bottom: 18px; }
.ws-bil-recap h2 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.ws-bil-recap h2 .ms { font-size: 18px; color: var(--green); }
.ws-bil-recap__row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 13.5px; color: var(--gray-700); }
.ws-bil-recap__row:last-child { border-bottom: none; }
.ws-bil-recap__row strong { color: var(--ink); font-weight: 700; }
.ws-bil-recap__row--total { font-size: 15px; padding-top: 12px; margin-top: 4px; border-top: 2px solid var(--green); border-bottom: none; }
.ws-bil-recap__row--total strong { color: var(--green); font-family: var(--font-display); font-size: 17px; }

.ws-bil-payer__btn { width: 100%; justify-content: center; }
.ws-bil-payer__notice { text-align: center; font-size: 12px; color: var(--gray-500); margin: 8px 0 0;
  display: flex; align-items: center; justify-content: center; gap: 4px; }
.ws-bil-payer__notice .ms { font-size: 14px; color: var(--green); }

/* Form paiement PVit — B5 du plan */
.ws-bil-payer {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 18px; padding: 18px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.ws-bil-payer__title {
  margin: 0; font-size: 16px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.ws-bil-payer__title .ms { font-size: 20px; color: var(--green); }
.ws-bil-payer__op-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.ws-bil-payer__op {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 14px 12px; border: 2px solid var(--gray-200); border-radius: 12px;
  background: #fff; cursor: pointer; font-weight: 600; font-size: 14px;
  color: var(--gray-700); transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.ws-bil-payer__op:hover { border-color: var(--gray-300); }
.ws-bil-payer__op input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.ws-bil-payer__op input[type="radio"]:checked + span {
  color: var(--green);
}
.ws-bil-payer__op:has(input:checked) {
  border-color: var(--green);
  background: linear-gradient(0deg, rgba(10,36,24,.04), rgba(10,36,24,.04)), #fff;
}
.ws-bil-payer__op .ms { font-size: 22px; color: var(--green); }
.ws-bil-payer__field {
  display: flex; flex-direction: column; gap: 4px;
}
.ws-bil-payer__field > span {
  font-size: 13px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.ws-bil-payer__field > span .ms { font-size: 16px; color: var(--green); }
.ws-bil-payer__field input {
  margin-top: 2px; padding: 13px 14px; border: 2px solid var(--gray-200);
  border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff; transition: border-color .15s;
  font-family: var(--font-body);
}
.ws-bil-payer__field input:focus {
  outline: none; border-color: var(--green);
}
.ws-bil-payer__field small {
  color: var(--gray-500); font-size: 12px; line-height: 1.4;
}
@media (max-width: 480px) {
  .ws-bil-payer__op-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ws-ajout::before, .ws-ajout .ws-ajout-m, .ws-ajout .ws-ajout-p, .ws-ajout-n, .ws-toast-bottom::after,
  .btn:active, .btn-icon:active, .filter-chip:active {
    transition: none !important; animation: none !important;
  }
}
