/* Vitrines produit — animations & thèmes (réduit mouvement respecté) */
@media (prefers-reduced-motion: reduce) {
  .showcase-anim *,
  .imperis-map * {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Hero showcase commun ——— */
.showcase-hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.showcase-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .showcase-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.showcase-hero__stage {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.9;
}

.showcase-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 800;
}

.showcase-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 22px;
  opacity: 0.92;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Grille fonctionnalités */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.showcase-card {
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.showcase-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.showcase-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.showcase-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  opacity: 0.88;
}

.showcase-section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 8px;
  font-weight: 800;
}

.showcase-section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-bottom: 6px;
}

.showcase-rules {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 700px) {
  .showcase-rules {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-rule {
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
  border: 1px dashed rgba(0, 0, 0, 0.15);
}

/* ========== Deconstruct — puzzle ========== */
.theme-deconstruct .showcase-hero--branded {
  background: linear-gradient(165deg, #fff8f0 0%, #ffe8dc 45%, #f5e6d8 100%);
}

.puzzle-stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  height: 100%;
  perspective: 520px;
}

.puzzle-piece {
  border-radius: 10px;
  background: linear-gradient(145deg, #e8a090 0%, #c45c3e 48%, #8b3a2b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 3px 6px 16px rgba(139, 58, 43, 0.35);
  position: relative;
  overflow: hidden;
  animation: puzzle-float 5s ease-in-out infinite;
}

.puzzle-piece::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  animation: puzzle-rotate 12s linear infinite;
}

.puzzle-piece:nth-child(1) {
  animation-delay: 0s;
}
.puzzle-piece:nth-child(2) {
  animation-delay: 0.4s;
}
.puzzle-piece:nth-child(3) {
  animation-delay: 0.8s;
}
.puzzle-piece:nth-child(4) {
  animation-delay: 0.2s;
}
.puzzle-piece:nth-child(5) {
  animation-delay: 0.6s;
  background: linear-gradient(145deg, #f0c4a8 0%, #d4785c 50%, #a84830 100%);
}
.puzzle-piece:nth-child(6) {
  animation-delay: 1s;
}
.puzzle-piece:nth-child(7) {
  animation-delay: 0.3s;
}
.puzzle-piece:nth-child(8) {
  animation-delay: 0.7s;
}
.puzzle-piece:nth-child(9) {
  animation-delay: 1.1s;
}

@keyframes puzzle-float {
  0%,
  100% {
    transform: translateY(0) rotateZ(0deg);
  }
  25% {
    transform: translateY(-5px) rotateZ(-2deg);
  }
  75% {
    transform: translateY(4px) rotateZ(2deg);
  }
}

@keyframes puzzle-rotate {
  to {
    transform: rotate(360deg);
  }
}

.theme-deconstruct .showcase-card__icon {
  background: rgba(196, 92, 62, 0.2);
  color: #8b3a2b;
}

/* Cartes fonctionnalités = silhouettes de pièces de puzzle (clip-path %, encoches / ergots) */
.dec-puzzle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 20px 18px;
  margin-top: 12px;
}

.dec-puzzle-card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 16px;
  overflow: visible;
  background: linear-gradient(165deg, #fff 0%, #fff0e8 100%);
  border: 1px solid rgba(139, 58, 43, 0.22);
  box-shadow: 0 4px 0 rgba(139, 58, 43, 0.18), 0 14px 36px rgba(196, 92, 62, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.dec-puzzle-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(196, 92, 62, 0.28);
  pointer-events: none;
}

.dec-puzzle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(139, 58, 43, 0.24), 0 20px 44px rgba(196, 92, 62, 0.18);
  filter: brightness(1.02);
}

.dec-puzzle-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(196, 92, 62, 0.18);
  margin-bottom: 12px;
  color: #8b3a2b;
}

.dec-puzzle-card h3 {
  margin: 0 0 8px;
  padding-right: 18px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #3d2e28;
  line-height: 1.35;
}

.dec-puzzle-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5c4d42;
  overflow-wrap: anywhere;
}

/* ========== FactCheck — vrai / faux ========== */
.theme-factcheck .showcase-hero--branded {
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #2c2c54 0%, #1a1a2e 55%, #12121f 100%);
}

.fact-stage {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 auto;
}

.fact-card {
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  animation: fact-pulse 3.2s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.fact-card--true {
  background: linear-gradient(160deg, #1e8449, #27ae60);
  color: #fff;
  animation-delay: 0s;
}

.fact-card--false {
  background: linear-gradient(160deg, #922b21, #e74c3c);
  color: #fff;
  animation-delay: 1.6s;
}

@keyframes fact-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.04);
    filter: brightness(1.08);
  }
}

.fact-orbit {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(155, 89, 182, 0.35);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -60px 0 0 -60px;
  animation: orbit-spin 18s linear infinite;
  pointer-events: none;
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.theme-factcheck .showcase-card {
  background: rgba(44, 44, 84, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ecf0f1;
}

.theme-factcheck .showcase-card p {
  color: #bdc3c7;
}

.theme-factcheck .showcase-card__icon {
  background: rgba(155, 89, 182, 0.35);
}

.theme-factcheck .showcase-hero__stage {
  position: relative;
}

.theme-factcheck .showcase-hero--branded .showcase-eyebrow,
.theme-factcheck .showcase-hero--branded .showcase-title,
.theme-factcheck .showcase-hero--branded .showcase-lead {
  color: #ecf0f1;
}

.theme-taupemania .showcase-hero--branded .showcase-eyebrow,
.theme-taupemania .showcase-hero--branded .showcase-title,
.theme-taupemania .showcase-hero--branded .showcase-lead {
  color: #f4fff8;
}

.theme-gravity-switch .showcase-hero--branded .showcase-eyebrow,
.theme-gravity-switch .showcase-hero--branded .showcase-title,
.theme-gravity-switch .showcase-hero--branded .showcase-lead {
  color: #e8f8ff;
}

.theme-imperis .showcase-hero--branded .showcase-eyebrow,
.theme-imperis .showcase-hero--branded .showcase-title,
.theme-imperis .showcase-hero--branded .showcase-lead {
  color: #f5e6c8;
}

.theme-godgame .showcase-hero--branded .showcase-eyebrow,
.theme-godgame .showcase-hero--branded .showcase-title,
.theme-godgame .showcase-hero--branded .showcase-lead {
  color: #f0ead6;
}

/* ========== LifeFlow — calme ========== */
.theme-lifeflow .showcase-hero--branded {
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f4fc 40%, #dfeef9 100%);
}

.lf-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lf-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  animation: blob-drift 14s ease-in-out infinite;
}

.lf-blob--1 {
  width: 200px;
  height: 200px;
  background: #7eb6ff;
  top: -5%;
  right: 10%;
}
.lf-blob--2 {
  width: 160px;
  height: 160px;
  background: #a8d5e2;
  bottom: 10%;
  left: 5%;
  animation-delay: -5s;
}
.lf-blob--3 {
  width: 120px;
  height: 120px;
  background: #c9b8ff;
  top: 40%;
  left: 40%;
  animation-delay: -9s;
}

@keyframes blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -15px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 12px) scale(0.95);
  }
}

