/* DiMovie — page d'accueil : un seul écran au centre, qui change au fil du récit. */
.pdt { background: var(--bg); padding-bottom: 0; }
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(224, 162, 58, .2), transparent 70%),
    radial-gradient(800px 560px at 88% 55%, rgba(59, 123, 224, .16), transparent 70%),
    radial-gradient(700px 500px at 8% 92%, rgba(59, 123, 224, .1), transparent 70%);
}
.pnav { display: flex; gap: 26px; margin-left: 40px; font-size: .9rem; }
.pnav a { color: var(--dim); text-decoration: none; }
.pnav a:hover { color: var(--amber); }
@media (max-width: 640px) { .pnav { display: none; } }

/* Accueil */
.p-hero { padding: 140px var(--gut) 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.p-hero h1 { font-size: clamp(2.8rem, 7.6vw, 6.6rem); }
.p-hero .lead { margin-inline: auto; text-align: center; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.ghost { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid rgba(110, 162, 245, .45); color: var(--blue-l); background: rgba(59, 123, 224, .08); font-weight: 600; text-decoration: none; }
.ghost:hover { background: rgba(59, 123, 224, .16); }
.hero-tv { width: min(1180px, 100%); margin-top: 70px; perspective: 1600px; }
.hero-tv .tv3d { transform: rotateX(var(--rx, 24deg)) scale(var(--sc, .9)); transform-origin: 50% 100%; transition: none; }

/* Récit collant */
.story { position: relative; height: 900vh; margin-top: 120px; }
.stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 48px; align-items: center; padding: 64px var(--gut) 24px; }
.steps { position: relative; height: 260px; }
.steps article { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.steps article.on { opacity: 1; transform: none; pointer-events: auto; }
.steps h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.steps p:not(.k) { color: var(--dim); font-size: 1.08rem; margin: 18px 0 0; max-width: 26em; }
.stage-tv { perspective: 1800px; }
.stage-tv .tv3d { transform: rotateY(var(--ry, -10deg)) rotateX(4deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tv3d .ui { transition: opacity .45s ease; }
.tv3d .ui.off { opacity: 0; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
.dots i.on { background: var(--amber); width: 22px; border-radius: 3px; }
@media (max-width: 900px) {
  .stick { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 26px; align-content: center; }
  .stage-tv { order: -1; }
  .steps { height: 200px; }
}

/* Blocs suivants */
.p-block { padding: 120px var(--gut) 0; max-width: 1180px; margin: 0 auto; }
.specs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.specs-grid div { background: #0b1120; padding: 26px 24px; display: grid; gap: 6px; }
.specs-grid b { font-weight: 600; letter-spacing: -.01em; }
.specs-grid div:nth-child(odd) b { color: var(--amber); }
.specs-grid div:nth-child(even) b { color: var(--blue-l); }
.specs-grid span { color: var(--dim); font-size: .9rem; }
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .specs-grid { grid-template-columns: 1fr; } }
.p-note .sub, .p-cta .sub { color: var(--dim); font-size: clamp(1rem, 1.4vw, 1.15rem); margin: 22px 0 0; max-width: 40em; }
.p-note h2, .p-cta h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.faq-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 34px; }
.p-block .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; margin-top: 10px; }
@media (max-width: 760px) { .p-block .faq { grid-template-columns: 1fr; } }
.p-cta { text-align: center; padding-bottom: 120px; }
.p-cta .sub { margin: 24px auto 0; }
@media (prefers-reduced-motion: reduce) { .hero-tv .tv3d { --rx: 0deg; --sc: 1; } }
.hero-tv .tv3d, .stage-tv .tv3d { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 0 10px #0a0f1a, 0 0 0 11px rgba(110, 162, 245, .2), 0 40px 160px -40px rgba(59, 123, 224, .5); }

/* Sans JavaScript (et pour les robots qui ne l'exécutent pas) : les 9 étapes s'affichent les unes sous les autres */
.no-js .story { height: auto; }
.no-js .stick { position: static; height: auto; display: block; }
.no-js .steps { height: auto; display: grid; gap: 56px; }
.no-js .steps article { position: static; opacity: 1; transform: none; pointer-events: auto; }
.no-js .stage-tv, .no-js .hero-tv { display: none; }
