body.lm-no-header {
  background:
    linear-gradient(
      135deg,
      rgba(4, 4, 8, 0.35),
      rgba(4, 4, 8, 0.65) 45%,
      rgba(4, 4, 8, 0.88)
    ),
    url("../../images/background-index.png")
    center center / cover no-repeat fixed;
}

/* =========================================================
   LYS MOI — HOME / VITRINE PUBLIQUE
   ========================================================= */

.home-shell {
  padding: 34px 24px 120px;
  overflow: hidden;
}

/* HERO */

.home-hero {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-bottom: 120px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: -120px -24px -120px -24px;

  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(240, 198, 116, 0.10),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 30%,
      rgba(240, 198, 116, 0.06),
      transparent 22%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(255, 255, 255, 0.03),
      transparent 24%
    );

  pointer-events: none;
}

.home-hero__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.28;
  pointer-events: none;
}

.home-hero__glow--one {
  left: 8%;
  top: 20%;
  background: rgba(240, 198, 116, 0.35);
}

.home-hero__glow--two {
  right: 10%;
  bottom: 14%;
  background: rgba(190, 145, 90, 0.28);
}

.home-hero-card {
  position: relative;
  z-index: 1;

  width: min(100%, 920px);
  padding: clamp(28px, 3.8vw, 44px) clamp(24px, 5vw, 58px);

  text-align: center;

  background:
  linear-gradient(
    135deg,
    rgba(18, 16, 18, 0.30),
    rgba(5, 5, 8, 0.20)
  );

backdrop-filter: blur(10px);

border: 1px solid rgba(240, 198, 116, 0.18);

  box-shadow:
  0 36px 90px rgba(0, 0, 0, 0.42),
  0 0 70px rgba(240, 198, 116, 0.05),
  inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.home-logo {
  display: block;

  width: min(300px, 65%);
  height: auto;

  margin: -28px auto 0;

  filter:
    drop-shadow(0 0 18px rgba(240, 198, 116, 0.35))
    drop-shadow(0 0 40px rgba(240, 198, 116, 0.18));
}

.home-values {
  margin: 4px 0 18px;
}

.home-topline,
.home-kicker {
  margin: 0 0 18px;

  color: var(--lm-accent);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.home-topline {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 18px;

  background: rgba(240, 198, 116, 0.08);
  border: 1px solid rgba(240, 198, 116, 0.22);
  border-radius: 999px;

  text-shadow: 0 0 18px rgba(240, 198, 116, 0.38);
}

.home-hero-card h1 {
  max-width: 820px;
  margin: 0 auto 12px;

  color: var(--lm-text-title);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.home-subtitle {
  max-width: 720px;
  margin: 0 auto 22px;

  color: var(--lm-text-soft);
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  line-height: 1.6;
}

.home-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;

  margin-top: 10px;
}

.home-btn {
  min-width: 190px;
}

.home-discover-link {
  width: 100%;
  margin-top: 6px;

  color: var(--lm-text-muted);
  font-size: 0.95rem;
  font-style: italic;
  text-decoration: none;

  transition:
    color var(--lm-transition),
    transform var(--lm-transition);
}

.home-discover-link:hover {
  color: var(--lm-accent);
  transform: translateY(2px);
}

.home-hero-note {
  margin: 28px auto 0;

  color: var(--lm-text-muted);
  font-size: 0.96rem;
  font-style: italic;
  line-height: 1.6;
}

.home-signature {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 28px;
}

/* =========================================================
   FEATURES
   ========================================================= */

.home-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;

  margin-top: 28px;
}

.home-feature {
  padding: 16px 14px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 198, 116, 0.14);
  border-radius: 22px;

  transition:
    transform var(--lm-transition),
    border-color var(--lm-transition),
    box-shadow var(--lm-transition);
}

.home-feature:hover {
  transform: translateY(-4px);

  border-color: rgba(240, 198, 116, 0.30);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.25),
    0 0 24px rgba(240,198,116,0.08);
}