.theme-lifeflow .showcase-card {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(91, 141, 239, 0.2);
}

.theme-lifeflow .showcase-card__icon {
  background: rgba(91, 141, 239, 0.2);
  color: #3d5a99;
}

/* ========== Taupe Mania — arcade ========== */
.theme-taupemania .showcase-hero--branded {
  background: linear-gradient(165deg, #0d2818 0%, #1a5c3a 50%, #2ecc71 160%);
}

.mole-field {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(100%, 300px);
  margin: 0 auto;
}

.mole-hole {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #3d2914 0%, #1a0f08 70%);
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

/* Même logique que select-skin.tsx (emoji + bgColor) et game.tsx (💩 fond blanc) */
.mole-pop {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 56%;
  aspect-ratio: 1;
  height: auto;
  max-height: 56%;
  margin-left: -28%;
  border-radius: 50%;
  animation: mole-up 2.8s ease-in-out infinite;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.mole-pop--classic {
  background: #fff4e6;
}

.mole-pop--poop {
  background: #ffffff;
}

.mole-pop__emoji {
  font-size: clamp(1.05rem, 4vw, 1.75rem);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.mole-pop__emoji--poop {
  font-size: clamp(0.95rem, 3.6vw, 1.55rem);
}

.mole-hole:nth-child(1) .mole-pop {
  animation-delay: 0s;
}
.mole-hole:nth-child(2) .mole-pop {
  animation-delay: 0.5s;
}
.mole-hole:nth-child(3) .mole-pop {
  animation-delay: 1s;
}
.mole-hole:nth-child(4) .mole-pop {
  animation-delay: 0.3s;
}
.mole-hole:nth-child(5) .mole-pop {
  animation-delay: 0.8s;
}
.mole-hole:nth-child(6) .mole-pop {
  animation-delay: 1.3s;
}
.mole-hole:nth-child(7) .mole-pop {
  animation-delay: 0.6s;
}
.mole-hole:nth-child(8) .mole-pop {
  animation-delay: 1.1s;
}
.mole-hole:nth-child(9) .mole-pop {
  animation-delay: 0.2s;
}

@keyframes mole-up {
  0%,
  40%,
  100% {
    transform: translateY(85%) scale(0.85);
    opacity: 0.85;
  }
  15%,
  25% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.theme-taupemania .showcase-card {
  background: rgba(13, 40, 24, 0.75);
  border-color: rgba(46, 204, 113, 0.35);
  color: #eafaf1;
}

.theme-taupemania .showcase-card p {
  color: #b8e0c8;
}

.theme-taupemania .showcase-card__icon {
  background: rgba(46, 204, 113, 0.25);
}

/* ========== Gravity Switch — néon ========== */
.theme-gravity-switch .showcase-hero--branded {
  background: #0a0a0a;
  background-image: linear-gradient(
      135deg,
      transparent 40%,
      rgba(0, 255, 255, 0.04) 50%,
      transparent 60%
    ),
    linear-gradient(225deg, rgba(255, 0, 200, 0.06), transparent 50%);
}

.grav-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -28deg,
    transparent,
    transparent 8px,
    rgba(0, 245, 255, 0.03) 8px,
    rgba(0, 245, 255, 0.03) 9px
  );
  animation: grav-scan-move 20s linear infinite;
  pointer-events: none;
}

@keyframes grav-scan-move {
  to {
    background-position: 80px 80px;
  }
}

.grav-runner {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 2px solid #00f5ff;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.35), inset 0 0 20px rgba(0, 245, 255, 0.08);
  animation: grav-flip 3.6s ease-in-out infinite;
  position: relative;
}

.grav-runner::before {
  content: "▲";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff00c8;
  font-size: 1.6rem;
  text-shadow: 0 0 12px #ff00c8;
}

@keyframes grav-flip {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(90deg) translateY(-8px);
  }
  50% {
    transform: rotate(180deg) translateY(0);
  }
  75% {
    transform: rotate(270deg) translateY(8px);
  }
}

.theme-gravity-switch .showcase-card {
  background: rgba(22, 22, 30, 0.9);
  border-color: rgba(0, 245, 255, 0.2);
  color: #e8f4f8;
}

.theme-gravity-switch .showcase-card p {
  color: #9ecee8;
}

.theme-gravity-switch .showcase-card__icon {
  background: rgba(255, 0, 200, 0.15);
  color: #00f5ff;
}

/* ========== Imperis — carte ========== */
.theme-imperis .showcase-hero--branded {
  background: radial-gradient(ellipse 100% 80% at 50% 120%, #3d2914 0%, #1a1410 50%, #0c0a08 100%);
}

.imperis-map {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1.5;
  margin: 0 auto;
  border-radius: 12px;
  background: linear-gradient(180deg, #2a1810 0%, #1a3d2e 35%, #1a3050 70%, #0d1f2e 100%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), 0 16px 48px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(201, 162, 39, 0.35);
  overflow: hidden;
}

.imperis-map__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 162, 39, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: map-shift 24s linear infinite;
}

@keyframes map-shift {
  to {
    background-position: 24px 24px;
  }
}

.imperis-territory {
  position: absolute;
  border-radius: 8px;
  opacity: 0.55;
  animation: territory-pulse 4s ease-in-out infinite;
}

.imperis-territory--1 {
  width: 28%;
  height: 22%;
  top: 18%;
  left: 12%;
  background: #8b4513;
  transform: rotate(-8deg);
}
.imperis-territory--2 {
  width: 24%;
  height: 28%;
  top: 42%;
  right: 18%;
  background: #2e5984;
  animation-delay: 1s;
}
.imperis-territory--3 {
  width: 20%;
  height: 18%;
  bottom: 22%;
  left: 38%;
  background: #6b8e23;
  animation-delay: 2s;
}

@keyframes territory-pulse {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.2);
    transform: scale(1.04);
  }
}

.imperis-unit {
  position: absolute;
  font-size: 1.75rem;
  animation: unit-march 6s ease-in-out infinite;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.imperis-unit--1 {
  top: 28%;
  left: 22%;
}
.imperis-unit--2 {
  top: 48%;
  right: 28%;
  animation-delay: -2s;
}
.imperis-unit--3 {
  bottom: 30%;
  left: 45%;
  animation-delay: -4s;
}

@keyframes unit-march {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(12px, -6px);
  }
  50% {
    transform: translate(4px, 4px);
  }
  75% {
    transform: translate(-10px, 2px);
  }
}

.theme-imperis .showcase-card {
  background: rgba(42, 32, 24, 0.85);
  border-color: rgba(201, 162, 39, 0.25);
  color: #f5e6c8;
}

.theme-imperis .showcase-card p {
  color: #c4b59a;
}

.theme-imperis .showcase-card__icon {
  background: rgba(201, 162, 39, 0.2);
}

/* ========== GodGame ========== */
.theme-godgame .showcase-hero--branded {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.2) 0%, #0c0b12 55%);
}

