/* ============================
   LOCSKI — BEM Components (.ls-*)
   14 composants du Design System Alpine Fresh
   ============================ */

/* ============================
   1. ls-avatar-card
   Card d'un avatar dans le flow creation (6 types)
   ============================ */
.ls-avatar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.ls-avatar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 12px rgba(0,119,182,0.15);
  border-color: var(--tertiary);
}
.ls-avatar-card--selected {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  background: var(--blue-light);
}
.ls-avatar-card__image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.ls-avatar-card__label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ============================
   2. ls-group-bar
   Barre sticky groupe — mobile: bottom / desktop: mini-widget expandable
   ============================ */
.ls-group-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: linear-gradient(180deg, #003D5B 0%, #001a2e 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 24px rgba(0,41,64,0.3);
  transition: all var(--duration) var(--ease-out);
}
.ls-group-bar__mobile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}
.ls-group-bar__mobile .ls-group-bar__cta {
  margin-left: auto;
}
.ls-group-bar__desktop {
  display: none;
}
.ls-group-bar__spacer {
  height: calc(72px + env(safe-area-inset-bottom, 0px));
}
.ls-group-bar__avatars {
  display: flex;
  flex-shrink: 0;
}
.ls-group-bar__avatars > * {
  margin-left: -6px;
}
.ls-group-bar__avatars > *:first-child {
  margin-left: 0;
}
.ls-group-bar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--glass-border);
  background: rgba(0,41,64,0.5);
}
.ls-group-bar__counter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(72,202,228,0.15);
  border: 2px solid var(--glass-border);
  color: var(--tertiary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
}
.ls-group-bar__mobile span {
  color: rgba(255,255,255,0.6) !important;
}
.ls-group-bar__cta {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all var(--duration) var(--ease-out);
}
.ls-group-bar__cta:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 0 12px rgba(0,119,182,0.2);
}

/* Desktop: mini-widget collapsible — CSS-only, compatible Wappler HTML stable */
@media (min-width: 992px) {
  .ls-group-bar {
    bottom: auto;
    top: 80px;
    left: auto;
    right: 0;
    width: 80px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease;
    animation: ls-group-pulse 3s ease-in-out infinite;
  }
  @keyframes ls-group-pulse {
    0%, 100% { box-shadow: -2px 2px 16px rgba(0,41,64,0.1); }
    50% { box-shadow: -2px 2px 20px rgba(0,119,182,0.25), 0 0 12px rgba(72,202,228,0.2); }
  }
  .ls-group-bar:hover {
    width: 280px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: -4px 4px 24px rgba(0,41,64,0.15);
    animation: none;
  }
  .ls-group-bar__mobile {
    display: none;
  }
  .ls-group-bar__desktop {
    display: block;
    padding: 1rem;
    min-height: 60px;
  }
  .ls-group-bar__spacer {
    display: none;
  }

  /* Titre h3 — caché en mode compact, visible au hover */
  .ls-group-bar__desktop > h3 {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
    white-space: nowrap;
    margin-bottom: 0.75rem !important;
  }
  .ls-group-bar:hover .ls-group-bar__desktop > h3 {
    opacity: 1;
    transform: translateX(0);
  }

  /* Membres : en mode compact, avatars empilés verticalement */
  .ls-group-bar__members {
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: gap 0.3s ease;
  }
  .ls-group-bar:hover .ls-group-bar__members {
    gap: 0.6rem;
    margin-bottom: 0.5rem;
  }

  /* Chaque membre : avatar toujours visible, texte caché en compact */
  .ls-group-bar__member {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: -8px;
    transition: margin-top 0.3s ease, opacity 0.3s ease;
  }
  .ls-group-bar__member:first-child {
    margin-top: 0;
  }
  .ls-group-bar:hover .ls-group-bar__member {
    margin-top: 0;
  }

  /* Avatar : toujours visible, avec bordure pour l'effet stack */
  .ls-group-bar__avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 2px solid var(--white);
    background: var(--blue-light);
  }

  /* Texte membre (prénom + badge) — caché en compact */
  .ls-group-bar__member > div {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
  }
  .ls-group-bar:hover .ls-group-bar__member > div {
    opacity: 1;
    transform: translateX(0);
  }
  .ls-group-bar:hover .ls-group-bar__member:nth-child(1) > div { transition-delay: 0.08s; }
  .ls-group-bar:hover .ls-group-bar__member:nth-child(2) > div { transition-delay: 0.12s; }
  .ls-group-bar:hover .ls-group-bar__member:nth-child(3) > div { transition-delay: 0.16s; }
  .ls-group-bar:hover .ls-group-bar__member:nth-child(4) > div { transition-delay: 0.2s; }
  .ls-group-bar:hover .ls-group-bar__member:nth-child(5) > div { transition-delay: 0.24s; }
  .ls-group-bar:hover .ls-group-bar__member:nth-child(6) > div { transition-delay: 0.28s; }

  /* Prénom */
  .ls-group-bar__member > div > span:first-child {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
  }

  /* Actions (Gérer + Voir les shops) — cachées en compact */
  .ls-group-bar__desktop > .mt-3 {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0s, max-height 0.3s ease 0s;
    padding-top: 0.75rem;
    border-top: 1px solid transparent;
  }
  .ls-group-bar:hover .ls-group-bar__desktop > .mt-3 {
    opacity: 1;
    max-height: 180px;
    border-top-color: var(--blue-light);
    transition-delay: 0.15s;
  }
}

/* ============================
   3. ls-shop-card
   Card d'un shop dans la liste station
   ============================ */
@property --saber-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.ls-shop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease-out);
  position: relative;
}
.ls-shop-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: conic-gradient(
    from var(--saber-angle, 0deg),
    transparent 0%,
    var(--tertiary) 8%,
    var(--secondary) 14%,
    transparent 28%
  );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.ls-shop-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius-md) - 2px);
  background: var(--white);
  z-index: 0;
  pointer-events: none;
}
.ls-shop-card > * {
  position: relative;
  z-index: 1;
}
.ls-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ls-shop-card:hover::before {
  opacity: 1;
  animation: ls-saber-spin 1.8s linear infinite;
}
@keyframes ls-saber-spin {
  to { --saber-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .ls-shop-card:hover::before {
    animation: none;
    opacity: 0;
  }
}
.ls-shop-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.ls-shop-card__body {
  padding: 1.25rem;
}
.ls-shop-card__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.ls-shop-card__rating {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}
.ls-shop-card__price {
  font-weight: 600;
  color: var(--secondary);
  font-size: 1rem;
}
.ls-shop-card__coverage {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================
   4. ls-product-card
   Card d'un article/gamme dans le catalogue matching
   ============================ */
.ls-product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out);
  border: 2px solid transparent;
}
.ls-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ls-product-card--selected {
  border-color: var(--tertiary);
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(72,202,228,0.15);
  transform: scale(1.02);
  z-index: 2;
  position: relative;
}
.ls-product-card--incompatible {
  opacity: 0.6;
}
.ls-product-card__image {
  width: 100%;
  height: 180px;
  position: relative;
}
.ls-product-card__discount {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  z-index: 1;
}
.ls-product-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ls-product-card__body {
  padding: 1rem;
}
.ls-product-card__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.ls-product-card__price {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.15rem;
}

