/* ==========================================================================
   Sen-Billets — Thème « Nuit de Dakar »
   Fond bleu nuit, accent soleil couchant, typographie Montserrat / Work Sans.
   ========================================================================== */

:root {
  --sb-night: #07062b;
  --sb-night-2: #0d0b3d;
  --sb-surface: #15134a;
  --sb-surface-2: #1d1b5c;
  --sb-line: rgba(255, 255, 255, .10);
  --sb-text: #ffffff;
  --sb-muted: rgba(255, 255, 255, .68);
  --sb-sun: #ff8a1f;
  --sb-sun-2: #ffb347;
  --sb-gold: #f5c04a;
  --sb-green: #19b37a;
  --sb-red: #ff4d5e;
  --sb-radius: 16px;
  --sb-radius-sm: 10px;
  --sb-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --sb-header-h: 76px;
  --sb-font-title: 'Montserrat', system-ui, sans-serif;
  --sb-font: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sb-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ----- Base ------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body.sb {
  background: var(--sb-night);
  color: var(--sb-text);
  font-family: var(--sb-font);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--sb-header-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.sb.sb-immersive { padding-top: 0; }
body.sb main { flex: 1 0 auto; }
body.sb::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 138, 31, .12), transparent 60%),
    radial-gradient(800px 600px at -10% 30%, rgba(76, 64, 255, .18), transparent 60%),
    var(--sb-night);
}
.sb h1, .sb h2, .sb h3, .sb .sb-title { font-family: var(--sb-font-title); }
.sb a { color: inherit; }
.sb ::selection { background: var(--sb-sun); color: #fff; }
.sb :focus-visible { outline: 3px solid var(--sb-sun-2); outline-offset: 3px; border-radius: 6px; }
.sb-container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sb-skip { position: fixed; top: 8px; left: 8px; z-index: 3000; background: #fff; color: var(--sb-night); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }

/* ----- Boutons ---------------------------------------------------------- */
.sb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 0;
  font-family: var(--sb-font-title); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--sb-ease), box-shadow .25s var(--sb-ease), background .25s;
}
.sb-btn:hover { transform: translateY(-2px); }
.sb-btn-primary { background: linear-gradient(135deg, var(--sb-sun), #ff5f1f); color: #fff !important; box-shadow: 0 10px 30px rgba(255, 110, 31, .35); }
.sb-btn-primary:hover { box-shadow: 0 14px 36px rgba(255, 110, 31, .5); }
.sb-btn-light { background: #fff; color: var(--sb-night) !important; }
.sb-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.sb-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.sb-btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.sb-btn-block { width: 100%; }
.sb-btn[disabled] { opacity: .45; pointer-events: none; }

/* ----- En-tête ---------------------------------------------------------- */
.sb-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1050; height: var(--sb-header-h);
  display: flex; align-items: center;
  background: rgba(7, 6, 43, .82); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--sb-line);
  transition: background .3s, border-color .3s, height .3s;
}
.sb-immersive .sb-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(7, 6, 43, .7), transparent); border-color: transparent; backdrop-filter: none; }
.sb-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; width: min(1320px, 100% - 32px); margin-inline: auto; }
.sb-nav { display: flex; gap: .25rem; align-items: center; }
.sb-nav-right { justify-content: flex-end; }
.sb-nav-link {
  position: relative; padding: .5rem .9rem; border-radius: 999px;
  color: var(--sb-muted) !important; text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: color .2s, background .2s;
}
.sb-nav-link:hover, .sb-nav-link.is-active { color: #fff !important; background: rgba(255, 255, 255, .08); }
.sb-nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; transform: translateX(-50%); background: var(--sb-sun); }
.sb-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff !important; }
.sb-logo-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sb-sun), #ff4d5e); box-shadow: 0 8px 24px rgba(255, 110, 31, .4);
  font-size: 1.25rem;
}
.sb-logo-text { font-family: var(--sb-font-title); font-weight: 300; letter-spacing: .28em; text-transform: uppercase; font-size: 1.05rem; }
.sb-logo-text b { font-weight: 700; color: var(--sb-sun-2); }
.sb-icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff !important; border: 1px solid var(--sb-line); text-decoration: none;
  transition: background .2s;
}
.sb-icon-btn:hover { background: rgba(255, 255, 255, .18); }
.sb-badge-dot { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sb-sun); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.sb-header .dropdown-menu { background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 14px; padding: .4rem; box-shadow: var(--sb-shadow); }
.sb-header .dropdown-item { color: var(--sb-muted); border-radius: 10px; padding: .55rem .9rem; }
.sb-header .dropdown-item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sb-header .dropdown-divider { border-color: var(--sb-line); }

