/* MUVIXA — muvixa.app
   Palette tirée du logo : nuit indigo, violet, cyan. */
:root {
  --nuit: #0A0B1F;
  --ecran: #13153A;
  --ecran-2: #1B1E4B;
  --trait: #2A2E66;
  --violet: #7C5CFF;
  --violet-2: #5B3FE0;
  --cyan: #2BD4EE;
  --texte: #EEF0FF;
  --brume: #A3A6CF;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --focus: 0 0 0 2px var(--nuit), 0 0 0 4px var(--cyan), 0 0 28px 4px rgba(43, 212, 238, .45);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nuit); color: var(--texte);
  font: 500 17px/1.6 var(--body); font-feature-settings: 'tnum' 0;
  background-image: radial-gradient(1100px 600px at 85% -10%, rgba(124, 92, 255, .22), transparent 60%),
                    radial-gradient(800px 500px at -10% 30%, rgba(43, 212, 238, .08), transparent 60%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--brume); max-width: 62ch; }
.narrow { max-width: 56ch; }
.meta, .fine, .hint { color: var(--brume); font-size: .9rem; }
code { font: 500 .85em/1 ui-monospace, Menlo, monospace; color: var(--texte); background: var(--ecran-2); padding: .25em .5em; border-radius: 6px; overflow-wrap: anywhere; }

/* Le focus télécommande : seul effet fort du site. */
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: var(--r-sm); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { top: 12px; }

.beta { background: linear-gradient(90deg, var(--violet-2), #1E6FD9); color: #fff; text-align: center; font-size: .85rem; padding: 8px 16px; }

/* En-tête */
.top { max-width: var(--w); margin: auto; padding: 18px 24px; display: flex; align-items: center; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); font: 700 1.2rem var(--display); letter-spacing: .08em; }
.brand img { border-radius: 10px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top nav > a { color: var(--brume); text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: .95rem; }
.top nav > a:hover, .top nav > a[aria-current] { color: var(--texte); }
.top nav > a[aria-current]::after { content: ''; display: block; height: 2px; margin-top: 4px; background: var(--cyan); border-radius: 2px; }
.top nav > a.account { color: var(--texte); border: 1px solid var(--trait); margin-left: 6px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: var(--brume); font-weight: 700; font-size: .85rem; padding: 8px 10px; border-radius: var(--r-sm); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] > div { position: absolute; right: 0; top: 110%; background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-md); padding: 6px; display: grid; min-width: 160px; z-index: 5; }
.lang a { color: var(--texte); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.lang a[aria-current] { color: var(--cyan); }
.lang a:hover { background: var(--ecran-2); }
.menu-btn { display: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  background: linear-gradient(120deg, var(--violet), #4C6BFF); color: #fff; font: 700 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8); }
.btn:focus-visible { box-shadow: var(--focus); border-radius: 999px; transform: scale(1.04); }
.btn-ghost { background: transparent; border: 1.5px solid var(--trait); color: var(--texte); }
.btn-ghost:hover { border-color: var(--brume); box-shadow: none; }
.btn-off { background: var(--ecran-2); color: var(--brume); cursor: default; font-weight: 600; font-size: .92rem; text-align: center; }
.btn-off:hover { transform: none; box-shadow: none; }

/* Sections */
main { display: block; }
.band { max-width: var(--w); margin: auto; padding: 72px 24px; }
.band.tight { padding-top: 0; }
.page-head { padding-bottom: 40px; }

/* Ouverture */
.hero { max-width: var(--w); margin: auto; padding: 48px 24px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 11ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }

/* Écran-guide */
.tv { margin: 0; position: relative; }
.tv::after { content: ''; display: block; width: 36%; height: 10px; margin: 14px auto 0; border-radius: 0 0 14px 14px; background: linear-gradient(var(--trait), transparent); }
.tv-screen { aspect-ratio: 16 / 10; background: #0D0F2A; border: 10px solid #05061A; border-radius: 26px; overflow: hidden; position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--trait), 0 0 120px -40px rgba(124, 92, 255, .6); display: flex; flex-direction: column; padding: 14px 0 0 14px; }
.g-head { display: flex; justify-content: space-between; padding: 0 14px 8px 0; }
.g-title { font: 600 1rem var(--display); }
.g-clock { font: 700 .95rem var(--body); font-variant-numeric: tabular-nums; color: var(--cyan); }
.g-times { display: flex; margin-left: 30%; height: 22px; position: relative; overflow: hidden; color: var(--brume); font-size: .72rem; font-variant-numeric: tabular-nums; }
.g-times span { position: absolute; top: 0; border-left: 1px solid var(--trait); padding-left: 6px; }
.g-grid { position: relative; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.g-row { display: grid; grid-template-columns: 30% 1fr; gap: 6px; flex: 1; min-height: 0; }
.g-ch { display: flex; align-items: center; gap: 8px; background: var(--ecran); border-radius: 8px; padding: 0 8px; font-size: .74rem; font-weight: 700; overflow: hidden; white-space: nowrap; }
.g-logo { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--ecran-2); font-size: .62rem; letter-spacing: .02em; color: var(--brume); }
.g-track { position: relative; overflow: hidden; }
.g-show { position: absolute; top: 0; bottom: 0; background: var(--ecran); border-radius: 8px; padding: 6px 9px; font-size: .74rem; overflow: hidden; white-space: nowrap; border: 1px solid transparent; }
.g-show b { font-weight: 600; display: block; text-overflow: ellipsis; overflow: hidden; }
.g-show i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--cyan); width: 0; }
.g-show.on-air { background: linear-gradient(110deg, rgba(124, 92, 255, .55), rgba(76, 107, 255, .35)); border-color: rgba(124, 92, 255, .7); }
.g-show.focused { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 22px rgba(43, 212, 238, .5); background: linear-gradient(110deg, rgba(124, 92, 255, .75), rgba(43, 212, 238, .35)); z-index: 2; }
.g-now { position: absolute; top: -26px; bottom: 0; width: 2px; background: #FF4D8D; box-shadow: 0 0 12px #FF4D8D; z-index: 3; pointer-events: none; }
.g-now span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Fonctionnalités : une liste éditoriale, pas une grille de cartes identiques */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--trait); }
.feat { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--trait); }
.feat:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--trait); }
.feat p { color: var(--brume); margin: 0; }
.feat h3::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--violet); margin-bottom: 16px; }
.feat-remote h3::before, .feat-sources h3::before { background: var(--cyan); }