/* ---- Mobile: single column, uniform cards ---- */
@media (max-width: 767.98px) {
  .ls-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .ls-product-card__image {
    height: 220px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: #fff;
  }
  .ls-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .ls-product-card__body {
    padding: 0.85rem;
    flex: 1;
  }
  .ls-page--immersive .ls-product-card__body {
    color: var(--dark);
  }
  .ls-page--immersive .ls-product-card__name {
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 700;
  }
  .ls-page--immersive .ls-product-card__price {
    color: var(--secondary);
  }
  .ls-page--immersive .ls-product-card__body .badge {
    color: var(--accent) !important;
    background: rgba(255, 107, 53, 0.12) !important;
  }
  .ls-page--immersive .ls-product-card__body .btn[data-action="select"] {
    color: var(--white) !important;
  }
  .ls-product-card--selected {
    transform: none;
  }
  .ls-product-card:hover {
    transform: none;
  }
}

/* ============================
   5. ls-level-badge
   Badge de niveau (debutant/intermediaire/avance/expert)
   ============================ */
.ls-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}
.ls-level-badge--beginner {
  background: #d4edda;
  color: #155724;
}
.ls-level-badge--intermediate {
  background: var(--blue-light);
  color: var(--secondary);
}
.ls-level-badge--advanced {
  background: #f8d7da;
  color: #721c24;
}
.ls-level-badge--expert {
  background: #2d2d2d;
  color: var(--white);
}

/* ============================
   6. ls-avatar-creator
   Conteneur du flow creation avatar 4 clics
   ============================ */
.ls-avatar-creator {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.ls-avatar-creator__step-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}
.ls-avatar-creator__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}
/* Cards du quiz creation : verticales avec gros avatar */
.ls-avatar-creator .ls-avatar-card {
  flex-direction: column;
  text-align: center;
  padding: 1.25rem 1rem;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  height: 260px;
}
.ls-avatar-creator .ls-avatar-card__image {
  width: auto;
  height: 160px;
  object-fit: contain;
  object-position: bottom center;
  flex-shrink: 0;
}
.ls-avatar-creator .ls-avatar-card__label {
  font-size: 1.05rem;
}
/* Étape pratique : 3 cards avec images matos */
.ls-avatar-creator .ls-pratique-card {
  padding: 2rem 1.5rem;
  min-height: 160px;
}
.ls-avatar-creator .ls-pratique-card i {
  font-size: 3rem;
}
.ls-pratique-img {
  width: auto;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 41, 64, 0.25));
  transition: transform var(--duration) var(--ease-out);
}
.ls-avatar-card--selected .ls-pratique-img,
.ls-avatar-card:hover .ls-pratique-img {
  transform: scale(1.06);
}
/* Étape niveau : cards verticales avec gros avatar */
.ls-avatar-creator .ls-niveau-card {
  flex-direction: column;
  text-align: center;
  padding: 1.25rem 1rem;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  height: 260px;
}
.ls-avatar-creator .ls-niveau-card img {
  width: auto;
  height: 160px;
  object-fit: contain;
  object-position: bottom center;
  flex-shrink: 0;
}
.ls-avatar-creator .ls-niveau-card .ls-level-badge {
  font-size: 0.9rem;
}
.ls-avatar-creator .ls-niveau-card p {
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .ls-avatar-creator {
    max-width: 100%;
    padding: 1.5rem 0.5rem;
  }
  .ls-avatar-creator__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .ls-avatar-creator .ls-avatar-card {
    padding: 0.85rem;
    height: auto;
    min-height: 130px;
  }
  .ls-avatar-creator .ls-avatar-card__image,
  .ls-avatar-creator .ls-niveau-card img {
    height: 90px;
  }
  .ls-avatar-creator .ls-niveau-card {
    height: auto;
    min-height: 130px;
  }
  .ls-avatar-creator .ls-pratique-card {
    padding: 1.25rem 1rem;
    min-height: 120px;
  }
  .ls-avatar-creator .ls-pratique-card i {
    font-size: 2.2rem;
  }
  .ls-pratique-img {
    height: 80px;
  }
  .ls-avatar-card {
    padding: 0.85rem;
    min-height: 110px;
    gap: 0.35rem;
  }
  .ls-avatar-card__image {
    width: 64px;
    height: 64px;
  }
  .ls-avatar-card__label {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .ls-avatar-creator {
    padding: 1rem 0.25rem;
  }
  .ls-avatar-creator__grid {
    gap: 0.5rem;
  }
  .ls-avatar-creator .ls-avatar-card {
    padding: 0.5rem;
    height: auto;
    min-height: 100px;
  }
  .ls-avatar-creator .ls-avatar-card__image,
  .ls-avatar-creator .ls-niveau-card img {
    height: 70px;
  }
  .ls-avatar-creator .ls-avatar-card__label {
    font-size: 0.85rem;
  }
  .ls-avatar-creator .ls-niveau-card {
    height: auto;
    min-height: 100px;
  }
  .ls-avatar-creator .ls-pratique-card {
    padding: 1rem 0.75rem;
    min-height: 100px;
  }
  .ls-avatar-creator .ls-pratique-card i {
    font-size: 1.8rem;
  }
  .ls-pratique-img {
    height: 65px;
  }
  .ls-avatar-card {
    padding: 0.65rem;
    min-height: 95px;
    gap: 0.25rem;
    border-radius: var(--radius-sm);
  }
  .ls-avatar-card__image {
    width: 52px;
    height: 52px;
  }
  .ls-avatar-card__label {
    font-size: 0.75rem;
  }
  .ls-avatar-creator .ls-niveau-card .ls-level-badge {
    font-size: 0.78rem;
  }
  .ls-avatar-creator .ls-niveau-card p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

/* ============================
   6a. Avatar Creator — Step Animations
   Keyframes + classes d'animation pour le flow création avatar
   ============================ */

/* --- Keyframes --- */
@keyframes ls-step-enter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ls-card-enter {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes ls-title-enter {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ls-subtitle-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ls-select-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,119,182,0.5); }
  100% { box-shadow: 0 0 0 10px rgba(0,119,182,0); }
}
@keyframes ls-cta-glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,107,53,0.3); }
  50%      { box-shadow: 0 0 20px rgba(255,107,53,0.55), 0 0 40px rgba(255,107,53,0.15); }
}
@keyframes ls-avatar-float-cycle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes ls-progress-shimmer-slide {
  from { transform: translateX(-100%); }
  to   { transform: translateX(200%); }
}

/* --- Step container fade-up --- */
.ls-step-animate {
  animation: ls-step-enter 350ms ease both;
}

/* --- Title slide-in from left --- */
.ls-title-animate {
  animation: ls-title-enter 400ms ease both;
}

/* --- Subtitle fade with delay --- */
.ls-subtitle-animate {
  opacity: 0;
  animation: ls-subtitle-enter 350ms ease both 150ms;
}