/* ----- Barre mobile flottante + menu plein écran ----------------------- */
.sb-dock { display: none; }
.sb-menu {
  position: fixed; inset: 0; z-index: 2000; background: rgba(7, 6, 43, .97); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; padding: 90px 24px 120px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.sb-menu.is-open { opacity: 1; visibility: visible; }
.sb-menu a.sb-menu-link { font-family: var(--sb-font-title); font-weight: 300; font-size: clamp(1.6rem, 6vw, 2.4rem); text-transform: uppercase; letter-spacing: .06em; color: #fff; text-decoration: none; padding: .55rem 0; border-bottom: 1px solid var(--sb-line); display: flex; justify-content: space-between; align-items: center; }
.sb-menu a.sb-menu-link:hover { color: var(--sb-sun-2); }
.sb-menu-close { position: absolute; top: 18px; right: 18px; }

@media (max-width: 991.98px) {
  :root { --sb-header-h: 64px; }
  .sb-header-inner { grid-template-columns: auto 1fr auto; }
  .sb-nav-left, .sb-nav-right .sb-hide-mobile { display: none !important; }
  .sb-logo { grid-column: 1; }
  .sb-logo-text { font-size: .9rem; letter-spacing: .2em; }
  .sb-nav-right { grid-column: 3; }
  .sb-dock {
    position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
    z-index: 2100; display: flex; align-items: center; gap: 22px;
  }
  .sb-dock-btn {
    width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--sb-night) !important; border: 0;
    display: grid; place-items: center; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font-size: 1.25rem;
  }
  .sb-dock-btn small { display: block; font-size: .62rem; font-weight: 700; margin-top: -4px; }
  .sb-dock-btn.is-main { width: 74px; height: 74px; font-size: 1.6rem; }
  body.sb { padding-bottom: 100px; }
}

/* ----- Flash messages --------------------------------------------------- */
.sb-flashes { position: fixed; top: calc(var(--sb-header-h) + 12px); right: 16px; z-index: 1100; display: grid; gap: .6rem; width: min(420px, calc(100% - 32px)); }
.sb-flash { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; background: var(--sb-surface); border: 1px solid var(--sb-line); box-shadow: var(--sb-shadow); color: #fff; animation: sb-in .4s var(--sb-ease); }
.sb-flash.success { border-left: 4px solid var(--sb-green); }
.sb-flash.error, .sb-flash.danger { border-left: 4px solid var(--sb-red); }
.sb-flash.warning, .sb-flash.info { border-left: 4px solid var(--sb-gold); }
.sb-flash button { margin-left: auto; background: none; border: 0; color: var(--sb-muted); }
@keyframes sb-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ----- Héros (carrousel plein écran) ----------------------------------- */
.sb-hero { position: relative; height: 100svh; min-height: 620px; max-height: 980px; overflow: hidden; isolation: isolate; }
.sb-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--sb-ease), visibility .9s; }
.sb-slide.is-active { opacity: 1; visibility: visible; }
.sb-slide-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) saturate(130%) brightness(.55); transform: scale(1.08); }
.sb-slide-poster {
  position: absolute; right: max(4vw, 24px); top: 50%; width: min(34vw, 430px); aspect-ratio: 4 / 5;
  transform: translateY(-55%) rotate(2deg); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
  transition: transform 1.2s var(--sb-ease);
}
.sb-slide.is-active .sb-slide-poster { transform: translateY(-55%) rotate(-1deg); }
.sb-slide-poster img { width: 100%; height: 100%; object-fit: cover; }
.sb-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 43, .92) 0%, rgba(7, 6, 43, .55) 45%, rgba(7, 6, 43, .1) 100%), linear-gradient(0deg, var(--sb-night) 0%, transparent 35%); z-index: 0; }
.sb-slide-content { position: absolute; z-index: 2; left: max(6vw, 24px); top: 50%; transform: translateY(-62%); width: min(640px, 92vw); }
.sb-kicker { display: inline-flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--sb-muted); font-weight: 500; }
.sb-kicker::before { content: ""; width: 34px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, transparent, var(--sb-sun)); transform: skewX(-25deg); }
.sb-hero-title { font-family: var(--sb-font-title); font-weight: 300; text-transform: uppercase; line-height: 1.02; letter-spacing: .02em; font-size: clamp(2.3rem, 6.2vw, 5.4rem); margin: .9rem 0 1.1rem; text-wrap: balance; }
.sb-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--sb-muted); margin-bottom: 1.8rem; font-size: 1.02rem; }
.sb-hero-meta i { color: var(--sb-sun-2); margin-right: .35rem; }
.sb-hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.sb-hero-rail { position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px; }
.sb-hero-progress { width: min(240px, 50vw); height: 3px; background: rgba(255, 255, 255, .25); border-radius: 3px; overflow: hidden; margin: 0 0 14px max(6vw, 24px); }
.sb-hero-progress span { display: block; height: 100%; width: 0; background: var(--sb-sun); }
.sb-hero-progress.is-running span { animation: sb-progress var(--sb-slide-ms, 7000ms) linear forwards; }
@keyframes sb-progress { to { width: 100%; } }
.sb-thumbs { display: flex; gap: 14px; overflow-x: auto; padding: 4px max(6vw, 24px) 8px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sb-thumbs::-webkit-scrollbar { display: none; }
.sb-thumb {
  flex: 0 0 auto; width: 270px; display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; border: 0; text-align: left;
  background: rgba(255, 255, 255, .62); color: var(--sb-night); backdrop-filter: blur(10px); scroll-snap-align: start;
  transition: background .3s, transform .3s;
}
.sb-thumb:hover { transform: translateY(-3px); }
.sb-thumb.is-active { background: #fff; }
.sb-thumb img, .sb-thumb .sb-thumb-ph { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.sb-thumb small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: #4b4a7a; }
.sb-thumb strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--sb-font-title); font-size: .95rem; line-height: 1.2; }

@media (max-width: 991.98px) {
  .sb-hero { min-height: 640px; }
  .sb-slide-poster { left: 50%; right: auto; top: 90px; width: min(62vw, 300px); transform: translateX(-50%) rotate(2deg); }
  .sb-slide.is-active .sb-slide-poster { transform: translateX(-50%) rotate(-1deg); }
  .sb-slide::after { background: linear-gradient(0deg, var(--sb-night) 30%, rgba(7, 6, 43, .55) 70%, rgba(7, 6, 43, .3) 100%); }
  .sb-slide-content { top: auto; bottom: 200px; transform: none; }
  .sb-hero-title { font-size: clamp(1.9rem, 9vw, 3rem); margin: .5rem 0 .7rem; }
  .sb-hero-meta { margin-bottom: 1rem; font-size: .92rem; }
  .sb-hero-rail { bottom: 104px; }
  .sb-hero-progress { display: none; }
  .sb-thumb { width: 220px; }
  .sb-thumb img, .sb-thumb .sb-thumb-ph { width: 50px; height: 50px; }
}

/* ----- Recherche -------------------------------------------------------- */
.sb-search {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; padding: 8px;
  background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 22px; box-shadow: var(--sb-shadow);
}
.sb-search > * { min-width: 0; }
.sb-field { position: relative; display: flex; align-items: center; gap: .6rem; padding: 0 1rem; border-radius: 16px; background: rgba(255, 255, 255, .05); min-height: 54px; }
.sb-field i { color: var(--sb-sun-2); }
.sb-field input, .sb-field select { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; color: #fff; outline: none; font-size: .98rem; }
.sb-field select option { color: #111; }
.sb-field input::placeholder { color: var(--sb-muted); }
.sb-field input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
@media (max-width: 767.98px) { .sb-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sb-search .sb-field:first-child { grid-column: 1 / -1; } .sb-search .sb-btn { grid-column: 1 / -1; } }

/* ----- Sections --------------------------------------------------------- */
.sb-section { padding: clamp(48px, 7vw, 90px) 0; }
.sb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.sb-section-title { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .4rem 0 0; }
.sb-section-title em { font-style: normal; color: var(--sb-sun-2); }
.sb-link-more { color: var(--sb-muted) !important; text-decoration: none; font-weight: 500; }
.sb-link-more:hover { color: #fff !important; }

/* ----- Catégories ------------------------------------------------------- */
.sb-cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.sb-cat {
  position: relative; min-height: 120px; padding: 16px; border-radius: var(--sb-radius); overflow: hidden; text-decoration: none; color: #fff !important;
  display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start; isolation: isolate;
  transition: transform .3s var(--sb-ease), box-shadow .3s;
}
.sb-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 30%, rgba(0, 0, 0, .45)); z-index: -1; }
.sb-cat:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.sb-cat .bi { position: absolute; right: -8px; bottom: -18px; font-size: 6rem; opacity: .22; z-index: -1; }
.sb-cat strong { font-family: var(--sb-font-title); font-size: 1.2rem; }
.sb-cat span { font-size: .85rem; opacity: .9; }
.sb-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--sb-line); background: rgba(255, 255, 255, .05); color: var(--sb-muted) !important; text-decoration: none; font-size: .9rem; white-space: nowrap; transition: all .2s; }
.sb-chip:hover { color: #fff !important; border-color: rgba(255, 255, 255, .3); }
.sb-chip.is-active { background: var(--sb-sun); border-color: var(--sb-sun); color: #fff !important; }
.sb-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }

/* ----- Frise « À venir » par mois -------------------------------------- */
.sb-timeline { position: relative; display: grid; gap: 34px; }
.sb-month { display: grid; grid-template-columns: 70px 1fr; gap: 18px; position: relative; }
.sb-month::before { content: ""; position: absolute; left: 34px; top: 48px; bottom: -34px; border-left: 2px dashed rgba(255, 255, 255, .14); }
.sb-month:last-child::before { bottom: 0; }
.sb-month-badge { position: sticky; top: calc(var(--sb-header-h) + 16px); align-self: start; z-index: 1; width: 70px; padding: 8px 0; border-radius: 12px; text-align: center; background: var(--sb-surface-2); border: 1px solid var(--sb-line); color: var(--sb-sun-2); font-family: var(--sb-font-title); font-weight: 700; font-size: .8rem; letter-spacing: .05em; }
.sb-month-badge small { display: block; color: var(--sb-muted); font-weight: 500; font-size: .68rem; }
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
@media (max-width: 575.98px) { .sb-month { grid-template-columns: 1fr; } .sb-month::before { display: none; } .sb-month-badge { position: static; width: auto; display: inline-block; padding: 6px 14px; justify-self: start; } }

/* ----- Carte événement -------------------------------------------------- */
.sb-card {
  position: relative; display: block; border-radius: var(--sb-radius); overflow: hidden; text-decoration: none; color: #fff !important;
  background: var(--sb-surface); aspect-ratio: 4 / 3; isolation: isolate; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .35s var(--sb-ease), box-shadow .35s;
}
.sb-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0, 0, 0, .45); }
.sb-card img, .sb-card .sb-card-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--sb-ease); }
.sb-card:hover img { transform: scale(1.06); }
.sb-card-ph { display: grid; place-items: center; font-size: 3rem; }
.sb-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 11, 61, .97) 0%, rgba(13, 11, 61, .75) 32%, transparent 62%); }
.sb-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 12px; }
.sb-card-date { font-size: .82rem; color: var(--sb-muted); }
.sb-card-title { font-family: var(--sb-font-title); font-weight: 700; font-size: 1.02rem; line-height: 1.25; margin: .2rem 0 .45rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sb-card-tags { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .82rem; color: #fff; }
.sb-card-tags i { color: var(--sb-sun-2); margin-right: .3rem; }
.sb-card-flag { position: absolute; top: 12px; left: 12px; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.sb-card-flag.soldout { background: var(--sb-red); }
.sb-card-flag.hot { background: var(--sb-sun); }
.sb-card-date-badge { position: absolute; top: 12px; right: 12px; width: 52px; padding: 6px 0; text-align: center; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--sb-night); line-height: 1; }
.sb-card-date-badge b { display: block; font-family: var(--sb-font-title); font-size: 1.2rem; }
.sb-card-date-badge small { font-size: .66rem; text-transform: uppercase; font-weight: 600; }
.sb-card.is-poster { aspect-ratio: 3 / 4; }

/* ----- Bandeaux promo --------------------------------------------------- */
.sb-band { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(28px, 5vw, 56px); background: var(--sb-surface); border: 1px solid var(--sb-line); isolation: isolate; }
.sb-band-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.sb-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--sb-night-2) 25%, rgba(13, 11, 61, .55) 65%, rgba(13, 11, 61, .2)); }
.sb-band h2 { font-weight: 300; text-transform: uppercase; font-size: clamp(1.7rem, 4vw, 2.8rem); letter-spacing: .03em; }
.sb-band p { color: var(--sb-muted); max-width: 540px; }
.sb-band-sun { background: linear-gradient(120deg, #ff8a1f 0%, #ff4d5e 55%, #7b2ff7 120%); border: 0; }
.sb-band-sun::after { display: none; }
.sb-band-sun p { color: rgba(255, 255, 255, .9); }
.sb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sb-step { padding: 22px; border-radius: var(--sb-radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--sb-line); }
.sb-step b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 138, 31, .16); color: var(--sb-sun-2); font-family: var(--sb-font-title); margin-bottom: 10px; }
.sb-step h3 { font-size: 1.05rem; font-weight: 600; }
.sb-step p { color: var(--sb-muted); font-size: .92rem; margin: 0; }

