/* Hero Muse « cyber 3D » (21/11/2026) : chargé après muse-saturn.css, limité à .cy-hero.
   Polices : Unbounded (titre, très large) + Space Mono (étiquettes façon interface). */

html body.saturn {
  --cy-cyan: #5ef2ff;
  --cy-pink: #ff4fd8;
  --cy-lilac: rgb(var(--sat-accent-rgb, 200, 181, 255));
  --cy-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --cy-display: 'Unbounded', 'DM Sans', system-ui, sans-serif;
}

/* ── Carte ── */
html body.saturn.site-unified.im-muse .mu-feature.cy-hero {
  background:
    radial-gradient(60% 80% at 78% 40%, rgba(124, 92, 255, .22), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(94, 242, 255, .07), transparent 70%),
    #05030b;
  border: 1px solid rgba(var(--sat-accent-rgb), .22);
  min-height: clamp(460px, 44vw, 600px);
  align-items: center;
}
/* Sol en grille néon, en perspective */
.cy-hero .cy-floor {
  position: absolute; left: -20%; right: -20%; bottom: -2px; height: 46%; z-index: 0;
  pointer-events: none; transform-origin: 50% 100%;
  transform: perspective(520px) rotateX(64deg);
  background-image:
    linear-gradient(rgba(var(--sat-accent-rgb), .34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--sat-accent-rgb), .34) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%);
  opacity: .55;
}
/* Lignes de balayage très légères */
.cy-hero .cy-scan {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
/* Coins façon viseur */
.cy-hero .cy-corner { position: absolute; width: 22px; height: 22px; z-index: 3; pointer-events: none; border: 0 solid rgba(var(--sat-accent-rgb), .7); }
.cy-hero .cy-corner--tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.cy-hero .cy-corner--tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.cy-hero .cy-corner--bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.cy-hero .cy-corner--br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }

/* ── Texte ── */
html body.saturn.site-unified.im-muse .cy-hero .mu-feature-copy { z-index: 4; }
:is(.cy-hero, .cy-com) .cy-kicker {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.25rem;
  font: 400 .72rem/1.4 var(--cy-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--cy-cyan); white-space: nowrap;
}
@media (max-width: 520px) { :is(.cy-hero, .cy-com) .cy-kicker { white-space: normal; font-size: .64rem; letter-spacing: .06em; } }
:is(.cy-hero, .cy-com) .cy-kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; }
:is(.cy-hero, .cy-com) .cy-kicker::after {
  content: ''; width: .55em; height: 1em; background: currentColor; opacity: .85;
  animation: cy-blink 1.1s steps(2, start) infinite;
}
@keyframes cy-blink { to { visibility: hidden; } }