/* --- Card stagger (nth-child delays) --- */
.ls-card-stagger {
  animation: ls-card-enter 300ms ease both;
}
.ls-card-stagger:nth-child(1) { animation-delay: 0ms; }
.ls-card-stagger:nth-child(2) { animation-delay: 60ms; }
.ls-card-stagger:nth-child(3) { animation-delay: 120ms; }
.ls-card-stagger:nth-child(4) { animation-delay: 180ms; }
.ls-card-stagger:nth-child(5) { animation-delay: 240ms; }
.ls-card-stagger:nth-child(6) { animation-delay: 300ms; }

/* --- Selection pulse on selected card --- */
.ls-avatar-creator .ls-avatar-card--selected {
  animation: ls-select-pulse 400ms ease;
}

/* --- Avatar float (infinite loop) --- */
.ls-avatar-float {
  animation: ls-avatar-float-cycle 3s ease-in-out infinite;
}

/* --- CTA glow pulse (infinite loop) --- */
.ls-cta-glow {
  animation: ls-cta-glow-pulse 2s ease-in-out infinite;
}

/* --- Input glow on focus --- */
.ls-input-glow:focus {
  border-color: var(--tertiary);
  box-shadow: 0 0 0 3px rgba(72,202,228,0.25), 0 0 16px rgba(72,202,228,0.15);
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* --- Progress bar shimmer --- */
.ls-progress-shimmer {
  position: relative;
  overflow: hidden;
}
.ls-progress-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: ls-progress-shimmer-slide 2s ease-in-out infinite;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .ls-step-animate,
  .ls-title-animate,
  .ls-subtitle-animate,
  .ls-card-stagger {
    animation: none;
    opacity: 1;
  }
  .ls-avatar-creator .ls-avatar-card--selected {
    animation: none;
  }
  .ls-avatar-float,
  .ls-cta-glow {
    animation: none;
  }
  .ls-progress-shimmer::after {
    animation: none;
    display: none;
  }
}

/* --- Mobile: faster durations --- */
@media (max-width: 768px) {
  .ls-step-animate { animation-duration: 250ms; }
  .ls-title-animate { animation-duration: 300ms; }
  .ls-subtitle-animate { animation-duration: 250ms; }
  .ls-card-stagger { animation-duration: 200ms; }
  .ls-card-stagger:nth-child(1) { animation-delay: 0ms; }
  .ls-card-stagger:nth-child(2) { animation-delay: 40ms; }
  .ls-card-stagger:nth-child(3) { animation-delay: 80ms; }
  .ls-card-stagger:nth-child(4) { animation-delay: 120ms; }
  .ls-card-stagger:nth-child(5) { animation-delay: 160ms; }
  .ls-card-stagger:nth-child(6) { animation-delay: 200ms; }
}

/* ============================
   6c. ls-age-pill
   Boutons pilule pour selection age (50+ adulte)
   ============================ */
.ls-age-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--glass-border);
  border-radius: 50px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease,
              background 0.2s ease,
              transform 0.2s ease;
  white-space: nowrap;
}
.ls-age-pill i {
  font-size: 1.1rem;
  color: var(--tertiary);
  transition: color 0.2s ease;
}
.ls-age-pill:hover {
  border-color: var(--tertiary);
  background: rgba(72, 202, 228, 0.12);
  transform: translateY(-2px);
}
.ls-age-pill:active {
  transform: translateY(0);
}
@media (max-width: 575px) {
  .ls-age-pill {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }
}

/* ============================
   6b. ls-success-entry
   Animation après ajout d'un membre
   ============================ */