.god-stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(212, 175, 55, 0.5), transparent);
  background-size: 100% 100%;
  animation: stars-twinkle 5s ease-in-out infinite;
}

@keyframes stars-twinkle {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.god-orb {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4e4a6, #b8860b 45%, #3d2914);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.45);
  animation: orb-glow 4s ease-in-out infinite;
}

@keyframes orb-glow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 56px rgba(212, 175, 55, 0.6);
  }
}

.theme-godgame .showcase-card {
  background: rgba(20, 18, 28, 0.9);
  border-color: rgba(212, 175, 55, 0.25);
  color: #eee8dc;
}

.theme-godgame .showcase-card p {
  color: #b8b0a8;
}

.theme-godgame .showcase-card__icon {
  background: rgba(212, 175, 55, 0.15);
}

/* Section espacement */
.showcase-block {
  padding: clamp(40px, 6vw, 72px) 0;
}

.showcase-block--tight {
  padding-top: 24px;
}

/* ========== Hero : scène en haut sur mobile, à droite sur desktop ========== */
@media (max-width: 899px) {
  .showcase-hero__inner {
    display: flex;
    flex-direction: column;
  }

  .showcase-hero__stage {
    order: -1;
    min-height: 220px;
  }
}

@media (min-width: 900px) {
  .showcase-hero__inner > .showcase-hero__stage {
    justify-self: end;
    max-width: 400px;
    width: 100%;
  }
}

/* ========== Scroll reveal commun ========== */
[data-scroll-animate] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scroll-animate].is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-scroll-animate="slide-left"] {
  transform: translate3d(48px, 0, 0);
}

[data-scroll-animate="slide-left"].is-in-view {
  transform: translate3d(0, 0, 0);
}

[data-scroll-animate="slide-right"] {
  transform: translate3d(-48px, 0, 0);
}