html body.saturn .cy-hero h1.cy-title {
  margin: 0 0 1.15rem; color: #f7f4ff;
  font: 800 clamp(2.4rem, 5vw, 4.6rem)/.98 var(--cy-display);
  letter-spacing: -.02em; text-transform: uppercase;
  text-shadow: -2px 0 rgba(94, 242, 255, .45), 2px 0 rgba(255, 79, 216, .4);
}
.cy-hero .cy-title span { display: block; }
/* Deuxième ligne en dégradé holographique (le contour laissait voir les tracés internes de la police variable) */
.cy-hero .cy-title .cy-outline {
  background: linear-gradient(100deg, var(--cy-lilac) 0%, #9d8cff 35%, var(--cy-cyan) 70%, var(--cy-pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 18px rgba(124, 92, 255, .35));
}
html body.saturn.site-unified.im-muse .cy-hero .mu-feature-copy p.cy-lead {
  color: #cfc7e2; max-width: 40ch; font-size: 1.02rem; line-height: 1.6; margin: 0 0 1.5rem;
}
.cy-hero .cy-lead strong { color: #fff; font-weight: 600; }

/* Puces d'information */
.cy-hero .cy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.cy-hero .cy-chips li {
  padding: .42rem .7rem; border: 1px solid rgba(var(--sat-accent-rgb), .28); border-radius: 4px;
  background: rgba(10, 8, 20, .6); color: #e6ddff;
  font: 400 .7rem/1.2 var(--cy-mono); letter-spacing: .08em; text-transform: uppercase;
}
.cy-hero .cy-chips li[hidden] { display: none; }
.cy-hero .cy-chips b { color: var(--cy-cyan); font-weight: 700; }

/* Boutons : coins coupés, effet néon au survol */
html body.saturn .cy-hero .btn-muse-cta,
html body.saturn .cy-hero .sat-btn-ghost {
  border-radius: 6px !important; font-weight: 700; letter-spacing: .02em;
  transition: box-shadow .25s ease, transform .25s ease, background-color .25s ease, color .25s ease;
}
/* Coins coupés sur le bouton plein seulement (sur le bouton contour, la découpe casserait la bordure) */
html body.saturn .cy-hero .btn-muse-cta {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
html body.saturn .cy-hero .btn-muse-cta:hover { box-shadow: 0 0 0 1px var(--cy-cyan), 0 0 28px rgba(94, 242, 255, .35) !important; }

/* ── Scène 3D ── */
.cy-hero .cy-stage {
  position: relative; z-index: 3; display: grid; place-items: center; align-self: stretch;
  min-width: 0; perspective: 1100px; color: var(--cy-lilac); text-decoration: none;
}
.cy-hero .cy-planet {
  position: relative; width: min(100%, 640px); margin: 6% 2% 12% 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--cy-rx, 0deg)) rotateY(var(--cy-ry, 0deg)) translateZ(0);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
/* L'image a un fond sombre : on le fond dans la carte (éclaircir + bords estompés), sans cadre visible */
.cy-hero .cy-planet img {
  display: block; width: 100%; height: auto; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
.cy-hero .cy-planet::before {
  content: ''; position: absolute; inset: 18% 24%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .32), transparent 75%);
  filter: blur(18px);
}
.cy-hero .cy-float { animation: cy-float 7s ease-in-out infinite; }
@keyframes cy-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
/* Reflet holographique qui balaie la planète */
.cy-hero .cy-planet::after {
  content: ''; position: absolute; inset: 8% 6% 12%; pointer-events: none; border-radius: 50%;
  background: linear-gradient(115deg, transparent 38%, rgba(94, 242, 255, .16) 48%, rgba(255, 79, 216, .14) 54%, transparent 64%);
  background-size: 260% 100%; mix-blend-mode: screen;
  animation: cy-holo 8s ease-in-out infinite alternate;
}
@keyframes cy-holo { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* Ombre au sol */
.cy-hero .cy-shadow {
  position: absolute; left: 22%; right: 22%; bottom: 8%; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .45), transparent);
  filter: blur(6px); z-index: 2; pointer-events: none;
}
.cy-hero .cy-tag {
  position: absolute; right: 6%; bottom: 1.1rem; z-index: 4;
  display: inline-flex; align-items: center; gap: .5rem;
  font: 400 .72rem/1 var(--cy-mono); letter-spacing: .14em; text-transform: uppercase; color: #e6ddff;
  padding: .55rem .75rem; border: 1px solid rgba(var(--sat-accent-rgb), .35); border-radius: 4px; background: rgba(5, 3, 11, .7);
}
.cy-hero .cy-stage:is(:hover, :focus-visible) .cy-tag { border-color: var(--cy-cyan); color: var(--cy-cyan); }

/* ── Mobile ── */
@media (max-width: 760px) {
  html body.saturn.site-unified.im-muse .mu-feature.cy-hero { min-height: 0; }
  html body.saturn .cy-hero h1.cy-title { font-size: clamp(2.1rem, 10.5vw, 2.9rem); }
  .cy-hero .cy-planet { width: 92%; margin: 0 auto 18%; }
  .cy-hero .cy-tag { left: 22px; right: auto; }
  .cy-hero .cy-floor { height: 30%; }
  .cy-hero .cy-corner { width: 16px; height: 16px; }
}

/* ── Mouvement réduit ── */
@media (prefers-reduced-motion: reduce) {
  .cy-hero .cy-float, .cy-hero .cy-planet::after, :is(.cy-hero, .cy-com) .cy-kicker::after { animation: none; }
  .cy-hero .cy-planet { transition: none; transform: none; }
}