/* Card du nouveau membre : apparition avec scale + bounce */
.ls-success-entry__card {
  animation: ls-pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ls-success-entry__title {
  animation: ls-fade-up 0.5s ease both 0.3s;
}
.ls-success-entry__actions {
  animation: ls-fade-up 0.5s ease both 0.8s;
}

/* Groupe : apparition décalée */
.ls-success-group {
  animation: ls-fade-up 0.5s ease both 0.5s;
  background: linear-gradient(180deg, #001a2e 0%, #003D5B 50%, #006a9e 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
/* Chaque membre slide in avec délai progressif */
.ls-success-group__member {
  animation: ls-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ls-success-group__member:nth-child(1) { animation-delay: 0.6s; }
.ls-success-group__member:nth-child(2) { animation-delay: 0.7s; }
.ls-success-group__member:nth-child(3) { animation-delay: 0.8s; }
.ls-success-group__member:nth-child(4) { animation-delay: 0.9s; }
.ls-success-group__member:nth-child(5) { animation-delay: 1.0s; }
.ls-success-group__member:nth-child(6) { animation-delay: 1.1s; }

@keyframes ls-pop-in {
  0% { opacity: 0; transform: scale(0.3); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes ls-fade-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes ls-slide-in {
  0% { opacity: 0; transform: translateX(-30px) scale(0.8); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ls-success-entry__card,
  .ls-success-entry__title,
  .ls-success-entry__actions,
  .ls-success-group,
  .ls-success-group__member {
    animation: none;
  }
}

/* ============================
   6d. ls-avatar-stack
   Stack d'avatars chevauchés + counter (+N)
   ============================ */
.ls-avatar-stack {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ls-avatar-stack__item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  object-fit: cover;
  background: var(--glass-bg);
  flex-shrink: 0;
}
.ls-avatar-stack__item:not(:first-child) {
  margin-left: -10px;
}
.ls-avatar-stack__counter {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}
/* Variante grande pour étape 5 succès */
.ls-avatar-stack--lg .ls-avatar-stack__item,
.ls-avatar-stack--lg .ls-avatar-stack__counter {
  width: 64px;
  height: 64px;
}
.ls-avatar-stack--lg .ls-avatar-stack__item:not(:first-child),
.ls-avatar-stack--lg .ls-avatar-stack__counter {
  margin-left: -14px;
}
.ls-avatar-stack--lg .ls-avatar-stack__counter {
  font-size: 1rem;
}

/* ============================
   7. ls-morpho-form
   Formulaire mesures morphologiques (gate doux)
   ============================ */
.ls-morpho-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.ls-morpho-form__field {
  margin-bottom: 1rem;
}
.ls-morpho-form__label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
  display: block;
}
.ls-morpho-form__input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--duration) var(--ease-out);
}
.ls-morpho-form__input:focus {
  border-color: var(--tertiary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(72,202,228,0.15);
}
.ls-morpho-form__unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================
   8. ls-carte-voyage
   Carte de Voyage partageable (9:16)
   ============================ */
.ls-carte-voyage {
  aspect-ratio: 9 / 16;
  max-width: 375px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.ls-carte-voyage__header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ls-carte-voyage__avatars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.ls-carte-voyage__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ============================
   9. ls-matching-indicator
   Indicateur compatibilite (Compatible / Incompatible)
   ============================ */
.ls-matching-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
}
.ls-matching-indicator--compatible {
  color: var(--tertiary);
}
.ls-matching-indicator--incompatible {
  color: var(--text-muted);
}

/* ls-member-section — collapsible details per member */
.ls-member-section > summary::-webkit-details-marker { display: none; }
.ls-member-section > summary::marker { display: none; content: ""; }
.ls-member-section > summary .bi-chevron-down {
  transition: transform 0.2s var(--ease-out);
}
.ls-member-section[open] > summary .bi-chevron-down {
  transform: rotate(180deg);
}

/* ============================
   10. ls-profile-update-alert
   Alerte "Thomas a grandi ?" retour saison
   ============================ */
.ls-profile-update-alert {
  background: var(--orange-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--primary);
}
.ls-profile-update-alert__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ============================
   11. ls-filters-drawer
   Drawer de filtres (mobile offcanvas)
   ============================ */
.ls-filters-drawer {
  background: var(--white);
  padding: 1.5rem;
}
.ls-filters-drawer__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.ls-filters-drawer__group {
  margin-bottom: 1.25rem;
}
.ls-filters-drawer__label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

/* ============================
   12. ls-skeleton-card
   Skeleton screen placeholder
   ============================ */
.ls-skeleton-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ls-skeleton-card__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: ls-skeleton-shimmer 1.5s infinite;
}
.ls-skeleton-card__line {
  height: 14px;
  margin: 0.75rem 1.25rem;
  border-radius: 7px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: ls-skeleton-shimmer 1.5s infinite;
}
.ls-skeleton-card__line--short {
  width: 60%;
}

@keyframes ls-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ls-skeleton-card__image,
  .ls-skeleton-card__line {
    animation: none;
  }
}

/* ============================
   13. ls-hero
   Hero section plein ecran avec photo de fond
   ============================ */
.ls-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ls-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ls-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.ls-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 41, 64, 0.55) 0%,
    rgba(0, 61, 91, 0.65) 50%,
    rgba(0, 41, 64, 0.8) 100%
  );
}
.ls-hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem 1rem 6rem;
}
.ls-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.ls-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
.ls-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Barre de recherche hero */
.ls-hero__search {
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.ls-hero__search .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  background: var(--white);
}
.ls-hero__search .input-group-text {
  background: var(--white);
  border: none;
  padding-left: 1.25rem;
  color: var(--secondary);
  font-size: 1.1rem;
}
.ls-hero__search .form-control,
.ls-hero__search .form-select {
  border: none;
  font-size: 1rem;
  padding: 0.85rem 0.5rem;
}
.ls-hero__search .form-control:focus,
.ls-hero__search .form-select:focus {
  box-shadow: none;
}
.ls-hero__search .form-select {
  border-radius: 0 50px 50px 0;
  padding-right: 2.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
.ls-hero__search .form-select:has(option:checked:not([value=""])) {
  color: var(--primary);
  font-weight: 500;
}
.ls-hero__search .btn-accent {
  border-radius: 0 50px 50px 0;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

/* Parallaxe : hover/focus recherche -> avatars reculent, recherche avance (desktop only) */
@media (min-width: 769px) {
  .ls-hero__zone-top {
    transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
    transform-origin: center bottom;
  }
  .ls-hero__zone-search {
    position: relative;
    z-index: 3;
  }
  .ls-hero__zone-search .ls-hero__search {
    transition: transform 0.5s var(--ease-out);
  }
  .ls-hero__zone-search .ls-hero__search .input-group {
    transition: box-shadow 0.5s var(--ease-out);
  }
  /* :has() — quand la zone recherche est survolée OU a le focus */
  .ls-hero__content:has(.ls-hero__zone-search:hover) .ls-hero__zone-top,
  .ls-hero__content:has(.ls-hero__zone-search:focus-within) .ls-hero__zone-top {
    filter: blur(3px) brightness(0.6);
    opacity: 0.5;
    transform: scale(0.88) translateY(-20px);
  }
  .ls-hero__content:has(.ls-hero__zone-search:hover) .ls-hero__divider,
  .ls-hero__content:has(.ls-hero__zone-search:focus-within) .ls-hero__divider {
    opacity: 0;
  }
  /* La barre avance au premier plan */
  .ls-hero__zone-search:hover .ls-hero__search,
  .ls-hero__zone-search:focus-within .ls-hero__search {
    transform: scale(1.08) translateY(-8px);
  }
  .ls-hero__zone-search:hover .ls-hero__search .input-group,
  .ls-hero__zone-search:focus-within .ls-hero__search .input-group {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 30px rgba(72, 202, 228, 0.2);
  }
}
/* Séparateur : transition douce */
.ls-hero__divider {
  transition: opacity 0.5s var(--ease-out);
}

/* Stats confiance */
.ls-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.ls-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ls-hero__stat strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}
.ls-hero__stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.ls-hero__stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

/* Vague de transition */
.ls-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
  line-height: 0;
}
.ls-hero__wave svg {
  width: 100%;
  height: 80px;
}

/* Responsive hero */
@media (max-width: 768px) {
  .ls-hero {
    min-height: 85vh;
  }
  .ls-hero__title {
    font-size: 2rem;
  }
  .ls-hero__subtitle {
    font-size: 1rem;
  }
  .ls-avatar-card--hero {
    height: 200px;
  }
  .ls-avatar-card--hero .ls-avatar-card__image {
    height: 150px;
  }
  .ls-hero__stats {
    gap: 1rem;
  }
  .ls-hero__stat strong {
    font-size: 1.2rem;
  }
  .ls-hero__search .btn-accent {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }
}

/* ls-avatar-card variante hero (fond glass, texte blanc, plus grand) */
.ls-avatar-card--hero {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.25rem 0.6rem;
  height: 200px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out),
              opacity 0.35s var(--ease-out), background 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
/* Animations hover avatars — desktop uniquement, seulement état "pas de groupe" */
@media (min-width: 769px) {
  /* Quand on survole le CONTENEUR, tous les cards se floutent et rétrécissent */
  .ls-hero-avatars--selectable:hover .ls-avatar-card--hero {
    filter: blur(2px) brightness(0.7);
    opacity: 0.6;
    transform: scale(0.92);
  }
  /* Sauf la card survolée : elle s'agrandit fort et reste nette */
  .ls-hero-avatars--selectable:hover .ls-avatar-card--hero:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.25);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 20px rgba(72, 202, 228, 0.25);
    z-index: 2;
  }
}
.ls-avatar-card--hero .ls-avatar-card__image {
  width: 100%;
  height: 190px;
  object-fit: contain;
  object-position: bottom center;
}
.ls-avatar-card--hero .ls-avatar-card__label {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-top: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ls-hero-group — Affichage groupe dans le hero */
.ls-hero-group {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.ls-hero-group__members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ls-hero-group__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 80px;
}
.ls-hero-group__avatar {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  transition: all var(--duration) var(--ease-out);
}
.ls-hero-group__member:hover .ls-hero-group__avatar {
  border-color: var(--tertiary);
  transform: translateY(-2px);
}
.ls-hero-group__info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ls-hero-group__info strong {
  color: var(--white);
  font-size: 0.85rem;
}
.ls-hero-group__info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}
.ls-hero-group__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.ls-hero-group__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all var(--duration) var(--ease-out);
}
.ls-hero-group__add:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: scale(1.1);
}