[data-scroll-animate="slide-right"].is-in-view {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-scroll-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========== Section Obtenir l’app (thèmes) ========== */
.showcase-qr {
  border-radius: 22px;
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
}

.showcase-qr--cream {
  background: linear-gradient(165deg, #fff 0%, #fff5eb 100%);
  border: 1px solid rgba(196, 92, 62, 0.2);
  box-shadow: 0 20px 50px rgba(139, 58, 43, 0.12);
  color: #2a2218;
}

.showcase-qr--cream .showcase-qr__note {
  color: #5c4d42;
  font-size: 0.88rem;
}

.showcase-qr--dark {
  background: linear-gradient(180deg, rgba(32, 32, 52, 0.98), rgba(18, 18, 28, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ecf0f1;
}

.showcase-qr--dark .showcase-qr__note {
  color: #aeb6c8;
  font-size: 0.88rem;
}

.showcase-qr--green {
  background: linear-gradient(180deg, rgba(12, 48, 32, 0.95), rgba(8, 28, 20, 0.98));
  border: 1px solid rgba(46, 204, 113, 0.25);
  color: #e8fff0;
}

.showcase-qr--green .showcase-qr__note {
  color: #9dcfb0;
}

.showcase-qr--void {
  background: linear-gradient(160deg, #0a0a10, #12121c);
  border: 1px solid rgba(0, 245, 255, 0.2);
  color: #e0f4ff;
}

.showcase-qr--void .showcase-qr__note {
  color: #7a9dad;
}

.showcase-qr--map {
  background: linear-gradient(165deg, #2a1f18, #120e0c);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #f5e6c8;
}

.showcase-qr--map .showcase-qr__note {
  color: #b8a88c;
}

.showcase-qr--divine {
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(60, 48, 28, 0.9), #0c0b12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f0ead6;
}

.showcase-qr--divine .showcase-qr__note {
  color: #a89880;
}

.showcase-qr--sky {
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  border: 1px solid rgba(91, 141, 239, 0.25);
  color: #1c1c28;
}

.showcase-qr--sky .showcase-qr__note {
  color: #4d5566;
}

.showcase-qr__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 8px;
}

.showcase-qr__lead {
  margin: 0 auto 16px;
  max-width: 520px;
  line-height: 1.55;
  font-size: 0.98rem;
}

.showcase-qr .qr-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 8px;
}

.showcase-qr .qr-frame {
  width: 152px;
  height: 152px;
  margin: 0 auto 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
}

.showcase-qr--cream .qr-frame,
.showcase-qr--sky .qr-frame {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.12);
}

.showcase-qr .qr-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.showcase-qr__web {
  max-width: 420px;
  margin: 12px auto 0;
  padding: 20px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.showcase-qr--cream .showcase-qr__web {
  background: rgba(255, 248, 240, 0.9);
  border-color: rgba(196, 92, 62, 0.25);
}

/* ========== Deconstruct : bento + fragments ========== */
.dec-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 800px) {
  .dec-bento {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.dec-bento__main {
  border-radius: 20px;
  padding: 28px;
  background: linear-gradient(145deg, #fff 0%, #ffe8dc 100%);
  border: 1px solid rgba(196, 92, 62, 0.22);
  box-shadow: 0 16px 48px rgba(139, 58, 43, 0.1);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.dec-bento__main:hover {
  box-shadow: 0 22px 56px rgba(139, 58, 43, 0.16);
}

.dec-bento__main:focus-visible {
  outline: 3px solid #c45c3e;
  outline-offset: 3px;
}

.dec-bento__puzzle-mock {
  width: min(100%, 200px);
  aspect-ratio: 1;
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dec-bento__cell {
  border-radius: 10px;
  background: linear-gradient(145deg, #e8a090, #c45c3e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dec-bento__hint {
  text-align: center;
  font-size: 0.82rem;
  color: #6b4a3a;
  margin: 0;
}

.dec-bento__rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dec-bento__pill {
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(196, 92, 62, 0.35);
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3d2e28;
}

.dec-scatter-zone {
  position: relative;
  min-height: 200px;
}

.dec-scatter {
  position: relative;
  height: 180px;
  margin: 20px 0;
}

.dec-scatter__p {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(145deg, #f0c4a8, #a84830);
  box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(40px) rotate(0deg);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.dec-scatter-zone.is-in-view .dec-scatter__p:nth-child(1) {
  opacity: 1;
  transform: translate(4%, 20%) rotate(-12deg);
  transition-delay: 0.05s;
}
.dec-scatter-zone.is-in-view .dec-scatter__p:nth-child(2) {
  opacity: 1;
  transform: translate(28%, 8%) rotate(8deg);
  transition-delay: 0.12s;
}
.dec-scatter-zone.is-in-view .dec-scatter__p:nth-child(3) {
  opacity: 1;
  transform: translate(52%, 35%) rotate(-6deg);
  transition-delay: 0.2s;
}
.dec-scatter-zone.is-in-view .dec-scatter__p:nth-child(4) {
  opacity: 1;
  transform: translate(72%, 12%) rotate(14deg);
  transition-delay: 0.28s;
}
.dec-scatter-zone.is-in-view .dec-scatter__p:nth-child(5) {
  opacity: 1;
  transform: translate(18%, 58%) rotate(-4deg);
  transition-delay: 0.35s;
}
.dec-scatter-zone.is-in-view .dec-scatter__p:nth-child(6) {
  opacity: 1;
  transform: translate(60%, 62%) rotate(10deg);
  transition-delay: 0.42s;
}

.dec-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  border-left: 3px solid #c45c3e;
  padding-left: 20px;
}

.dec-steps__item {
  position: relative;
  padding: 14px 0 14px 8px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3d2e28;
}

.dec-steps__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c45c3e;
  box-shadow: 0 0 0 4px #fff8f0;
}

/* ========== FactCheck : bandeau horizontal histoires ========== */
.fc-strip-wrap {
  margin: 12px -4vw 0;
  padding: 8px 0 20px;
}

@media (min-width: 900px) {
  .fc-strip-wrap {
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
    padding-left: max(12px, calc(50vw - 560px));
  }
}

.fc-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 8px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.fc-strip.has-scrolled {
  mask-image: none;
}

.fc-story {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 18px;
  padding: 20px 18px;
  background: linear-gradient(160deg, #2c2c54, #1e1e38);
  border: 1px solid rgba(155, 89, 182, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.fc-story__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9b59b6;
  margin-bottom: 8px;
}

.fc-story__q {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #dfe6e9;
  margin: 0;
}

.fc-verdict-row {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.fc-pill {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.82rem;
}

.fc-pill--true {
  background: rgba(39, 174, 96, 0.35);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.45);
}

.fc-pill--false {
  background: rgba(231, 76, 60, 0.25);
  color: #ff7675;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

/* ========== LifeFlow : mini dashboard ========== */
.lf-dash {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .lf-dash {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.lf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lf-stat {
  border-radius: 16px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(91, 141, 239, 0.2);
  text-align: center;
}

.lf-stat__val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #3d5a99;
  line-height: 1.2;
}

.lf-stat__lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7c99;
  margin-top: 4px;
}

.lf-bars {
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(91, 141, 239, 0.18);
  box-shadow: 0 12px 40px rgba(91, 141, 239, 0.12);
}

.lf-bar-lbl {
  display: block;
  font-size: 0.82rem;
  color: #4d5566;
  margin-bottom: 6px;
}

.lf-bar {
  height: 10px;
  border-radius: 999px;
  background: #e8eef8;
  margin-bottom: 16px;
  overflow: hidden;
}

.lf-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b8def, #7eb6ff);
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.lf-bars.is-in-view .lf-bar__fill--1 {
  width: 72%;
}
.lf-bars.is-in-view .lf-bar__fill--2 {
  width: 55%;
}
.lf-bars.is-in-view .lf-bar__fill--3 {
  width: 88%;
}

.lf-widget {
  margin-top: 16px;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef4fc);
  border: 1px solid rgba(91, 141, 239, 0.25);
  max-width: 280px;
}

.lf-widget__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b8def;
  margin-bottom: 10px;
}

.lf-widget__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #3d4d66;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ========== Taupe : pelouse + vague ========== */
.mole-lawn {
  border-radius: 22px;
  padding: 32px 20px;
  background: linear-gradient(180deg, #1a5c3a 0%, #0e3b2a 60%, #0a2818 100%);
  position: relative;
  overflow: hidden;
}

.mole-lawn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(46, 204, 113, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.06) 0%, transparent 35%);
  pointer-events: none;
}

.mole-lawn__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.mole-lawn__text {
  flex: 1 1 220px;
  color: #e8fff0;
}

.mole-lawn__text .mole-lawn__k {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.mole-lawn__text p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.55;
  font-size: 0.95rem;
}

.mole-wave {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.mole-wave__hole {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #3d2914 0%, #0d0805 75%);
  box-shadow: inset 0 6px 16px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.mole-wave__pop {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 62%;
  aspect-ratio: 1;
  height: auto;
  max-height: 62%;
  margin-left: -31%;
  border-radius: 50%;
  animation: mole-wave-pop 2.2s ease-in-out infinite;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mole-wave__pop--classic {
  background: #fff4e6;
}

.mole-wave__pop--poop {
  background: #ffffff;
}

.mole-wave__emoji {
  font-size: 1.2rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.mole-wave__hole:nth-child(2) .mole-wave__pop {
  animation-delay: 0.3s;
}
.mole-wave__hole:nth-child(3) .mole-wave__pop {
  animation-delay: 0.6s;
}
.mole-wave__hole:nth-child(4) .mole-wave__pop {
  animation-delay: 0.15s;
}

@keyframes mole-wave-pop {
  0%,
  45%,
  100% {
    transform: translateY(70%);
    opacity: 0.7;
  }
  20% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========== Gravity : chute ========== */
.grav-chute {
  position: relative;
  min-height: 220px;
  border-radius: 20px;
  background: linear-gradient(180deg, #12121a 0%, #0a0a0a 100%);
  border: 1px solid rgba(0, 245, 255, 0.2);
  overflow: hidden;
}

.grav-chute__lane {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -75deg,
    transparent,
    transparent 14px,
    rgba(0, 245, 255, 0.04) 14px,
    rgba(0, 245, 255, 0.04) 15px
  );
}

.grav-shape {
  position: absolute;
  left: var(--gx, 20%);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00f5ff, #7a3ff2);
  opacity: 0;
  top: -20%;
  transition: opacity 0.4s ease;
}

.grav-chute.is-in-view .grav-shape {
  opacity: 0.95;
  animation: grav-drop 2.8s ease-in infinite;
}

.grav-chute.is-in-view .grav-shape:nth-child(2) {
  --gx: 45%;
  animation-delay: 0.4s;
  background: linear-gradient(135deg, #ff00c8, #00f5ff);
}
.grav-chute.is-in-view .grav-shape:nth-child(3) {
  --gx: 70%;
  animation-delay: 0.9s;
  border-radius: 50%;
}

@keyframes grav-drop {
  0% {
    top: -15%;
    transform: rotate(0deg);
  }
  100% {
    top: 110%;
    transform: rotate(360deg);
  }
}

.grav-quests {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.grav-quest-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  color: #b8f0ff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========== Imperis : planète ========== */
.imp-globe-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .imp-globe-wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.imp-globe {
  position: relative;
  width: min(240px, 70vw);
  height: min(240px, 70vw);
  flex-shrink: 0;
}

.imp-globe__sphere {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #5d4e37, #2a1810 45%, #0d1f2e 100%);
  box-shadow: inset -12px -12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 39, 0.25);
  animation: imp-spin 28s linear infinite;
}

.imp-globe__ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(201, 162, 39, 0.35);
  border-radius: 50%;
  transform: rotateX(72deg);
  animation: imp-ring 10s ease-in-out infinite;
}

.imp-globe__ring--2 {
  inset: -6%;
  opacity: 0.5;
  animation-delay: -3s;
}

@keyframes imp-spin {
  to {
    filter: hue-rotate(8deg);
  }
}

@keyframes imp-ring {
  0%,
  100% {
    transform: rotateX(72deg) scale(1);
  }
  50% {
    transform: rotateX(68deg) scale(1.03);
  }
}

.imp-eras {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.imp-era {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.imp-era--1 {
  background: rgba(139, 69, 19, 0.5);
  color: #f5deb3;
}
.imp-era--2 {
  background: rgba(70, 90, 120, 0.5);
  color: #d4e0f0;
}
.imp-era--3 {
  background: rgba(80, 60, 60, 0.55);
  color: #f0d0d0;
}
.imp-era--4 {
  background: rgba(40, 80, 100, 0.5);
  color: #c0e8ff;
}

/* ========== GodGame : constellation ========== */
.god-constel {
  position: relative;
  min-height: 200px;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.15), transparent 55%), #0c0b12;
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.god-star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f4e4a6;
  box-shadow: 0 0 12px rgba(244, 228, 166, 0.8);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.god-constel.is-in-view .god-star {
  opacity: 1;
  animation: god-twinkle 3s ease-in-out infinite;
}

.god-star:nth-child(1) {
  top: 18%;
  left: 15%;
}
.god-star:nth-child(2) {
  top: 28%;
  left: 42%;
  animation-delay: 0.5s;
}
.god-star:nth-child(3) {
  top: 12%;
  right: 22%;
  animation-delay: 1s;
}
.god-star:nth-child(4) {
  bottom: 35%;
  left: 28%;
  animation-delay: 0.3s;
}
.god-star:nth-child(5) {
  bottom: 22%;
  right: 18%;
  animation-delay: 0.8s;
}

@keyframes god-twinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

.god-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  transform-origin: left center;
  opacity: 0;
}

.god-constel.is-in-view .god-line {
  opacity: 1;
  transition: opacity 1s ease 0.3s;
}

.god-line--1 {
  width: 120px;
  top: 22%;
  left: 16%;
  transform: rotate(25deg);
}
.god-line--2 {
  width: 90px;
  top: 20%;
  left: 38%;
  transform: rotate(-15deg);
}

/* ========== Imperis : logo hero + scène planète au scroll (fonctionnalités) ========== */
.imperis-hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.imperis-hero__logo {
  width: min(220px, 72vw);
  max-height: min(220px, 38vh);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(197, 160, 89, 0.4);
  object-fit: contain;
}

.imp-feature-scene {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(56px, 10vw, 100px);
}

.imp-feature-scene__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 78% 42%, rgba(201, 162, 39, 0.14), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

/* Voie lactée légère (parallax inversé) */
.imp-planet-stars {
  position: absolute;
  inset: -5%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  opacity: 0.45;
  background-image: radial-gradient(1.5px 1.5px at 8% 12%, rgba(255, 248, 220, 0.55), transparent),
    radial-gradient(1px 1px at 22% 35%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 78% 18%, rgba(201, 162, 89, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 65% 42%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 40% 78%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 88% 65%, rgba(201, 162, 89, 0.35), transparent),
    radial-gradient(2px 2px at 55% 88%, rgba(255, 248, 220, 0.4), transparent);
  background-size: 100% 100%;
  filter: blur(0.3px);
}

/* Planète 3D CSS (inspiré landings « globe » + conic shading) */
.imp-planet-parallax {
  position: absolute;
  right: max(-18vw, -120px);
  top: 50%;
  width: min(92vw, 520px);
  height: min(92vw, 520px);
  margin-top: calc(min(46vw, 260px) * -1);
  pointer-events: none;
  will-change: transform;
  z-index: 1;
  display: grid;
  place-items: center;
  opacity: 0.95;
}

.imp-planet-body {
  position: relative;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset -28px -32px 60px rgba(0, 0, 0, 0.82), inset 12px 14px 36px rgba(255, 230, 200, 0.1),
    0 0 100px rgba(201, 162, 89, 0.18), 0 24px 80px rgba(0, 0, 0, 0.45);
  background: conic-gradient(
    from 210deg at 50% 50%,
    #1a2a22 0deg,
    #2d4a38 70deg,
    #1e3248 140deg,
    #3d3220 210deg,
    #243040 280deg,
    #1a2a22 360deg
  );
}

.imp-planet-body__shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse 90% 90% at 72% 58%, rgba(0, 0, 0, 0.55), transparent 52%);
  pointer-events: none;
}

.imp-planet-body__land {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.62;
  background: radial-gradient(ellipse 38% 30% at 38% 32%, rgba(95, 78, 52, 0.92), transparent 72%),
    radial-gradient(ellipse 32% 26% at 62% 48%, rgba(48, 68, 52, 0.88), transparent 70%),
    radial-gradient(ellipse 28% 22% at 28% 58%, rgba(62, 82, 58, 0.82), transparent 68%),
    radial-gradient(ellipse 26% 20% at 72% 30%, rgba(88, 72, 48, 0.78), transparent 65%);
  filter: blur(0.5px);
  pointer-events: none;
}

.imp-planet-body__shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.38), transparent 20%),
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.12), transparent 35%);
  pointer-events: none;
}

.imp-planet-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(197, 160, 89, 0.28);
  pointer-events: none;
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.08);
}

.imp-planet-ring--1 {
  inset: 10%;
  transform: rotateX(72deg);
  animation: imp-orbit-wobble 14s ease-in-out infinite;
}

.imp-planet-ring--2 {
  inset: 4%;
  opacity: 0.45;
  transform: rotateX(66deg) rotateZ(22deg);
}

@keyframes imp-orbit-wobble {
  0%,
  100% {
    transform: rotateX(72deg) scale(1);
  }
  50% {
    transform: rotateX(68deg) scale(1.02);
  }
}

.imp-feature-scene__content {
  position: relative;
  z-index: 2;
}

.imp-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.imp-pillar-card {
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  background: rgba(36, 28, 20, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.32);
  padding: 22px 20px 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.imp-pillar-card:hover {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), 0 0 28px rgba(201, 162, 39, 0.12);
}

.imp-pillar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(201, 162, 39, 0.18);
  margin-bottom: 12px;
}

.imp-pillar-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f5e6c8;
}

.imp-pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #c4b59a;
}

@media (prefers-reduced-motion: reduce) {
  .imp-planet-parallax,
  .imp-planet-stars {
    transform: none !important;
  }

  .imp-planet-ring--1,
  .imp-planet-ring--2 {
    animation: none;
  }
}

/* ========== Taupe : monticules + filigrane (emoji comme dans l’app) ========== */
.mole-feature-scene {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.mole-feature-scene__taupe {
  position: absolute;
  left: max(-12vw, -100px);
  bottom: -8%;
  width: min(85vw, 420px);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
  opacity: 0.3;
}

.mole-feature-scene__taupe--glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
}

.mole-feature-glyph {
  font-size: min(38vw, 220px);
  line-height: 1;
  user-select: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.3));
}

.mole-feature-scene__content {
  position: relative;
  z-index: 1;
}

.mole-mount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.mole-mount-card {
  border-radius: 36px 36px 16px 16px;
  background: linear-gradient(180deg, rgba(46, 204, 113, 0.2) 0%, rgba(10, 40, 28, 0.94) 38%);
  border: 2px solid rgba(46, 204, 113, 0.38);
  padding: 18px 16px 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.mole-mount-card__mound {
  width: 72px;
  height: 72px;
  aspect-ratio: 1;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 -4px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.mole-mount-card__mound--classic {
  background: #fff4e6;
  border: 2px solid rgba(139, 69, 19, 0.18);
}

.mole-mount-card__mound--poop {
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.mole-mount-card__emoji {
  font-size: 1.75rem;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

.mole-mount-card__img {
  display: block;
  width: 52px;
  height: 52px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.mole-mount-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #e8fff0;
  text-align: center;
}

.mole-mount-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #9dcfb0;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .mole-feature-scene__taupe {
    transform: none !important;
  }
}

/* ========== Gravity : sprites run (feuilles du jeu) + sélection + cartes trapèze ========== */
.grav-run-sprite {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  image-rendering: crisp-edges;
  flex-shrink: 0;
}

.grav-run-sprite--hero {
  width: min(140px, 38vw);
  height: min(140px, 38vw);
  animation: grav-ninja-hover 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(0, 245, 255, 0.45)) drop-shadow(0 0 10px rgba(255, 0, 200, 0.28));
}

.grav-char-slot .grav-run-sprite {
  width: 92px;
  height: 92px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
}

/* Grilles = SpriteSheetPlayer RUN_GRID (frame 0, coin haut-gauche) */
.grav-run-sprite--ninja {
  background-image: url("/assets/apps/gravity-switch/sprites/ninja_run.png");
  background-size: 400% 200%;
  background-position: 0 0;
}

.grav-run-sprite--robot {
  background-image: url("/assets/apps/gravity-switch/sprites/robot_run.png");
  background-size: 400% 300%;
  background-position: 0 0;
}

.grav-run-sprite--alien {
  background-image: url("/assets/apps/gravity-switch/sprites/alien_run.png");
  background-size: 400% 300%;
  background-position: 0 0;
}

@keyframes grav-ninja-hover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.grav-feature-scene {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.grav-feature-scene__grid {
  position: absolute;
  inset: -20%;
  background-image: repeating-linear-gradient(
    -60deg,
    transparent,
    transparent 18px,
    rgba(0, 245, 255, 0.04) 18px,
    rgba(0, 245, 255, 0.04) 19px
  );
  pointer-events: none;
  will-change: transform;
  z-index: 0;
  opacity: 0.85;
}

.grav-feature-scene__content {
  position: relative;
  z-index: 1;
}

.grav-char-strip {
  margin-bottom: 28px;
  padding: 20px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.08), rgba(255, 0, 200, 0.06));
  border: 1px solid rgba(0, 245, 255, 0.22);
}

.grav-char-strip__kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a9dad;
}