/* Bouton communauté du hero : même poids que le bouton studio */
html body.saturn .cy-hero .cy-btn-commu { border-color: rgba(94, 242, 255, .55) !important; color: #e9fdff !important; }
html body.saturn .cy-hero .cy-btn-commu:hover { border-color: var(--cy-cyan) !important; color: var(--cy-cyan) !important; box-shadow: 0 0 24px rgba(94, 242, 255, .22) !important; }

/* ── Section communauté ── */
.cy-com {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(124, 92, 255, .18), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(94, 242, 255, .08), transparent 70%),
    #06040c;
  border-block: 1px solid rgba(var(--sat-accent-rgb), .16);
}
.cy-com::before {
  content: ''; position: absolute; inset: auto -20% -1px; height: 40%; z-index: -1; pointer-events: none;
  transform-origin: 50% 100%; transform: perspective(520px) rotateX(64deg);
  background-image: linear-gradient(rgba(var(--sat-accent-rgb), .22) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--sat-accent-rgb), .22) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent);
}
.cy-com-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
html body.saturn .cy-com-title {
  margin: 0 0 1rem; color: #f7f4ff; font: 800 clamp(2rem, 4.4vw, 3.6rem)/1.02 var(--cy-display);
  letter-spacing: -.02em; text-transform: uppercase;
  text-shadow: -2px 0 rgba(94, 242, 255, .35), 2px 0 rgba(255, 79, 216, .3);
}
.cy-com-title .cy-outline {
  background: linear-gradient(100deg, var(--cy-lilac) 0%, #9d8cff 35%, var(--cy-cyan) 70%, var(--cy-pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
}
.cy-com-lead { color: #cfc7e2; line-height: 1.7; max-width: 62ch; margin: 0; }

.cy-com-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.cy-com-stats li { padding: .8rem 1rem; border: 1px solid rgba(var(--sat-accent-rgb), .28); border-radius: 6px; background: rgba(10, 8, 20, .6); }
.cy-com-stats b { display: block; color: #fff; font: 800 1.6rem/1 var(--cy-display); }
.cy-com-stats span { font: 400 .68rem/1.4 var(--cy-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cy-cyan); }
.cy-com-stats [hidden], .cy-com-stats[hidden] { display: none; }

.cy-com-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cy-com-card {
  position: relative; display: flex; flex-direction: column; gap: .55rem; min-height: 100%;
  padding: 22px 20px 20px; border: 1px solid rgba(var(--sat-accent-rgb), .2); border-radius: 12px;
  background: linear-gradient(180deg, rgba(26, 20, 44, .75), rgba(12, 9, 22, .85));
  color: #ece6ff; text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.cy-com-card::after {
  content: ''; position: absolute; top: 10px; right: 10px; width: 12px; height: 12px; pointer-events: none;
  border-top: 1px solid rgba(var(--sat-accent-rgb), .55); border-right: 1px solid rgba(var(--sat-accent-rgb), .55);
}
.cy-com-card:hover, .cy-com-card:focus-visible {
  border-color: rgba(94, 242, 255, .55); box-shadow: 0 0 0 1px rgba(94, 242, 255, .2), 0 18px 40px -24px rgba(94, 242, 255, .45);
}
@media (prefers-reduced-motion: no-preference) { .cy-com-card:hover { transform: translateY(-4px); } }
.cy-com-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--cy-cyan); background: rgba(94, 242, 255, .08); border: 1px solid rgba(94, 242, 255, .25); }
.cy-com-tag { font: 400 .66rem/1.4 var(--cy-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--sat-accent-rgb), .9); }
.cy-com-card h3 { margin: 0; color: #fff; font-size: 1.08rem; line-height: 1.25; }
.cy-com-card p { margin: 0; color: #c9c1db; font-size: .92rem; line-height: 1.55; }
.cy-com-go { margin-top: auto; padding-top: .4rem; font: 700 .72rem/1.3 var(--cy-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cy-cyan); }
.cy-com-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
html body.saturn .cy-com .btn-muse-cta { border-radius: 6px !important; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
html body.saturn .cy-com .sat-btn-ghost { border-radius: 6px !important; }

@media (max-width: 980px) { .cy-com-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cy-com-grid { grid-template-columns: 1fr; } }