/* ----- Page en-tête simple --------------------------------------------- */
.sb-page-head { padding: clamp(28px, 5vw, 60px) 0 24px; }
.sb-page-head h1 { font-weight: 300; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: .03em; margin: .5rem 0 1.2rem; }
.sb-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--sb-line); border-radius: var(--sb-radius); color: var(--sb-muted); }
.sb-empty i { font-size: 3rem; color: var(--sb-sun-2); display: block; margin-bottom: .6rem; }

/* ----- Détail événement ------------------------------------------------- */
.sb-event-hero { position: relative; padding: calc(var(--sb-header-h) + 40px) 0 50px; overflow: hidden; isolation: isolate; }
.sb-event-hero-bg { position: absolute; inset: -60px; z-index: -2; background-size: cover; background-position: center; filter: blur(40px) brightness(.45) saturate(140%); }
.sb-event-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--sb-night) 0%, rgba(7, 6, 43, .4) 60%, rgba(7, 6, 43, .6) 100%); }
.sb-event-grid { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.sb-event-poster { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); aspect-ratio: 4 / 5; background: var(--sb-surface); }
.sb-event-poster img { width: 100%; height: 100%; object-fit: cover; }
.sb-event-title { font-weight: 300; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.04; margin: .7rem 0 1.2rem; text-wrap: balance; }
.sb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 1.4rem; }
.sb-fact { display: flex; gap: .8rem; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--sb-line); backdrop-filter: blur(8px); }
.sb-fact i { font-size: 1.3rem; color: var(--sb-sun-2); }
.sb-fact small { display: block; color: var(--sb-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.sb-fact strong { font-weight: 600; font-size: .95rem; }
.sb-closed { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 6, 43, .55); font-family: var(--sb-font-title); font-weight: 800; letter-spacing: .1em; font-size: 1.6rem; color: #fff; text-shadow: 0 4px 20px #000; }
.sb-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
.sb-panel { background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.sb-panel + .sb-panel { margin-top: 18px; }
.sb-layout > .sb-panel + .sb-panel { margin-top: 0; }
.sb-panel h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.sb-sticky { position: sticky; top: calc(var(--sb-header-h) + 16px); }
.sb-prose { color: rgba(255, 255, 255, .85); line-height: 1.75; font-size: 1.02rem; overflow-wrap: anywhere; }
.sb-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.sb-prose a { color: var(--sb-sun-2); }
.sb-ticket { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--sb-line); transition: border-color .2s, background .2s; }
.sb-ticket + .sb-ticket { margin-top: 10px; }
.sb-ticket.is-selected { border-color: var(--sb-sun); background: rgba(255, 138, 31, .08); }
.sb-ticket h3 { font-family: var(--sb-font); font-size: 1rem; font-weight: 600; margin: 0; }
.sb-ticket .price { color: var(--sb-sun-2); font-weight: 700; }
.sb-ticket details { grid-column: 1 / -1; color: var(--sb-muted); font-size: .88rem; }
.sb-ticket summary { cursor: pointer; color: var(--sb-muted); }
.sb-ticket .left { font-size: .78rem; color: var(--sb-muted); }
.sb-stepper { display: inline-flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 4px; }
.sb-stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem; line-height: 1; }
.sb-stepper button:hover { background: var(--sb-sun); }
.sb-stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.sb-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; margin-top: 12px; border-top: 1px dashed var(--sb-line); }
.sb-total strong { font-family: var(--sb-font-title); font-size: 1.3rem; }
.sb-secure-note { display: flex; gap: .5rem; align-items: center; justify-content: center; color: var(--sb-muted); font-size: .82rem; margin-top: 12px; }
.sb-pay-logos { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.sb-pay-logos img { height: 30px; width: auto; border-radius: 6px; }
.sb-share { display: flex; gap: 8px; flex-wrap: wrap; }
.sb-mobile-buy { display: none; }
@media (max-width: 991.98px) {
  .sb-event-grid { grid-template-columns: 1fr; }
  .sb-event-poster { max-width: 340px; width: 80%; margin-inline: auto; }
  .sb-layout { grid-template-columns: 1fr; }
  .sb-sticky { position: static; }
  .sb-mobile-buy { display: flex; position: fixed; left: 16px; right: 16px; bottom: 100px; z-index: 1500; }
}

/* ----- Pied de page ----------------------------------------------------- */
.sb-footer { margin-top: 40px; padding: 56px 0 30px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); border-top: 1px solid var(--sb-line); color: var(--sb-muted); }
.sb-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.sb-footer h3 { font-family: var(--sb-font-title); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 1rem; }
.sb-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.sb-footer a { color: var(--sb-muted) !important; text-decoration: none; }
.sb-footer a:hover { color: #fff !important; }
.sb-socials { display: flex; gap: 10px; margin-top: 1rem; }
.sb-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--sb-line); margin-top: 36px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 767.98px) { .sb-footer-grid { grid-template-columns: 1fr 1fr; } .sb-footer-grid > :first-child { grid-column: 1 / -1; } }