/* Captures */
.shot-stage { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: end; margin: 32px 0 16px; }
.shot-tv img { border-radius: 16px; border: 8px solid #05061A; box-shadow: 0 30px 70px -30px #000; }
.shot-phone img { border-radius: 30px; border: 8px solid #05061A; box-shadow: 0 30px 70px -30px #000; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs button { font: 600 .9rem var(--body); color: var(--brume); background: transparent; border: 1px solid var(--trait); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.tabs button[aria-selected='true'] { color: var(--texte); background: var(--ecran-2); border-color: var(--violet); }

/* Étapes (vraie séquence : numérotée) */
.how ol { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.how li { counter-increment: s; position: relative; padding-top: 64px; }
.how li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem var(--display); color: var(--nuit); background: var(--cyan); }
.how li:not(:last-child)::after { content: ''; position: absolute; top: 23px; left: 58px; right: -16px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); }
.how p { color: var(--brume); }

/* Tarifs */
.billing { display: inline-flex; background: var(--ecran); border: 1px solid var(--trait); border-radius: 999px; padding: 4px; margin: 28px 0; }
.billing button { font: 700 .92rem var(--body); color: var(--brume); background: transparent; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.billing button[aria-checked='true'] { background: var(--ecran-2); color: var(--texte); }
.billing small { color: var(--cyan); font-weight: 700; margin-left: 4px; }
.plan-row { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; align-items: stretch; }
.plan { background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan .pdesc { color: var(--brume); min-height: 3em; }
.plan .amount { margin: 8px 0 0; }
.plan .num { font: 700 2.4rem var(--display); letter-spacing: -.03em; }
.plan .per { color: var(--brume); font-weight: 600; }
.plan .launch { color: var(--cyan); font-size: .85rem; font-weight: 700; margin: 2px 0 20px; }
.plan .launch s { color: var(--brume); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; color: var(--texte); font-size: .95rem; }
.plan li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); transform: rotate(-45deg); }
.plan-focus { background: linear-gradient(165deg, #22205A, var(--ecran) 60%); border-color: transparent; box-shadow: var(--focus); transform: translateY(-8px); }
.reco { position: absolute; top: -14px; left: 26px; background: var(--cyan); color: var(--nuit); font-weight: 800; font-size: .78rem; padding: 4px 12px; border-radius: 999px; margin: 0; }
.plans[data-billing='year'] .when-month, .plans[data-billing='month'] .when-year { display: none; }
.closed { margin: 28px 0 6px; padding: 14px 18px; border-left: 3px solid var(--cyan); background: rgba(43, 212, 238, .07); border-radius: 0 var(--r-sm) var(--r-sm) 0; max-width: 72ch; }

/* Téléchargement */
.dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl { background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-lg); padding: 28px; }
.dl p { color: var(--brume); }
.dl-file { font-size: .9rem; }
.hint { margin-top: 16px; }
.news ul, .install ol { color: var(--brume); padding-left: 1.2em; }
.news li, .install li { margin-bottom: 8px; }
.install-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 24px 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--trait); max-width: 820px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--brume); max-width: 70ch; }