/* Separateur hero */
.ls-hero__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto 1.75rem;
  max-width: 400px;
}
.ls-hero__divider hr {
  flex: 1;
  border-color: rgba(255, 255, 255, 0.2);
  margin: 0;
}
.ls-hero__divider span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ls-avatar-card--hero {
    padding: 0.25rem 0.25rem 0.5rem;
    height: 150px;
  }
  .ls-avatar-card--hero .ls-avatar-card__image {
    height: 115px;
  }
  .ls-hero-group {
    padding: 1rem;
  }
  .ls-hero-group__members {
    gap: 0.6rem;
    margin-bottom: 0.75rem;
  }
  .ls-hero-group__avatar {
    width: 56px;
    height: 56px;
    padding: 3px;
  }
  .ls-hero-group__member {
    min-width: 64px;
  }
  .ls-hero-group__info strong {
    font-size: 0.78rem;
  }
  .ls-hero-group__info span {
    font-size: 0.68rem;
  }
}
@media (max-width: 480px) {
  .ls-avatar-card--hero {
    height: 120px;
  }
  .ls-avatar-card--hero .ls-avatar-card__image {
    height: 90px;
  }
  .ls-avatar-card--hero .ls-avatar-card__label {
    font-size: 0.82rem;
  }
  .ls-hero-group {
    padding: 0.85rem;
    border-radius: var(--radius-md);
  }
  .ls-hero-group__avatar {
    width: 44px;
    height: 44px;
  }
  .ls-hero-group__add {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ============================
   14. ls-step-icon
   Icone etape "Comment ca marche"
   ============================ */
.ls-step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), rgba(72, 202, 228, 0.2));
  color: var(--secondary);
  font-size: 1.75rem;
}
.ls-step-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================
   15. ls-soon-card
   Card module "Prochainement" — styles déplacés dans landing.css
   Composant retiré de components.css (utilisé uniquement sur landing)
   ============================ */

/* ============================
   13. ls-badge-statut
   Badges de statut colores pour les reservations
   ============================ */
.ls-badge-statut {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ls-badge-confirmee { background: #d4edda; color: #155724; }
.ls-badge-en_attente { background: var(--orange-light); color: var(--accent); }
.ls-badge-annulee { background: #f8d7da; color: #721c24; }
.ls-badge-terminee { background: #e2e3e5; color: var(--text-muted); }
.ls-badge-en_attente_annulation { background: #fff3cd; color: #856404; }

/* Suivi d'une demande d'annulation (detail reservation client) */
.ls-cancel-notice {
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  border-left: 4px solid transparent;
}
.ls-cancel-notice__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
}
.ls-cancel-notice__text {
  font-size: 0.9rem;
  margin-bottom: 6px;
  white-space: pre-line;
}
.ls-cancel-notice__text:last-child { margin-bottom: 0; }
.ls-cancel-notice--pending { background: #fff3cd; border-left-color: #856404; color: #856404; }
.ls-cancel-notice--refused { background: #f8d7da; border-left-color: #721c24; color: #721c24; }
.ls-cancel-notice--refunded { background: #d4edda; border-left-color: #155724; color: #155724; }

/* ============================
   14. ls-reservation-card
   Card cliquable pour la liste des reservations
   ============================ */
.ls-reservation-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.ls-reservation-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  color: inherit;
}

/* ============================
   15. ls-season-banner
   Banniere "nouvelle saison" dismissable
   ============================ */
.ls-season-banner {
  background: var(--blue-light);
  border-left: 4px solid var(--tertiary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

/* ============================
   16. ls-growth-alert
   Badge "enfant a grandi ?" sur la page groupe
   ============================ */
.ls-growth-alert {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--orange-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ls-growth-alert:hover {
  opacity: 0.85;
}

/* ============================
   17. ls-danger-zone
   Zone de suppression de compte (RGPD)
   ============================ */
/* ============================
   18. ls-date-field
   Champ date stylise (reservation)
   ============================ */
.ls-date-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 2px solid var(--border-lighter);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
}
.ls-date-field:hover {
  border-color: var(--tertiary);
  box-shadow: 0 0 0 3px rgba(72, 202, 228, 0.1);
}
.ls-date-field:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}
.ls-date-field--filled {
  border-color: var(--tertiary);
  background: var(--blue-light);
}
.ls-date-field__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.25s var(--ease-out);
}
.ls-date-field--filled .ls-date-field__icon {
  background: var(--secondary);
  color: var(--white);
}
.ls-date-field__content {
  flex: 1;
  min-width: 0;
}
.ls-date-field__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.ls-date-field__input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.ls-date-field__input:focus {
  outline: none;
}
/* Restyle du bouton calendrier natif */
.ls-date-field__input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.5;
  filter: invert(20%) sepia(40%) saturate(900%) hue-rotate(170deg);
  transition: opacity 0.2s;
}
.ls-date-field__input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.ls-danger-zone {
  background: var(--orange-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

/* ============================
   13. ls-group-invite
   Bloc onboarding "Créer son groupe" avec animation avatars
   ============================ */
.ls-group-invite {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--blue-light);
}

.ls-group-invite__scene {
  margin-bottom: 1.5rem;
}

.ls-group-invite__avatars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  height: 110px;
  position: relative;
}

.ls-group-invite__avatar {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--bg);
  box-shadow: 0 4px 12px rgba(0, 61, 91, 0.12);
  position: relative;
  animation: lsGroupSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ls-group-invite__avatar--1 {
  animation-delay: 0.2s;
  z-index: 3;
  margin-right: -12px;
}

.ls-group-invite__avatar--2 {
  animation-delay: 0.5s;
  z-index: 2;
  margin-right: -12px;
  width: 64px;
  height: 64px;
}

.ls-group-invite__avatar--3 {
  animation-delay: 0.8s;
  z-index: 1;
  width: 56px;
  height: 56px;
}

.ls-group-invite__add {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px dashed var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  margin-left: -8px;
  z-index: 0;
  animation: lsGroupSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both 1.1s,
             lsGroupPulse 2s ease-in-out infinite 2s;
}

@keyframes lsGroupSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lsGroupPulse {
  0%, 100% {
    transform: scale(1);
    border-color: var(--secondary);
  }
  50% {
    transform: scale(1.1);
    border-color: var(--accent);
  }
}

.ls-group-invite__title {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.ls-group-invite__subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.ls-group-invite__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.ls-group-invite__feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
}

.ls-group-invite__feature i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.ls-group-invite__cta {
  width: 100%;
  max-width: 320px;
  font-size: 1.05rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ls-group-invite__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* ============================
   14. ls-stepper
   Stepper horizontal animé (3 étapes)
   ============================ */
.ls-stepper {
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.ls-stepper__track {
  display: flex;
  align-items: center;
}

.ls-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.ls-stepper__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg);
  color: var(--text-light);
  border: 2px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ls-stepper__step--active .ls-stepper__dot {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.15);
  transform: scale(1.1);
}

.ls-stepper__step--done .ls-stepper__dot {
  background: var(--tertiary);
  color: var(--white);
  border-color: var(--tertiary);
}

.ls-stepper__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.ls-stepper__step--active .ls-stepper__label {
  color: var(--primary);
}

.ls-stepper__step--done .ls-stepper__label {
  color: var(--tertiary);
}

.ls-stepper__bar {
  flex: 1;
  height: 3px;
  background: var(--border-lighter);
  border-radius: 2px;
  margin: 0 0.5rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.ls-stepper__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tertiary), var(--secondary));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================
   15. ls-step-enter
   Animation d'entrée pour chaque étape
   ============================ */
.ls-step-enter {
  animation: lsStepFadeUp 0.5s ease-out both;
}

@keyframes lsStepFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   16. ls-step-icon
   Icône ronde illustrative par étape
   ============================ */
.ls-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  animation: lsIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.2s;
}

.ls-step-icon--dates {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.12), rgba(72, 202, 228, 0.18));
  color: var(--secondary);
}

.ls-step-icon--done {
  background: linear-gradient(135deg, rgba(72, 202, 228, 0.15), rgba(0, 119, 182, 0.1));
  color: var(--tertiary);
  font-size: 2rem;
}

@keyframes lsIconPop {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* ============================
   ls-flow-card
   Card container pour les étapes du flow réservation
   ============================ */
.ls-flow-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0, 61, 91, 0.06);
  border: 1.5px solid var(--blue-light);
}