.grav-char-strip__title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #e8f8ff;
}

.grav-char-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
}

.grav-char-slot {
  text-align: center;
  padding: 12px 14px 10px;
  border-radius: 16px;
  background: rgba(10, 10, 18, 0.9);
  border: 2px solid rgba(0, 245, 255, 0.35);
  min-width: 108px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.grav-char-slot:hover {
  border-color: rgba(255, 0, 200, 0.55);
  box-shadow: 0 0 20px rgba(255, 0, 200, 0.15);
}

.grav-char-slot--ninja {
  border-color: rgba(255, 0, 0, 0.42);
}

.grav-char-slot--robot {
  border-color: rgba(0, 212, 255, 0.48);
}

.grav-char-slot--alien {
  border-color: rgba(0, 255, 136, 0.48);
}

.grav-char-slot span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b8f0ff;
}

.grav-trap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.grav-trap-card {
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  background: linear-gradient(168deg, rgba(28, 28, 48, 0.96), rgba(8, 8, 14, 0.99));
  border: 1px solid rgba(0, 245, 255, 0.28);
  padding: 22px 26px 20px 30px;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.grav-trap-card:hover {
  border-color: rgba(255, 0, 200, 0.4);
  box-shadow: 0 0 28px rgba(255, 0, 200, 0.1);
}

.grav-trap-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(255, 0, 200, 0.12);
  color: #00f5ff;
  margin-bottom: 10px;
}