.home-feature__icon {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.home-feature h3 {
  margin: 0 0 8px;

  color: var(--lm-text-title);
  font-size: 1rem;
}

.home-feature p {
  margin: 0;

  color: var(--lm-text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-signature span {
  padding: 10px 16px;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(240, 198, 116, 0.14);
  border-radius: 999px;

  color: var(--lm-text-soft);
  font-size: 0.92rem;
  font-weight: 500;

  transition:
    border-color var(--lm-transition),
    transform var(--lm-transition);
}

.home-signature span:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 198, 116, 0.35);
}

/* SECTIONS */

.home-section,
.home-pillars,
.home-community {
  position: relative;
  z-index: 1;

  width: min(1120px, 100%);
  margin: 0 auto;
}

.home-section {
  padding: 82px 0 42px;
  text-align: center;
}

.home-section h2,
.home-community h2 {
  max-width: 860px;
  margin: 0 auto 20px;

  color: var(--lm-text-title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.home-section p,
.home-community p,
.home-pillar p {
  color: var(--lm-text-soft);
  line-height: 1.8;
}

.home-section > p:not(.home-kicker) {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
}

/* PILIERS */

.home-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;

  padding: 26px 0 62px;
}

.home-pillar {
  padding: 30px 26px;

  border-color: rgba(240, 198, 116, 0.14);
  transition:
    transform var(--lm-transition),
    border-color var(--lm-transition),
    box-shadow var(--lm-transition);
}

.home-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--lm-border-gold-strong);
  box-shadow: var(--lm-shadow-main);
}

.home-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  margin-bottom: 18px;

  border-radius: 18px;
  background: var(--lm-accent-soft);
  border: 1px solid var(--lm-border-gold);

  font-size: 1.55rem;
}

.home-pillar h3 {
  margin: 0 0 12px;

  color: var(--lm-text-title);
  font-size: 1.35rem;
}

.home-pillar p {
  margin: 0;
  font-size: 0.98rem;
}

/* CYCLE */

.home-section--cycle {
  padding-top: 38px;
}

.home-cycle {
  display: flex;
  align-items: stretch;
  justify-content: center;

  margin-top: 38px;
}

.home-cycle__step {
  width: 150px;
  min-height: 132px;
  padding: 18px 14px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(240, 198, 116, 0.16);
  border-radius: 22px;

  text-align: center;
}

.home-cycle__step span {
  font-size: 1.9rem;
}