.ls-flow-card__title {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.ls-flow-card__subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============================
   17. ls-date-summary
   Capsule résumé jours sélectionnés
   ============================ */
.ls-date-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--blue-light), rgba(72, 202, 228, 0.1));
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  animation: lsStepFadeUp 0.4s ease-out both;
}

.ls-date-summary i {
  font-size: 1.1rem;
}

.ls-date-summary__range {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-left: auto;
}

/* ============================
   18. ls-btn-bounce
   Bouton avec effet bounce au hover
   ============================ */
.ls-btn-bounce {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.ls-btn-bounce:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
}

.ls-btn-bounce:not(:disabled):active {
  transform: translateY(0) scale(0.97);
}

/* ============================
   19. ls-mini-group
   Mini barre avec avatars du groupe
   ============================ */
.ls-mini-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.ls-mini-group__avatars {
  display: flex;
}

.ls-mini-group__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: contain;
  background: var(--white);
  margin-left: -8px;
}

.ls-mini-group__avatar:first-child {
  margin-left: 0;
}

.ls-mini-group__text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================
   20. ls-morpho-progress
   Barre de progression mesures groupe
   ============================ */
.ls-morpho-progress {
  margin-bottom: 1.25rem;
}

.ls-morpho-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ls-morpho-progress__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.ls-morpho-progress__count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
}

.ls-morpho-progress__bar {
  height: 6px;
  background: var(--border-lighter);
  border-radius: 3px;
  overflow: hidden;
}

.ls-morpho-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tertiary), var(--secondary));
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================
   21. ls-member-selector
   Galerie avatars cliquables pour choisir un membre
   ============================ */
.ls-member-selector {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ls-member-selector::-webkit-scrollbar {
  display: none;
}

.ls-member-selector__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ls-member-selector__item:hover {
  transform: translateY(-2px);
}

.ls-member-selector__avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}

.ls-member-selector__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg);
  border: 3px solid var(--border-lighter);
  transition: all 0.3s ease;
}

.ls-member-selector__item--active .ls-member-selector__avatar {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.ls-member-selector__item--done .ls-member-selector__avatar {
  border-color: var(--tertiary);
}

.ls-member-selector__check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tertiary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  border: 2px solid var(--white);
  animation: lsIconPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ls-member-selector__name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  max-width: 64px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ls-member-selector__item--active .ls-member-selector__name {
  color: var(--primary);
}

/* ============================
   22. ls-member-form
   Formulaire mesures d'un membre (card)
   ============================ */
.ls-member-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--blue-light);
}

.ls-member-form__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--blue-light);
}

.ls-member-form__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg);
  border: 2px solid var(--tertiary);
}

/* ============================
   23. ls-measure / ls-measure-grid
   Champs de mesure avec icône + check animé
   ============================ */
.ls-measure-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ls-measure {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border-lighter);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  background: var(--white);
}

.ls-measure:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.08);
}

.ls-measure--filled {
  border-color: var(--tertiary);
  background: linear-gradient(135deg, rgba(72, 202, 228, 0.04), rgba(0, 119, 182, 0.02));
}

.ls-measure--optional {
  opacity: 0.8;
}

.ls-measure--optional.ls-measure--filled {
  opacity: 1;
}

.ls-measure__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  background: var(--bg);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.ls-measure--filled .ls-measure__icon {
  background: rgba(72, 202, 228, 0.15);
  color: var(--secondary);
}

.ls-measure__body {
  flex: 1;
  min-width: 0;
}

.ls-measure__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.ls-measure__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light);
}

.ls-measure__input-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ls-measure__input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.ls-measure__input:focus {
  outline: none;
}

.ls-measure__input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

select.ls-measure__input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-color: var(--white) !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--border-lighter);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  padding-right: 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230077B6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

select.ls-measure__input option {
  background-color: #fff;
  color: var(--primary);
}

select.ls-measure__input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.08);
  outline: none;
}