.cta-end { text-align: center; }
.cta-end .lead { margin-left: auto; margin-right: auto; }

/* Pied de page */
.foot { max-width: var(--w); margin: 40px auto 0; padding: 48px 24px 32px; border-top: 1px solid var(--trait); display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font: 700 .95rem var(--body); margin-bottom: 12px; color: var(--texte); }
.foot a { display: block; color: var(--brume); text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--texte); }
.foot-brand p { color: var(--brume); margin-top: 12px; }
.foot-brand img { border-radius: 10px; }
.foot-legal { grid-column: 1 / -1; color: var(--brume); font-size: .85rem; margin: 16px 0 0; }

/* Mobile */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; }
  .hero h1 { max-width: 14ch; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat, .feat:not(:nth-child(3n + 1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .feat:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--trait); }
  .plan-row { grid-template-columns: 1fr; max-width: 520px; }
  .plan-focus { transform: none; order: -1; margin-top: 14px; }
  .how ol, .dl-row, .install-row { grid-template-columns: 1fr; }
  .how li:not(:last-child)::after { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-flex; margin-left: auto; font: 700 .9rem var(--body); color: var(--texte); background: var(--ecran); border: 1px solid var(--trait); border-radius: 999px; padding: 9px 16px; }
  .top nav { display: none; position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; align-items: stretch; background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-md); padding: 8px; z-index: 6; }
  .top nav.open { display: flex; }
  .top nav > a.account { margin-left: 0; }
  .feats { grid-template-columns: 1fr; }
  .feat:nth-child(2n) { padding-left: 0; border-left: 0; }
  .shot-stage { grid-template-columns: 1fr; }
  .shot-phone { display: none; }
  .tv-screen { border-width: 6px; padding: 10px 0 0 10px; aspect-ratio: 4 / 3.4; }
  .g-row { grid-template-columns: 26% 1fr; }
  .g-ch span:last-child { display: none; }
  .g-times { margin-left: 26%; }
  .foot { grid-template-columns: 1fr; }
  .band { padding: 56px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Espace client et pages légales */
.acct, .legal { max-width: 860px; }
.acct h2 { font-size: 1.3rem; margin-top: 44px; }
.acct h4 { font: 700 .95rem var(--body); margin: 20px 0 10px; }
.muted { color: var(--brume); }
.notice { padding: 14px 18px; border-left: 3px solid var(--cyan); background: rgba(43, 212, 238, .08); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.notice-err { border-color: #FF6B8B; background: rgba(255, 107, 139, .09); }
.acct-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 24px; }
.acct-form label, .check { display: grid; gap: 8px; font-weight: 700; font-size: .92rem; }
.acct-form label { flex: 1 1 280px; }
input[type=email], input[type=text], input[type=number], select, textarea {
  font: 500 1rem var(--body); color: var(--texte); background: var(--ecran); border: 1.5px solid var(--trait); border-radius: var(--r-sm); padding: 13px 14px; width: 100%; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--cyan); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 12px 0; }
.acct-card { background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-lg); padding: 24px; margin: 16px 0; }
.acct-active { box-shadow: var(--focus); border-color: transparent; }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acct-row h3 { margin: 0; }
.pill { font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--ecran-2); color: var(--brume); }
.pill-active { background: var(--cyan); color: var(--nuit); }
.pill-revoked, .pill-expired { background: rgba(255, 107, 139, .18); color: #FF9FB4; }
.key summary { cursor: pointer; color: var(--cyan); font-weight: 700; margin: 12px 0; }
.key-value code { font-size: 1.35rem; letter-spacing: .06em; padding: .45em .7em; display: inline-block; }
.devices { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ecran-2); border-radius: var(--r-sm); padding: 10px 14px; }
.devices small { display: block; color: var(--brume); font-size: .8rem; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn-danger { background: #C2264E; }
.buy-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.buy { background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-md); padding: 18px; display: grid; gap: 8px; }
.acct-table { width: 100%; border-collapse: collapse; }
.acct-table td { padding: 10px 6px; border-bottom: 1px solid var(--trait); }
.acct-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.danger { margin-top: 28px; }
.danger summary { cursor: pointer; color: #FF9FB4; font-weight: 700; }
.legal h2 { font-size: 1.15rem; margin-top: 32px; }
.legal p { color: var(--brume); max-width: 70ch; }
@media (max-width: 720px) { .buy-row { grid-template-columns: 1fr; } }

/* Aide, assistance, communauté, journal */
.field { display: grid; gap: 8px; font-weight: 700; font-size: .92rem; }
.stack { display: grid; gap: 16px; max-width: 640px; }
.help-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.help-group h2 { font-size: 1.15rem; }
.help-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.help-group a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; color: var(--texte); border: 1px solid transparent; }
.help-group a:hover { background: var(--ecran); border-color: var(--trait); }
.help-group a span { color: var(--brume); font-size: .9rem; }
.help-contact { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.article { max-width: 760px; }
.article-body p, .article-body li { color: #D6D8F2; }
.article-body ol { padding-left: 1.3em; display: grid; gap: 8px; }
.article-shot { max-width: 280px; border-radius: 24px; border: 6px solid #05061A; margin: 24px 0; }
.article-more { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--trait); }
.msg { background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-md); padding: 14px 18px; margin: 12px 0; max-width: 720px; }
.msg-team { border-color: var(--violet); margin-left: 40px; }
.msg small { color: var(--brume); }
.idea { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; background: var(--ecran); border: 1px solid var(--trait); border-radius: var(--r-lg); padding: 18px; margin: 12px 0; }
.idea-votes { display: grid; justify-items: center; align-content: start; gap: 8px; }
.idea-votes b { font: 700 1.6rem var(--display); }
.idea-votes small { color: var(--cyan); font-size: .78rem; text-align: center; }
.idea h3 { margin: 6px 0; }
.idea p { margin: 0; }
.propose { margin-top: 28px; }
.propose summary { list-style: none; cursor: pointer; margin-bottom: 18px; }
.propose summary::-webkit-details-marker { display: none; }
.release { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.release-v b { font: 700 1.3rem var(--display); display: block; }
.release-v small { color: var(--brume); }
.release ul { margin: 0; padding-left: 1.1em; color: #D6D8F2; display: grid; gap: 6px; }
.buy-form { display: grid; gap: 16px; }
.buy { cursor: pointer; }
.buy input { accent-color: var(--cyan); }
.buy:has(input:checked) { box-shadow: var(--focus); border-color: transparent; }
@media (max-width: 720px) { .help-groups, .release { grid-template-columns: 1fr; } .idea { grid-template-columns: 1fr; } .idea-votes { justify-items: start; grid-auto-flow: column; } }

/* ---------- Animations ---------- */
/* Écran de chargement : logo, anneau qui tourne, puis fondu. Sans JavaScript, il disparaît seul. */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--nuit);
  animation: splash-out .6s ease 2.4s forwards; }
.splash.out { animation: splash-out .55s ease forwards; }
.no-intro .splash { display: none; }
.splash-logo { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.splash-logo img { width: 96px; height: 96px; border-radius: 24px; position: relative; animation: logo-in .8s cubic-bezier(.2, .8, .2, 1) both; box-shadow: 0 0 60px rgba(124, 92, 255, .55); }
.splash-ring { position: absolute; inset: 0; border-radius: 34px; padding: 3px;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--violet) 75%, var(--cyan) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 1.1s linear infinite, fade-in .4s ease .2s both; }
.splash-word { font: 700 1.1rem var(--display); letter-spacing: .5em; margin-right: -.5em; color: var(--texte); animation: fade-up .7s ease .35s both; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
@keyframes logo-in { from { opacity: 0; transform: scale(.82); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* Halos du fond qui dérivent lentement */
body::before { content: ''; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 35% at 75% 20%, rgba(124, 92, 255, .16), transparent 70%), radial-gradient(35% 30% at 15% 60%, rgba(43, 212, 238, .07), transparent 70%);
  animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }

/* Slogan phrase par phrase */
.hero-title span { display: inline-block; animation: fade-up .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--start, .15s) + var(--i) * .22s); }
.hero .lead, .hero .actions, .hero .meta { animation: fade-up .7s ease both; animation-delay: calc(var(--start, .15s) + .7s); }
html:not(.no-intro) { --start: 1.9s; }

/* Allumage de l'écran comme une TV */
.tv-screen { animation: tv-on 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--start, .15s) + .3s); }
.tv-screen > * { animation: fade-in .5s ease both; animation-delay: calc(var(--start, .15s) + 1s); }
.g-row { animation: row-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--start, .15s) + 1.05s + var(--r, 0) * 70ms); }
@keyframes tv-on {
  0% { transform: scaleY(.006) scaleX(.6); filter: brightness(4); opacity: 0; }
  35% { transform: scaleY(.006) scaleX(1); filter: brightness(4); opacity: 1; }
  70% { transform: scaleY(1) scaleX(1); filter: brightness(1.6); }
  100% { transform: none; filter: none; }
}
@keyframes row-in { from { opacity: 0; transform: translateX(18px); } }