.home-cycle__step strong {
  color: var(--lm-text-title);
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-cycle__line {
  width: 42px;
  height: 1px;
  align-self: center;

  background: linear-gradient(
    90deg,
    rgba(240, 198, 116, 0.08),
    rgba(240, 198, 116, 0.48),
    rgba(240, 198, 116, 0.08)
  );
}

/* COMMUNITY */

.home-community {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: center;

  margin-top: 56px;
  padding: clamp(30px, 5vw, 52px);

  border-color: rgba(240, 198, 116, 0.2);
}

.home-community .home-kicker,
.home-community h2,
.home-community p {
  margin-left: 0;
  text-align: left;
}

.home-community p {
  margin-top: 0;
  font-size: 1.04rem;
}

.home-community__quote {
  position: relative;

  padding: 30px;

  background:
    linear-gradient(135deg, rgba(240, 198, 116, 0.14), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(240, 198, 116, 0.2);
  border-radius: 26px;
}

.home-community__quote span {
  display: block;
  height: 34px;

  color: var(--lm-accent);
  font-size: 4.4rem;
  line-height: 0.8;
}

.home-community__quote p {
  margin: 0;

  color: var(--lm-text-title);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.65;
}

/* FINAL */

.home-final {
  padding-bottom: 10px;
}

.home-final .home-btn {
  margin-top: 28px;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .home-pillars {
    grid-template-columns: 1fr;
  }

  .home-cycle {
    flex-direction: column;
    align-items: center;
  }

  .home-cycle__step {
    width: min(100%, 360px);
  }

  .home-cycle__line {
    width: 1px;
    height: 34px;
  }

  .home-community {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-shell {
    padding: 18px 14px 54px;
  }

  .home-hero {
    min-height: 92vh;
  }

  .home-hero-card {
    padding: 34px 20px;
    border-radius: 24px;
  }

  .home-hero-card h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .home-subtitle {
    font-size: 1rem;
  }

  .home-buttons {
    flex-direction: column;
  }

  .home-btn {
    width: 100%;
    min-width: 0;
  }

  .home-section {
    padding: 60px 0 32px;
  }

  .home-section h2,
  .home-community h2 {
    font-size: 2.15rem;
  }

  .home-pillar {
    padding: 26px 20px;
  }

  .home-community {
    margin-top: 36px;
    padding: 26px 20px;
  }

  .home-community__quote {
    padding: 24px 20px;
  }

  .home-community__quote p {
    font-size: 1.08rem;
  }

  .home-discover-link {
    margin-top: 0;
  }

  .home-signature {
    flex-direction: column;
    align-items: center;
  }

  .home-signature span {
    width: min(100%, 280px);
  }

  .home-features {
    display: flex;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-padding: 14px;

    padding: 0 6px 12px;
    margin-top: 28px;

    -webkit-overflow-scrolling: touch;
  }

  .home-feature {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .home-features::-webkit-scrollbar {
    height: 6px;
  }

  .home-features::-webkit-scrollbar-thumb {
    background: rgba(240, 198, 116, 0.28);
    border-radius: 999px;
  }
}

/* =========================================================
   LUCCIOLES
   ========================================================= */

.fireflies {
  position: fixed;
  inset: 0;
  z-index: 0;

  overflow: hidden;
  pointer-events: none;
}

.fireflies span {
  position: absolute;

  width: var(--size);
  height: var(--size);

  background: rgba(240, 198, 116, var(--opacity));
  border-radius: 50%;

  box-shadow:
    0 0 calc(var(--size) * 2) rgba(240, 198, 116, 0.85),
    0 0 calc(var(--size) * 5) rgba(240, 198, 116, 0.45);

  animation:
    fireflyFloat var(--speed) linear infinite,
    fireflyPulse var(--pulse) ease-in-out infinite;

  animation-delay: var(--delay);
}

.fireflies span:nth-child(1) { left: 8%; top: 85%; --size: 3px; --speed: 16s; --delay: 0s; --opacity: .9; --pulse: 3s; }
.fireflies span:nth-child(2) { left: 16%; top: 92%; --size: 5px; --speed: 24s; --delay: 2s; --opacity: .75; --pulse: 5s; }
.fireflies span:nth-child(3) { left: 24%; top: 78%; --size: 2px; --speed: 12s; --delay: 4s; --opacity: .95; --pulse: 2.5s; }
.fireflies span:nth-child(4) { left: 32%; top: 96%; --size: 4px; --speed: 28s; --delay: 1s; --opacity: .7; --pulse: 4s; }
.fireflies span:nth-child(5) { left: 40%; top: 88%; --size: 6px; --speed: 20s; --delay: 3s; --opacity: .8; --pulse: 6s; }

.fireflies span:nth-child(6) { left: 48%; top: 94%; --size: 2px; --speed: 30s; --delay: 5s; --opacity: .9; --pulse: 3.5s; }
.fireflies span:nth-child(7) { left: 56%; top: 82%; --size: 4px; --speed: 18s; --delay: .5s; --opacity: .85; --pulse: 4.5s; }
.fireflies span:nth-child(8) { left: 64%; top: 90%; --size: 3px; --speed: 26s; --delay: 6s; --opacity: .65; --pulse: 5.5s; }
.fireflies span:nth-child(9) { left: 72%; top: 84%; --size: 5px; --speed: 14s; --delay: 2.5s; --opacity: .9; --pulse: 3s; }
.fireflies span:nth-child(10) { left: 82%; top: 96%; --size: 2px; --speed: 23s; --delay: 4.5s; --opacity: .8; --pulse: 4s; }

.fireflies span:nth-child(11) { left: 12%; top: 65%; --size: 4px; --speed: 32s; --delay: 7s; --opacity: .7; --pulse: 6s; }
.fireflies span:nth-child(12) { left: 28%; top: 70%; --size: 3px; --speed: 17s; --delay: 3.5s; --opacity: .9; --pulse: 3.2s; }
.fireflies span:nth-child(13) { left: 44%; top: 62%; --size: 6px; --speed: 29s; --delay: 8s; --opacity: .75; --pulse: 5.8s; }
.fireflies span:nth-child(14) { left: 60%; top: 68%; --size: 2px; --speed: 19s; --delay: 1.5s; --opacity: .95; --pulse: 2.8s; }
.fireflies span:nth-child(15) { left: 76%; top: 72%; --size: 4px; --speed: 34s; --delay: 5.5s; --opacity: .7; --pulse: 6.5s; }

.fireflies span:nth-child(16) { left: 18%; top: 45%; --size: 2px; --speed: 21s; --delay: 6.5s; --opacity: .9; --pulse: 4s; }
.fireflies span:nth-child(17) { left: 36%; top: 52%; --size: 5px; --speed: 15s; --delay: 2.2s; --opacity: .85; --pulse: 3.6s; }
.fireflies span:nth-child(18) { left: 54%; top: 48%; --size: 3px; --speed: 36s; --delay: 9s; --opacity: .65; --pulse: 7s; }
.fireflies span:nth-child(19) { left: 70%; top: 42%; --size: 4px; --speed: 18s; --delay: 4.8s; --opacity: .9; --pulse: 3.4s; }
.fireflies span:nth-child(20) { left: 88%; top: 58%; --size: 6px; --speed: 31s; --delay: 7.5s; --opacity: .7; --pulse: 6.2s; }
.fireflies span:nth-child(21) { left: 8%; top: 85%; --size: 3px; --speed: 16s; --delay: 0s; --opacity: .9; --pulse: 3s; }
.fireflies span:nth-child(22) { left: 16%; top: 92%; --size: 5px; --speed: 24s; --delay: 2s; --opacity: .75; --pulse: 5s; }
.fireflies span:nth-child(23) { left: 24%; top: 78%; --size: 2px; --speed: 12s; --delay: 4s; --opacity: .95; --pulse: 2.5s; }
.fireflies span:nth-child(24) { left: 32%; top: 96%; --size: 4px; --speed: 28s; --delay: 1s; --opacity: .7; --pulse: 4s; }
.fireflies span:nth-child(25) { left: 40%; top: 88%; --size: 6px; --speed: 20s; --delay: 3s; --opacity: .8; --pulse: 6s; }

.fireflies span:nth-child(26) { left: 48%; top: 94%; --size: 2px; --speed: 30s; --delay: 5s; --opacity: .9; --pulse: 3.5s; }
.fireflies span:nth-child(27) { left: 56%; top: 82%; --size: 4px; --speed: 18s; --delay: .5s; --opacity: .85; --pulse: 4.5s; }
.fireflies span:nth-child(28) { left: 64%; top: 90%; --size: 3px; --speed: 26s; --delay: 6s; --opacity: .65; --pulse: 5.5s; }
.fireflies span:nth-child(29) { left: 72%; top: 84%; --size: 5px; --speed: 14s; --delay: 2.5s; --opacity: .9; --pulse: 3s; }
.fireflies span:nth-child(30) { left: 82%; top: 96%; --size: 2px; --speed: 23s; --delay: 4.5s; --opacity: .8; --pulse: 4s; }

.fireflies span:nth-child(31) { left: 12%; top: 65%; --size: 4px; --speed: 32s; --delay: 7s; --opacity: .7; --pulse: 6s; }
.fireflies span:nth-child(32) { left: 28%; top: 70%; --size: 3px; --speed: 17s; --delay: 3.5s; --opacity: .9; --pulse: 3.2s; }
.fireflies span:nth-child(33) { left: 44%; top: 62%; --size: 6px; --speed: 29s; --delay: 8s; --opacity: .75; --pulse: 5.8s; }
.fireflies span:nth-child(34) { left: 60%; top: 68%; --size: 2px; --speed: 19s; --delay: 1.5s; --opacity: .95; --pulse: 2.8s; }
.fireflies span:nth-child(35) { left: 76%; top: 72%; --size: 4px; --speed: 34s; --delay: 5.5s; --opacity: .7; --pulse: 6.5s; }

.fireflies span:nth-child(36) { left: 18%; top: 45%; --size: 2px; --speed: 21s; --delay: 6.5s; --opacity: .9; --pulse: 4s; }
.fireflies span:nth-child(37) { left: 36%; top: 52%; --size: 5px; --speed: 15s; --delay: 2.2s; --opacity: .85; --pulse: 3.6s; }
.fireflies span:nth-child(38) { left: 54%; top: 48%; --size: 3px; --speed: 36s; --delay: 9s; --opacity: .65; --pulse: 7s; }
.fireflies span:nth-child(39) { left: 70%; top: 42%; --size: 4px; --speed: 18s; --delay: 4.8s; --opacity: .9; --pulse: 3.4s; }
.fireflies span:nth-child(40) { left: 88%; top: 58%; --size: 6px; --speed: 31s; --delay: 7.5s; --opacity: .7; --pulse: 6.2s; }

@keyframes fireflyFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translateY(-180px) translateX(20px);
  }

  100% {
    transform: translateY(-360px) translateX(-15px);
    opacity: 0;
  }
}