select.form-control.ls-input-glow,
select.form-select.ls-input-glow {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-color: #00263d !important;
  color: #fff !important;
  border: 1px solid rgba(72, 202, 228, 0.3) !important;
  border-radius: var(--radius-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2348CAE4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

select.form-control.ls-input-glow option,
select.form-select.ls-input-glow option {
  background-color: #00263d;
  color: #fff;
}

select.form-control.ls-input-glow:focus,
select.form-select.ls-input-glow:focus {
  border-color: var(--tertiary) !important;
  box-shadow: 0 0 0 3px rgba(72, 202, 228, 0.25), 0 0 16px rgba(72, 202, 228, 0.15);
  outline: none;
}

/* Dark theme for text inputs in modal */
#modalAvatar .form-control.ls-input-glow {
  background-color: #00263d !important;
  color: #fff !important;
  border: 1px solid rgba(72, 202, 228, 0.3) !important;
}

#modalAvatar .form-control.ls-input-glow::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ls-measure__unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.ls-measure__ok {
  font-size: 1.2rem;
  color: var(--tertiary);
  flex-shrink: 0;
  animation: lsMeasureOk 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes lsMeasureOk {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-45deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* ============================
   24. ls-measure-help
   Guide des tailles pliable
   ============================ */
.ls-measure-help {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ls-measure-help summary {
  cursor: pointer;
  color: var(--secondary);
  font-weight: 500;
  padding: 0.35rem 0;
}

.ls-measure-help summary:hover {
  text-decoration: underline;
}

.ls-measure-help__body {
  margin-top: 0.5rem;
  padding: 0.85rem;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.ls-measure-help__body p {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================
   25. ls-reedit-banner
   Bandeau de confirmation pour ré-éditer un membre déjà configuré
   ============================ */
.ls-reedit-banner {
  background: var(--white);
  border: 1.5px solid var(--tertiary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.ls-reedit-banner__content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ls-reedit-banner__icon {
  font-size: 1.5rem;
  color: var(--tertiary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ls-reedit-banner__content strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.ls-reedit-banner__content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.ls-reedit-banner__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.ls-reedit-banner__actions .btn {
  padding: 0.4rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 50px;
}

/* ============================
   GLOBAL MOBILE RESPONSIVE
   ============================ */

/* --- Mobile (≤575px) --- */
@media (max-width: 575px) {
  /* Product cards compacts */
  .ls-product-card__image {
    height: 120px;
  }
  .ls-product-card__body {
    padding: 0.75rem;
  }
  .ls-product-card__name {
    font-size: 0.85rem;
  }
  .ls-product-card__price {
    font-size: 1rem;
  }
  .ls-matching-indicator {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }

  /* Reservation cards */
  .ls-reservation-card {
    padding: 14px;
  }

  /* Date fields compacts */
  .ls-date-field {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
  }

  /* Group bar mobile */
  .ls-group-bar__mobile {
    padding: 0.4rem 0.75rem;
    max-height: 56px;
  }
  .ls-group-bar__avatar {
    width: 30px;
    height: 30px;
  }
  .ls-group-bar__cta {
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
  }
  .ls-group-bar__spacer {
    height: 56px;
  }


  /* Morpho form */
  .ls-morpho-form {
    padding: 1rem;
  }

  /* Season banner */
  .ls-season-banner {
    padding: 12px 14px;
  }

  /* Reedit banner */
  .ls-reedit-banner {
    padding: 0.75rem;
    gap: 0.6rem;
  }
  .ls-reedit-banner__actions {
    gap: 0.5rem;
  }
  .ls-reedit-banner__actions .btn {
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
  }
}

/* --- Mobile petit (≤400px) --- */
@media (max-width: 400px) {
  .ls-product-card__image {
    height: 90px;
  }
  .ls-product-card__body {
    padding: 0.6rem;
  }
  .ls-product-card__name {
    font-size: 0.78rem;
  }
  .ls-product-card__price {
    font-size: 0.9rem;
  }
  .ls-group-bar__avatar {
    width: 26px;
    height: 26px;
  }
  .ls-group-bar__cta {
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* ============================
   ls-loueur-hero (badge only — used in shop-header for loueur mode)
   ============================ */
.ls-loueur-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}
.ls-loueur-hero__badge img {
  opacity: 0.65;
}

/* ============================
   13. ls-sso-btn
   Boutons SSO (Google, Apple V2)
   ============================ */
.ls-sso-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ls-sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
}
.ls-sso-btn:focus-visible {
  outline: 2px solid var(--tertiary);
  outline-offset: 2px;
}
.ls-sso-btn--google {
  background: #ffffff;
  border: 1px solid #dadce0;
  color: var(--dark);
}
.ls-sso-btn--google:hover {
  background: #f7f8f8;
  border-color: #c0c4c8;
  color: var(--dark);
  text-decoration: none;
}
.ls-sso-btn--apple {
  background: #000000;
  color: #ffffff;
}
.ls-sso-btn--apple:hover {
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
}
.ls-sso-separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.ls-sso-separator::before,
.ls-sso-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 61, 91, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .ls-sso-btn {
    transition: none;
  }
}

/* ============================
   14. ls-nudge-sheet
   Bottom sheet post-composition — sauvegarde groupe
   ============================ */
.ls-nudge-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(0, 41, 64, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 24px 20px 32px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.ls-nudge-sheet--visible {
  transform: translateY(0);
  pointer-events: auto;
}
.ls-nudge-sheet__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1039;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.ls-nudge-sheet__backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}
.ls-nudge-sheet__avatars {
  justify-content: center;
  margin-bottom: 1rem;
}
.ls-nudge-sheet__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white, #fff);
  margin-bottom: 0.25rem;
}
.ls-nudge-sheet__subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}
.ls-nudge-sheet__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.ls-nudge-sheet__separator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}
.ls-nudge-sheet__separator::before,
.ls-nudge-sheet__separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.ls-nudge-sheet__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}
.ls-nudge-sheet__btn--email {
  background: var(--accent);
  color: var(--white, #fff);
}
.ls-nudge-sheet__btn--email:hover {
  background: #e55a2b;
  color: var(--white, #fff);
  text-decoration: none;
}
.ls-nudge-sheet__later {
  /* C'est un <button> natif (pas un lien) : sans ces resets, le navigateur
     dessine un pavé blanc avec bordure. FR61 : « Plus tard » doit rester
     clairement visible, pas minimisé. */
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.9rem;
  background: none;
  border: 0;
  border-radius: 50px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ls-nudge-sheet__later:hover,
.ls-nudge-sheet__later:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  .ls-nudge-sheet,
  .ls-nudge-sheet__backdrop {
    transition: none;
  }
}

/* ============================
   14. ls-chip-save
   Chip notification "Groupe non sauvegardé" (catalogue matching)
   ============================ */
.ls-chip-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 41, 64, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
              background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ls-chip-save__icon {
  width: 16px;
  height: 16px;
  color: var(--tertiary);
  flex-shrink: 0;
}
.ls-chip-save__text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.ls-chip-save__cta {
  font-weight: 600;
  color: var(--tertiary);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  transition: color 220ms cubic-bezier(0.16, 1, 0.3, 1);
  background: none;
  border: none;
}
.ls-chip-save__cta:hover {
  color: #fff;
}
.ls-chip-save--confirmed {
  border-color: rgba(72, 202, 228, 0.4);
  background: rgba(72, 202, 228, 0.12);
}
.ls-chip-save--confirmed .ls-chip-save__icon {
  color: var(--tertiary);
}
.ls-chip-save--confirmed .ls-chip-save__text {
  color: var(--tertiary);
  font-weight: 600;
}
.ls-chip-save--fade-out {
  opacity: 0;
  transition: opacity 220ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .ls-chip-save,
  .ls-chip-save--fade-out {
    transition: none;
  }
}

/* ============================
   15. ls-share-panel
   Panneau de partage groupe — glassmorphism LocSki
   bottom sheet mobile / modal desktop
   ============================ */
.ls-share-panel {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
}
.ls-share-panel--visible {
  pointer-events: auto;
  visibility: visible;
}
.ls-share-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 45, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--duration) ease;
}
.ls-share-panel--visible .ls-share-panel__overlay {
  opacity: 1;
}
.ls-share-panel__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.75rem 1.25rem 2rem;
  box-shadow: var(--glass-shadow);
  transform: translateY(100%);
  transition: transform 220ms var(--ease-out);
}
.ls-share-panel--visible .ls-share-panel__content {
  transform: translateY(0);
}
.ls-share-panel__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}
.ls-share-panel__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.ls-share-panel__header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ls-share-panel__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(72, 202, 228, 0.12);
  border: 1px solid rgba(72, 202, 228, 0.2);
  color: var(--tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.ls-share-panel__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.ls-share-panel__subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}
.ls-share-panel__url {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(72, 202, 228, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'Inter', monospace;
  font-size: 0.82rem;
  color: var(--tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 1.25rem;
}
.ls-share-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ls-share-panel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--duration) var(--ease-out);
}
.ls-share-panel__btn--whatsapp {
  background: #25D366;
  color: var(--white);
}
.ls-share-panel__btn--whatsapp:hover {
  background: #1fba59;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.ls-share-panel__btn--sms {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ls-share-panel__btn--sms:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(72, 202, 228, 0.35);
  color: var(--white);
  transform: translateY(-1px);
}
.ls-share-panel__btn--copy {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ls-share-panel__btn--copy:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(72, 202, 228, 0.35);
  color: var(--white);
  transform: translateY(-1px);
}
.ls-share-panel__btn--generate {
  background: var(--accent);
  color: var(--white);
  width: 100%;
  border-radius: 50px;
}
.ls-share-panel__btn--generate:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}
.ls-share-panel__copied {
  text-align: center;
  color: var(--tertiary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}
.ls-share-panel__revoke {
  display: block;
  margin: 1.25rem auto 0;
  background: none;
  border: none;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  min-height: 44px;
  min-width: 44px;
  transition: color var(--duration) ease;
}
.ls-share-panel__revoke:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Desktop */
@media (min-width: 768px) {
  .ls-share-panel {
    align-items: center;
  }
  .ls-share-panel__content {
    max-width: 440px;
    border-radius: var(--radius-lg);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 2rem 2.25rem;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 220ms var(--ease-out), opacity 180ms ease;
  }
  .ls-share-panel--visible .ls-share-panel__content {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ls-share-panel__content,
  .ls-share-panel__overlay {
    transition: none;
  }
}

/* ============================
   ls-group-bar__share-btn (mobile share icon)
   ============================ */
.ls-group-bar__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--secondary);
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--duration) var(--ease-out);
}
.ls-group-bar__share-btn:hover {
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary);
}