/* Révélation au défilement */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .feat h3::before { width: 0; transition: width .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--k, 0) * 90ms + .2s); }
.in .feat h3::before { width: 28px; }
html.js .how li::before { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; transition-delay: calc(var(--k, 0) * .25s + .1s); }
.in .how li::before, .how.in li::before { transform: none; opacity: 1; }
html.js .how li:not(:last-child)::after { transform-origin: left; transform: scaleX(0); transition: transform .6s ease; transition-delay: calc(var(--k, 0) * .25s + .35s); }
.how.in li::after { transform: scaleX(1); }
.in .plan-focus { animation: focus-pulse 1.6s ease .4s 1; }
@keyframes focus-pulse { 0%, 100% { box-shadow: var(--focus); } 40% { box-shadow: 0 0 0 2px var(--nuit), 0 0 0 4px var(--cyan), 0 0 60px 14px rgba(43, 212, 238, .6); } }

/* Reflet sur les boutons principaux */
.btn:not(.btn-ghost):not(.btn-off):not(.btn-danger) { position: relative; overflow: hidden; }
.btn:not(.btn-ghost):not(.btn-off):not(.btn-danger)::after { content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transition: transform .7s ease; }
.btn:not(.btn-ghost):not(.btn-off):not(.btn-danger):hover::after { transform: translateX(120%) skewX(-20deg); }