/* ----- Animations d'apparition ----------------------------------------- */
.sb-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--sb-ease), transform .7s var(--sb-ease); }
.sb-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sb-reveal { opacity: 1; transform: none; }
}

/* ----- Compatibilité avec les anciennes pages (Bootstrap) --------------- */
.sb .breadcrumb { --bs-breadcrumb-divider-color: var(--sb-muted); }
.sb .breadcrumb a { color: var(--sb-muted); text-decoration: none; }
.sb .breadcrumb-item.active { color: #fff; }

/* ----- Formulaires ------------------------------------------------------ */
.sb .sb-input, .sb .sb-panel .form-control, .sb .sb-panel .form-select {
  background: rgba(255, 255, 255, .06); border: 1px solid var(--sb-line); color: #fff; border-radius: 12px; min-height: 46px;
}
.sb .sb-input:focus, .sb .sb-panel .form-control:focus, .sb .sb-panel .form-select:focus { background: rgba(255, 255, 255, .09); border-color: var(--sb-sun); color: #fff; box-shadow: 0 0 0 .2rem rgba(255, 138, 31, .2); }
.sb .sb-input::placeholder, .sb .sb-panel .form-control::placeholder { color: rgba(255, 255, 255, .4); }
.sb .sb-panel .form-select option { color: #111; }
.sb .sb-panel .form-label { color: var(--sb-muted); }
.sb .sb-panel .form-check-input { background-color: rgba(255,255,255,.1); border-color: var(--sb-line); }
.sb .sb-panel .form-check-input:checked { background-color: var(--sb-sun); border-color: var(--sb-sun); }
.sb .sb-panel .invalid-feedback, .sb .sb-panel .form-error-message { color: #ff8a95; }
.sb-pay-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.sb-pay-option { position: relative; display: flex; align-items: center; gap: .7rem; padding: 14px; border-radius: 14px; border: 1px solid var(--sb-line); background: rgba(255, 255, 255, .04); cursor: pointer; transition: border-color .2s, background .2s; }
.sb-pay-option:has(input:checked) { border-color: var(--sb-sun); background: rgba(255, 138, 31, .1); }
.sb-pay-option input { accent-color: var(--sb-sun); }
.sb-pay-option img { height: 40px; width: auto; border-radius: 8px; flex: none; }

/* ----- Prévente --------------------------------------------------------- */
.sb-early { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(25, 179, 122, .16); color: #5be3ad; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sb-countdown { font-variant-numeric: tabular-nums; color: var(--sb-sun-2); font-weight: 600; font-size: .82rem; }
.sb-ticket .was { color: var(--sb-muted); text-decoration: line-through; font-size: .85rem; margin-left: .4rem; }
.sb-card-flag.early { background: var(--sb-green); }

/* ----- Espaces (client / organisateur / admin) -------------------------- */
.sb-space-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.sb-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
.sb-kpi { padding: 18px; border-radius: 18px; background: var(--sb-surface); border: 1px solid var(--sb-line); }
.sb-kpi small { display: block; color: var(--sb-muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; margin-bottom: .35rem; }
.sb-kpi strong { display: block; font-family: var(--sb-font-title); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sb-kpi span { display: block; margin-top: .35rem; font-size: .82rem; color: var(--sb-muted); }
.sb-kpi .up { color: #5be3ad; }
.sb-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--sb-line); }
.sb-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.sb-table th { text-align: left; font-weight: 600; color: var(--sb-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; background: rgba(255, 255, 255, .03); white-space: nowrap; }
.sb-table td { padding: 12px 14px; border-top: 1px solid var(--sb-line); vertical-align: middle; }
.sb-table td.num, .sb-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-table a { color: #fff; }
.sb-pill { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 600; background: rgba(255, 255, 255, .08); color: var(--sb-muted); white-space: nowrap; }
.sb-pill.ok { background: rgba(25, 179, 122, .16); color: #5be3ad; }
.sb-pill.warn { background: rgba(245, 192, 74, .16); color: var(--sb-gold); }
.sb-pill.off { background: rgba(255, 77, 94, .14); color: #ff8a95; }
.sb-bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 10px; }
.sb-bars > div { flex: 1; min-width: 4px; background: linear-gradient(180deg, var(--sb-sun-2), var(--sb-sun)); border-radius: 4px 4px 0 0; position: relative; min-height: 2px; }
.sb-bars > div.zero { background: rgba(255, 255, 255, .08); }
.sb-bars-axis { display: flex; justify-content: space-between; color: var(--sb-muted); font-size: .74rem; margin-top: 6px; }
.sb-progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; min-width: 80px; }
.sb-progress > span { display: block; height: 100%; background: var(--sb-sun); border-radius: 6px; }
.sb-follow-btn.is-following { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1px solid var(--sb-line); box-shadow: none; }
.sb-layout-form { grid-template-columns: minmax(0, 1fr) 380px; }
.sb-layout > * { min-width: 0; }
.sb .sb-panel .form-text { color: rgba(255, 255, 255, .5); font-size: .78rem; }
@media (max-width: 991.98px) { .sb-layout-form { grid-template-columns: 1fr; } }

/* ----- Pages d'authentification (connexion, inscription, mot de passe) -- */
.sb-auth-bg { padding: clamp(28px, 6vw, 64px) 0; }
.sb-auth-container { max-width: 1100px; }
.sb-auth-back a { color: var(--sb-muted) !important; }
.sb-auth-back a:hover { color: #fff !important; }
.sb .sb-auth-card { background: var(--sb-surface) !important; border: 1px solid var(--sb-line) !important; border-radius: 24px; box-shadow: var(--sb-shadow); color: #fff; }
.sb .sb-auth-card .card-body { padding: clamp(22px, 4vw, 40px) !important; }
.sb-auth-badge { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #fff; padding: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.sb-auth-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sb .sb-auth-card h1, .sb .sb-auth-card h2, .sb .sb-auth-card h3, .sb .sb-auth-card .text-dark { color: #fff !important; }
.sb .sb-auth-card .text-muted, .sb .sb-auth-card small, .sb .sb-auth-card .form-text { color: var(--sb-muted) !important; }
.sb .sb-auth-card .text-primary { color: var(--sb-sun-2) !important; }
.sb .sb-auth-card .form-label { color: rgba(255, 255, 255, .85); }
.sb .sb-auth-card .form-control, .sb .sb-auth-card .form-select { background: rgba(255, 255, 255, .06); border-color: var(--sb-line); color: #fff; min-height: 48px; }
.sb .sb-auth-card .form-control:focus, .sb .sb-auth-card .form-select:focus { background: rgba(255, 255, 255, .09); border-color: var(--sb-sun); color: #fff; box-shadow: 0 0 0 .2rem rgba(255, 138, 31, .2); }
.sb .sb-auth-card .form-control::placeholder { color: rgba(255, 255, 255, .4); }
.sb .sb-auth-card .input-group-text { background: rgba(255, 255, 255, .04) !important; border-color: var(--sb-line); color: var(--sb-muted); }
.sb .sb-auth-card .input-group-text i { color: var(--sb-sun-2) !important; }
.sb .sb-auth-card .btn-outline-secondary { border-color: var(--sb-line); color: var(--sb-muted); }
.sb .sb-auth-card .btn-outline-secondary:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sb .sb-auth-card .btn-primary { background: linear-gradient(135deg, var(--sb-sun), #ff5f1f); border: 0; border-radius: 999px; font-family: var(--sb-font-title); box-shadow: 0 10px 30px rgba(255, 110, 31, .35); }
.sb .sb-auth-card .alert { border-radius: 14px; border: 1px solid var(--sb-line); }
.sb .sb-auth-card .alert-info, .sb .sb-auth-card .alert-light { background: rgba(255, 255, 255, .05); color: var(--sb-muted); }
.sb .sb-auth-card .alert-danger { background: rgba(255, 77, 94, .12); color: #ffb3bb; border-color: rgba(255, 77, 94, .3); }
.sb .sb-auth-card .alert-success { background: rgba(25, 179, 122, .12); color: #8ff0c8; border-color: rgba(25, 179, 122, .3); }
.sb .sb-auth-card .border-top { border-color: var(--sb-line) !important; }
.sb .sb-auth-card .form-check-input { background-color: rgba(255, 255, 255, .1); border-color: var(--sb-line); }
.sb .sb-auth-card .form-check-input:checked { background-color: var(--sb-sun); border-color: var(--sb-sun); }
.sb .sb-auth-card .invalid-feedback, .sb .sb-auth-card .form-error-message, .sb .sb-auth-card ul li { color: #ff9aa5; }
.sb .sb-auth-card a { color: var(--sb-sun-2); }
.sb .sb-auth-card .card.bg-light, .sb .sb-auth-card .bg-light, .sb .sb-auth-card .bg-white { background: rgba(255, 255, 255, .05) !important; border: 1px solid var(--sb-line) !important; color: #fff; }
.sb .sb-auth-card h6 { color: #fff; }

/* ----- Logo (tuile blanche avec le ticket Sen-Billets) ----------------- */
.sb-logo-mark.is-brand { background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); padding: 6px; }
.sb-logo-mark.is-brand img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ----- Barre mobile : icône + libellé parfaitement centrés ------------- */
.sb-dock-btn > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1; }
.sb-dock-btn > span > i { display: block; line-height: 1; }
.sb-dock-btn small { margin-top: 0 !important; font-size: .6rem; letter-spacing: .01em; }

/* ----- Pied de page : icône et texte toujours sur la même ligne -------- */
.sb-footer-contact li { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.sb-footer-contact li i { flex: none; margin: 0 !important; }
.sb-footer-contact li a, .sb-footer-contact li span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767.98px) { .sb-footer-grid > .sb-footer-contact-col { grid-column: 1 / -1; } }

/* Barre mobile : icônes seules */
.sb-dock-btn > i { font-size: 1.35rem; line-height: 1; display: block; }
.sb-dock-btn.is-main > i { font-size: 1.8rem; }
.sb-dock-btn.is-main { width: 66px; height: 66px; }

/* ----- Bandeau d'annonce (réglable par l'admin) ------------------------ */
.sb-announce { position: fixed; inset: 0 0 auto 0; z-index: 1060; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: linear-gradient(90deg, var(--sb-sun), #ff4d5e); color: #fff; font-size: .86rem; font-weight: 600; text-align: center; overflow: hidden; }
.sb-announce a, .sb-announce span { color: #fff !important; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sb.has-announce { padding-top: calc(var(--sb-header-h) + 36px); }
.sb.has-announce.sb-immersive { padding-top: 36px; }
.sb.has-announce .sb-header { top: 36px; }
.sb.has-announce .sb-flashes { top: calc(var(--sb-header-h) + 48px); }

/* Espace organisateur : graphiques, portes */
.sb-pro-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 900px) { .sb-pro-grid { grid-template-columns: minmax(0, 1fr); } }
.sb-bars-month > div > span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: .7rem; color: var(--sb-muted); }
.sb-bars-months span { flex: 1; text-align: center; font-size: .68rem; }
@media (max-width: 560px) { .sb-bars-months span:nth-child(even) { visibility: hidden; } }
.sb-door { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.03); }
.sb-door + .sb-door { margin-top: 10px; }
.sb-door.is-off { opacity: .55; }
.sb-door h3 { font-size: 1rem; margin: 0 0 2px; }
.sb-door-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sb-check-list { display: grid; gap: 6px; max-height: 320px; overflow: auto; padding: 4px; }
.sb-check-list label { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.sb-check-group { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 12px; }
.sb-check-group + .sb-check-group { margin-top: 8px; }
.sb-check-group > label { font-weight: 600; }
.sb-check-group .sb-check-sub { display: grid; gap: 4px; margin: 6px 0 0 24px; }

/* Lien retour (pages internes) */
.sb-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--sb-muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.sb-back:hover { color: #fff; }

/* Mes événements */
.sb-myevents { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.sb-myevent { display: flex; flex-direction: column; background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 20px; overflow: hidden; }
.sb-myevent-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; color: #fff; font-size: 2.4rem; overflow: hidden; }
.sb-myevent-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-myevent-media .sb-pill { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(6px); background: rgba(7, 6, 43, .7); }
.sb-myevent-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.sb-myevent-body h2 { font-size: 1.15rem; margin: 2px 0 6px; line-height: 1.25; }
.sb-myevent-body h2 a { color: #fff; text-decoration: none; }
.sb-myevent-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.sb-myevent-stats div { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 8px; text-align: center; }
.sb-myevent-stats b { display: block; font-size: .98rem; }
.sb-myevent-stats small { color: var(--sb-muted); font-size: .72rem; }
.sb-myevent-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sb-myevent-actions form { margin: 0; }

/* Formulaire événement */
.sb-step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--sb-sun); color: #fff; font-size: .85rem; vertical-align: 2px; }
.sb-tariff { border: 1px solid var(--sb-line); border-radius: 16px; padding: 14px 16px; background: rgba(255, 255, 255, .03); }
.sb-tariff + .sb-tariff { margin-top: 12px; }
.sb-tariff-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sb-poster-preview { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 12px; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px dashed var(--sb-line); color: var(--sb-muted); }
.sb-poster-preview img { width: 100%; height: 100%; object-fit: cover; }
.sb-event-form .ck-editor { color: #111; }
.sb-test-note { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: rgba(245, 165, 36, .14); border: 1px solid rgba(245, 165, 36, .4); color: #ffd27d; font-size: .88rem; }
/* Écran de paiement simulé */
.sb-sim { border-radius: 24px; overflow: hidden; background: #fff; color: #111; box-shadow: var(--sb-shadow); }
.sb-sim-head { display: grid; place-items: center; padding: 18px; }
.sb-sim.is-wave .sb-sim-head { background: #1dc8ff; }
.sb-sim.is-om .sb-sim-head { background: #ff7900; }
.sb-sim-head img { height: 90px; width: auto; border-radius: 12px; }
.sb-sim-body { padding: 22px 24px 26px; text-align: center; }
.sb-sim-body small { color: #666; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.sb-sim-merchant { display: block; font-size: 1.15rem; }
.sb-sim-amount { font-size: 2.2rem; font-weight: 800; margin: 8px 0 14px; }
.sb-sim dl { margin: 0 0 18px; text-align: left; border-top: 1px solid #eee; }
.sb-sim dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eee; font-size: .92rem; }
.sb-sim dt { color: #666; font-weight: 500; }
.sb-sim dd { margin: 0; font-weight: 600; text-align: right; }
.sb-sim-pay { border: 0; border-radius: 999px; padding: .9rem 1rem; font-weight: 700; color: #fff; cursor: pointer; }
.sb-sim.is-wave .sb-sim-pay { background: #1d4ed8; }
.sb-sim.is-om .sb-sim-pay { background: #ff7900; }
.sb-sim-refuse { border: 1px solid #ddd; border-radius: 999px; padding: .75rem 1rem; background: #fff; color: #555; font-weight: 600; cursor: pointer; }
/* Confirmation de commande */
.sb-success-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%; background: #19b37a; color: #fff; font-size: 1.8rem; box-shadow: 0 10px 30px rgba(25, 179, 122, .35); }
.sb-eticket { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 20px; overflow: hidden; }
.sb-eticket-qr { background: #fff; padding: 14px; text-align: center; border-right: 2px dashed rgba(0, 0, 0, .15); }
.sb-eticket-qr img { width: 100%; height: auto; display: block; }
.sb-eticket-qr code { display: block; margin-top: 6px; color: #333; font-size: .62rem; word-break: break-all; }
.sb-eticket-info { padding: 16px 18px; min-width: 0; }
.sb-eticket-info h3 { font-size: 1.15rem; margin: 4px 0 6px; }
@media (max-width: 520px) { .sb-eticket { grid-template-columns: 1fr; } .sb-eticket-qr { border-right: 0; border-bottom: 2px dashed rgba(0, 0, 0, .15); } .sb-eticket-qr img { max-width: 220px; margin: 0 auto; } }

/* Panier */
.sb-cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px; background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 18px; }
.sb-cart-thumb { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; color: #fff; font-size: 1.8rem; }
.sb-cart-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-cart-info { min-width: 0; }
.sb-cart-info h2 { font-size: 1.05rem; margin: 0 0 4px; line-height: 1.25; }
.sb-cart-info h2 a { color: #fff; text-decoration: none; }
.sb-cart-sub { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sb-cart-sub strong { font-size: 1.05rem; }
.sb-qty { display: inline-flex; align-items: center; border: 1px solid var(--sb-line); border-radius: 999px; overflow: hidden; }
.sb-qty button { width: 36px; height: 36px; border: 0; background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.1rem; cursor: pointer; }
.sb-qty button:hover { background: rgba(255, 138, 31, .25); }
.sb-qty input { width: 46px; height: 36px; border: 0; background: transparent; color: #fff; text-align: center; -moz-appearance: textfield; }
.sb-qty input::-webkit-outer-spin-button, .sb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sb-qty-static { font-weight: 700; color: var(--sb-muted); }
.sb-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--sb-muted); }
.sb-sum > div.is-grand { margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--sb-line); color: #fff; font-weight: 600; }
.sb-sum > div.is-grand strong { font-family: var(--sb-font-title); font-size: 1.35rem; color: #fff; }
@media (max-width: 640px) {
	.sb-cart-item { grid-template-columns: 72px minmax(0, 1fr); }
	.sb-cart-thumb { width: 72px; height: 72px; }
	.sb-cart-qty { grid-column: 1 / 2; }
	.sb-cart-sub { grid-column: 2 / 3; justify-content: flex-end; }
}