/* ============================
   ls-toast
   Toast notification — nouveaux membres groupe
   ============================ */
.ls-toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1060;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ls-toast--entering {
  opacity: 1;
  transform: translateX(0);
}
.ls-toast--leaving {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ls-toast__body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.ls-toast__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}
.ls-toast__text {
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 500;
}
.ls-toast__close {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.ls-toast__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
/* Mobile: bottom position above group-bar */
@media (max-width: 767.98px) {
  .ls-toast {
    top: auto;
    right: 1rem;
    left: 1rem;
    bottom: 80px;
    max-width: none;
    transform: translateY(20px);
  }
  .ls-toast--entering {
    transform: translateY(0);
  }
  .ls-toast--leaving {
    transform: translateY(20px);
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ls-toast,
  .ls-toast * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   17b. SESSION RECALL — toast variant + modal reconnexion
   ═══════════════════════════════════════════════════════════════════════════ */

/* Toast recall — variante avec actions */
.ls-toast--recall .ls-toast__icon-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(72, 202, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--tertiary);
}
.ls-toast--recall .ls-toast__content {
  flex: 1;
  min-width: 0;
}
.ls-toast--recall .ls-toast__text {
  display: block;
  margin-bottom: 0.5rem;
}
.ls-toast__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ls-toast__btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ls-toast__btn-primary:hover {
  background: #e55a28;
}
.ls-toast__btn-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.35rem 0;
  transition: color 0.15s ease;
}
.ls-toast__btn-dismiss:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Modal reconnexion overlay */
.ls-recall-overlay {
  position: fixed;
  inset: 0;
  z-index: 1070;
  background: rgba(0, 41, 64, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ls-recall-overlay.is-visible {
  opacity: 1;
}

/* Modal card */
.ls-recall-modal {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 41, 64, 0.2);
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.ls-recall-overlay.is-visible .ls-recall-modal {
  transform: translateY(0);
}
.ls-recall-modal__header {
  margin-bottom: 0.75rem;
}
.ls-recall-modal__wave {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.ls-recall-modal__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.ls-recall-modal__text {
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
}
.ls-recall-modal__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.ls-recall-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ls-recall-modal__btn-login {
  width: 100%;
  padding: 0.7rem;
  font-size: 0.95rem;
}
.ls-recall-modal__btn-later {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.15s ease;
}
.ls-recall-modal__btn-later:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   18. SEASON RETURN — ls-season-return
   ═══════════════════════════════════════════════════════════════════════════ */
.ls-season-return {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.ls-season-return__header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.ls-season-return__card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 61, 91, 0.08);
}
.ls-season-return__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg);
  flex-shrink: 0;
}
.ls-season-return__level-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  min-height: 44px;
  min-width: 44px;
  border: 1.5px solid rgba(0, 61, 91, 0.15);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.ls-season-return__level-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}
.ls-season-return__level-btn.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.ls-season-return__recap {
  background: var(--blue-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.ls-season-return__congrats {
  transition: opacity 220ms ease;
}

/* Avatar transition animation */
.ls-avatar-transition--out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 200ms ease, transform 200ms ease;
}
.ls-avatar-transition--in {
  opacity: 1;
  transform: scale(1);
  animation: ls-avatar-pop 200ms ease forwards;
}
@keyframes ls-avatar-pop {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Mobile responsive */
@media (max-width: 575px) {
  .ls-season-return {
    padding: 1rem 0.75rem;
  }
  .ls-season-return__header {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
  .ls-season-return__card {
    padding: 1rem;
  }
  .ls-season-return__avatar {
    width: 60px;
    height: 60px;
  }
  .ls-season-return__level-btn {
    flex: 1;
    min-width: 0;
  }
}

/* Reduced motion for avatar transitions */
@media (prefers-reduced-motion: reduce) {
  .ls-avatar-transition--out,
  .ls-avatar-transition--in {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================
   Rich text from admin WYSIWYG
   Override inline styles to match LocSki design
   ============================ */
.ls-richtext {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}
.ls-richtext * {
  font-family: 'Inter', sans-serif !important;
  color: inherit !important;
  font-size: inherit !important;
}
.ls-richtext p { margin-bottom: 0.5rem; }
.ls-richtext p:last-child { margin-bottom: 0; }
.ls-richtext a { color: var(--secondary) !important; text-decoration: underline; }

/* ============================
   ls-footer
   Footer minimal — logo + nav inline desktop, stacked mobile
   ============================ */
.ls-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ls-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1rem;
}
.ls-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.ls-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.ls-footer__brand em {
  font-style: normal;
  color: var(--secondary);
}
.ls-footer__brand img {
  flex-shrink: 0;
}
.ls-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}
.ls-footer__nav a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}
.ls-footer__nav a:hover {
  color: var(--tertiary);
}
.ls-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}
.ls-footer__credit a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.ls-footer__credit a:hover {
  color: var(--tertiary);
}

@media (min-width: 768px) {
  .ls-footer__inner {
    padding: 2rem 2rem 1.25rem;
  }
  .ls-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .ls-footer__nav {
    gap: 0.4rem 1.75rem;
  }
  .ls-footer__nav a {
    font-size: 0.82rem;
  }
}