.grav-trap-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #eef8ff;
}

.grav-trap-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #9eb8c8;
}

@media (prefers-reduced-motion: reduce) {
  .grav-run-sprite--hero {
    animation: none;
  }

  .grav-feature-scene__grid {
    transform: none !important;
  }
}

/* ========== Hidden Gems — carte & pépites ========== */
.theme-hiddengems .showcase-hero--branded {
  background: radial-gradient(ellipse 110% 90% at 50% -15%, rgba(201, 162, 39, 0.22) 0%, #12141a 48%, #0f1115 100%);
}

.theme-hiddengems .showcase-hero--branded .showcase-eyebrow,
.theme-hiddengems .showcase-hero--branded .showcase-title,
.theme-hiddengems .showcase-hero--branded .showcase-lead {
  color: #f2efe6;
}

.hg-map-stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 24px;
  background: linear-gradient(165deg, #1a1d28 0%, #0e1016 100%);
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(201, 162, 39, 0.06);
  overflow: hidden;
}

.hg-map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

.hg-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, #e8c96a, #c9a227);
  box-shadow: 0 0 16px rgba(201, 162, 39, 0.65);
  animation: hg-pin-pulse 2.8s ease-in-out infinite;
}

.hg-pin--1 { top: 28%; left: 22%; animation-delay: 0s; }
.hg-pin--2 { top: 52%; left: 58%; animation-delay: 0.6s; }
.hg-pin--3 { top: 38%; left: 72%; animation-delay: 1.2s; }
.hg-pin--4 { top: 62%; left: 34%; animation-delay: 0.3s; }
.hg-pin--5 { top: 22%; left: 48%; animation-delay: 0.9s; }