/* Captures : fondu entre les onglets */
[data-shot-img] { transition: opacity .25s ease; }
[data-shot-img].swap { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  body::before { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .feat h3::before { width: 28px; }
  html.js .how li::before { transform: none; opacity: 1; }
  html.js .how li:not(:last-child)::after { transform: none; }
}

/* Liste d'attente, avis */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wait { margin: 28px 0 8px; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(124, 92, 255, .16), rgba(43, 212, 238, .07)); border: 1px solid var(--trait); max-width: 720px; }
.wait h3 { font-size: 1.15rem; }
.wait-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.wait-row input { flex: 1 1 260px; }
.wait .fine { margin: 10px 0 0; }
.testi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.quote { margin: 0; padding: 24px; border-radius: var(--r-lg); background: var(--ecran); border: 1px solid var(--trait); display: grid; gap: 16px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.quote blockquote::before { content: '“'; display: block; font: 700 2.6rem/1 var(--display); color: var(--cyan); margin-bottom: 4px; }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption span { color: var(--brume); font-size: .88rem; }

/* Découvrir */
.disc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.disc-card { display: grid; gap: 8px; align-content: start; padding: 12px 12px 18px; border-radius: 18px; background: linear-gradient(160deg, rgba(124, 92, 255, .10), rgba(43, 212, 238, .04)); border: 1px solid rgba(255, 255, 255, .08); color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.disc-card:hover, .disc-card:focus-visible { transform: translateY(-3px); border-color: rgba(43, 212, 238, .5); }
.disc-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.disc-card b { font-family: var(--display); font-size: 1rem; line-height: 1.3; padding: 0 4px; }
.disc-card span { color: var(--brume); font-size: .93rem; line-height: 1.5; padding: 0 4px; }
.disc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.disc-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); overflow-wrap: break-word; line-height: 1.1; margin: 8px 0 16px; }
.disc-shot { width: 100%; max-width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(124, 92, 255, .55); border: 1px solid rgba(255, 255, 255, .1); }
.disc-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.disc-feats div { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.disc-feats p { margin: 6px 0 0; color: var(--brume); line-height: 1.55; }
.disc-help { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.disc-help a { display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); color: inherit; text-decoration: none; }
.disc-help a:hover { background: rgba(124, 92, 255, .12); }
.disc-help span { color: var(--brume); font-size: .93rem; }
.disc-notice { margin-top: 22px; font-size: .9rem; }
@media (max-width: 820px) { .disc-hero, .disc-feats { grid-template-columns: minmax(0, 1fr); } .disc-hero { gap: 28px; } }

/* Vidéo de démo */
.demo > * { min-width: 0; }
.demo-frame { position: relative; max-width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 100px -40px rgba(124, 92, 255, .6); background: var(--nuit); }
.demo-frame video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