.hg-map-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: min(52%, 132px);
  max-height: min(52%, 132px);
  border-radius: 22px;
  object-fit: contain;
  object-position: center;
  background: rgba(15, 17, 21, 0.92);
  padding: 12px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.theme-hiddengems .logo-icon--app,
.theme-hiddengems .hg-hero-logo {
  object-fit: contain;
  object-position: center;
}

@keyframes hg-pin-pulse {
  0%, 100% { transform: rotate(-45deg) scale(1); opacity: 1; }
  50% { transform: rotate(-45deg) scale(1.12); opacity: 0.85; }
}

.theme-hiddengems .showcase-card {
  background: rgba(22, 24, 32, 0.92);
  border-color: rgba(201, 162, 39, 0.22);
  color: #ececf4;
}

.theme-hiddengems .showcase-card p {
  color: #a8b0c4;
}

.theme-hiddengems .showcase-card__icon {
  background: rgba(201, 162, 39, 0.2);
  color: #e8c96a;
}

.hg-dash {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .hg-dash {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}

.hg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hg-stat {
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  background: rgba(22, 24, 32, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.28);
}

.hg-stat__val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #e8c96a;
  line-height: 1.2;
}

.hg-stat__lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9aa3b8;
  margin-top: 4px;
}

.hg-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hg-place {
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(22, 24, 32, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.hg-place__title {
  font-weight: 700;
  color: #ececf4;
  margin-bottom: 4px;
}

.hg-place__meta {
  font-size: 0.85rem;
  color: #a8b0c4;
}

.hg-live {
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(165deg, rgba(201, 162, 39, 0.14), rgba(22, 24, 32, 0.95));
  border: 1px solid rgba(201, 162, 39, 0.32);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hg-live__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.hg-live__title {
  font-weight: 800;
  color: #f2efe6;
  font-size: 0.95rem;
}

.hg-live__badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(232, 64, 87, 0.2);
  color: #ff8a9a;
  border: 1px solid rgba(255, 120, 140, 0.35);
}

.hg-live__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: #c5ccd8;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hg-live__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hg-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hg-pill {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.12);
  color: #e8c96a;
}

.showcase-qr--gem {
  background: linear-gradient(165deg, #1a1d28, #0f1115);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: #ececf4;
}

.showcase-qr--gem .showcase-qr__note {
  color: #9aa3b8;
}

.showcase-qr--gem .qr-frame {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(201, 162, 39, 0.3);
}

/* ========== Audit contraste — vitrines apps ========== */
.app-landing .showcase-section-kicker {
  opacity: 1;
  font-weight: 600;
}

.app-landing .showcase-section-title {
  color: inherit;
}

/* Boutons secondaires : héritent du thème (évite le blanc forcé de .btn-outline global) */
.app-landing .btn-outline {
  color: inherit;
  background: transparent;
}

.app-landing .btn-outline.btn--disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.theme-deconstruct .showcase-section-kicker,
.theme-deconstruct .showcase-section-title {
  color: #4a3528;
}

.theme-deconstruct .showcase-rule {
  border-color: rgba(139, 58, 43, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: #3d2e28;
}

.theme-deconstruct .btn-primary {
  background: #c45c3e;
}

.theme-deconstruct .btn-outline {
  border-color: rgba(139, 58, 43, 0.45);
  color: #5c4038;
}

.theme-lifeflow .showcase-section-kicker,
.theme-lifeflow .showcase-section-title {
  color: #3d4a66;
}

.theme-lifeflow .showcase-rule {
  border-color: rgba(91, 141, 239, 0.35);
  background: rgba(255, 255, 255, 0.8);
  color: #2a3348;
}

.theme-lifeflow .btn-outline {
  border-color: rgba(91, 141, 239, 0.45);
  color: #3d5a99;
}

.theme-factcheck .showcase-section-kicker,
.theme-factcheck .showcase-section-title {
  color: #c5d0e4;
}

.theme-factcheck .showcase-rule {
  border-color: rgba(78, 204, 163, 0.4);
  background: rgba(44, 44, 84, 0.65);
  color: #e8eaf0;
}

.theme-factcheck .btn-primary {
  background: #4ecca3;
  color: #0d1a14;
}

.theme-factcheck .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ecf0f1;
}

.theme-taupemania .showcase-section-kicker,
.theme-taupemania .showcase-section-title {
  color: #c8ebd4;
}

.theme-taupemania .showcase-rule {
  border-color: rgba(46, 204, 113, 0.45);
  background: rgba(12, 48, 32, 0.75);
  color: #e8fff0;
}

.theme-taupemania .btn-primary {
  background: #2ecc71;
  color: #0a2818;
}

.theme-taupemania .btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: #f0fff4;
}

.theme-gravity-switch .showcase-section-kicker,
.theme-gravity-switch .showcase-section-title {
  color: #b8d8e8;
}

.theme-gravity-switch .showcase-rule {
  border-color: rgba(0, 245, 255, 0.35);
  background: rgba(18, 18, 28, 0.85);
  color: #e0f4ff;
}

.theme-gravity-switch .btn-primary {
  background: linear-gradient(135deg, #00f5ff, #ff00c8);
  color: #0a0a0a;
}

.theme-gravity-switch .btn-outline {
  border-color: rgba(0, 245, 255, 0.5);
  color: #e8f8ff;
}

.theme-imperis .showcase-section-kicker,
.theme-imperis .showcase-section-title {
  color: #d4c4a0;
}

.theme-imperis .showcase-rule {
  border-color: rgba(201, 162, 39, 0.4);
  background: rgba(32, 24, 18, 0.8);
  color: #f0e6d4;
}

.theme-imperis .btn-primary {
  background: #c9a227;
  color: #1a1410;
}

.theme-imperis .btn-outline {
  border-color: rgba(201, 162, 39, 0.5);
  color: #f5e6c8;
}

.theme-godgame .showcase-section-kicker,
.theme-godgame .showcase-section-title {
  color: #d4c8a8;
}

.theme-godgame .showcase-rule {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(24, 22, 32, 0.85);
  color: #f2ead8;
}

.theme-godgame .btn-primary {
  background: #d4af37;
  color: #1a1410;
}

.theme-godgame .btn-outline {
  border-color: rgba(212, 175, 55, 0.5);
  color: #f0ead6;
}

.theme-hiddengems .showcase-section-kicker,
.theme-hiddengems .showcase-section-title {
  color: #c9b87a;
}

.theme-hiddengems .showcase-rule {
  border-color: rgba(201, 162, 39, 0.4);
  background: rgba(22, 24, 32, 0.88);
  color: #dce2f0;
}

.theme-hiddengems .btn-primary {
  background: linear-gradient(135deg, #c9a227, #e8c96a);
  color: #1a1410;
}

.theme-hiddengems .btn-outline {
  border-color: rgba(232, 201, 106, 0.55);
  color: #f2efe6;
}

.app-landing.app-section h2,
.app-landing .app-section h2 {
  color: inherit;
}
