:root {
  --nuit: #12082b; --nuit2: #1c0d40; --violet: #3d1680; --citron: #d4f53c; --rose: #ff4fa3;
  --texte: #e9e4f7; --doux: #a99fc6; --ligne: rgba(255,255,255,.1); --carte: rgba(255,255,255,.05);
  --arc: linear-gradient(90deg, #ff5a5f, #ffc93c, #c6f13c, #2ee6a6, #3b6cff, #ff4fa3);
  --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--nuit); }
body { margin: 0; color: var(--texte); background: var(--nuit);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--citron); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: #fff; margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.cadre { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.centre { text-align: center; }
.surtitre { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--citron); margin-bottom: 14px; }
.chapo { font-size: clamp(18px, 2vw, 21px); color: var(--doux); max-width: 620px; margin: 18px auto 0; }
.arc { height: 6px; width: 132px; border-radius: 6px; background: var(--arc); margin: 22px auto 0; }
.arc.gauche { margin-left: 0; }

/* Barre */
.barre { position: sticky; top: 0; z-index: 20; background: rgba(18,8,43,.72); backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--ligne); }
.barre .cadre { display: flex; align-items: center; gap: 24px; height: 60px; }
.marque { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -0.03em; }
.marque:hover { text-decoration: none; }
.marque img { width: 30px; height: 30px; border-radius: 7px; }
.liens { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.liens a { color: var(--texte); }
.langue { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: var(--texte); background: rgba(255,255,255,.08);
  border: 1px solid var(--ligne); border-radius: 999px; padding: 6px 30px 6px 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23aaa' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.langue option { color: #000; }
@media (max-width: 760px) { .liens { display: none; } .langue { margin-left: auto; } }

/* Badge App Store */
.badge { display: inline-block; transition: transform .15s ease; }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 54px; width: auto; }
.note { font-size: 14px; color: var(--doux); margin-top: 14px; }

/* Héros */
.heros { position: relative; padding: 72px 0 96px; overflow: hidden;
  background: radial-gradient(1000px 600px at 75% 30%, rgba(124,58,237,.45), transparent 70%),
              radial-gradient(700px 500px at 10% 90%, rgba(255,79,163,.18), transparent 70%), var(--nuit); }
.heros .cadre { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.heros h1 { font-size: clamp(46px, 7.4vw, 92px); letter-spacing: -0.045em; }
.heros h1 em { font-style: normal; background: var(--arc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros .chapo { margin: 22px 0 0; }
.heros .actions { margin-top: 34px; }
.heros .icone { width: 84px; height: 84px; border-radius: 19px; margin-bottom: 26px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); }
@media (max-width: 900px) { .heros .cadre { grid-template-columns: 1fr; text-align: center; } .heros .icone { margin: 0 auto 24px; } .heros .chapo { margin: 20px auto 0; } .heros .arc.gauche { margin-left: auto; } }

/* Téléphone qui lit le récap */
.scene { position: relative; height: 640px; display: grid; place-items: center; }
.cartes-fond img { position: absolute; width: 190px; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); opacity: .9; }
.cartes-fond img:nth-child(1) { transform: translate(-190px, 40px) rotate(-14deg); }
.cartes-fond img:nth-child(2) { transform: translate(190px, 70px) rotate(12deg); }
.telephone { position: relative; z-index: 2; width: 300px; border-radius: 44px; padding: 11px; background: #0a0a0c;
  box-shadow: 0 0 0 2px #2a2a30, 0 60px 120px -30px rgba(0,0,0,.85), 0 0 80px rgba(124,58,237,.35); }
.ecran { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; }
.ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 3.4s ease; }
.ecran img.actif { opacity: 1; transform: scale(1); }
.barres { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; display: flex; gap: 4px; }
.barres span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.barres span i { display: block; height: 100%; width: 0; background: #fff; }
.barres span.fini i { width: 100%; }
.barres span.encours i { animation: remplir var(--duree, 3.2s) linear forwards; }
@keyframes remplir { to { width: 100%; } }
@media (max-width: 900px) { .scene { height: 560px; } .telephone { width: 260px; } .cartes-fond img { width: 160px; } }
@media (max-width: 520px) { .cartes-fond img:nth-child(1) { transform: translate(-110px, 40px) rotate(-14deg); } .cartes-fond img:nth-child(2) { transform: translate(110px, 70px) rotate(12deg); } }

/* Étapes */
.etapes { padding: 96px 0; }
.grille-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; counter-reset: e; }
.etape { background: var(--carte); border: 1px solid var(--ligne); border-radius: 24px; padding: 30px; }
.etape::before { counter-increment: e; content: counter(e); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--citron); color: var(--nuit); font-weight: 800; font-size: 18px; margin-bottom: 20px; }
.etape p { margin-top: 8px; color: var(--doux); }
@media (max-width: 820px) { .grille-etapes { grid-template-columns: 1fr; } }

/* Mur de cartes qui défile */
.mur { padding: 40px 0 104px; overflow: hidden; }
.rangee { display: flex; gap: 18px; width: max-content; animation: defile 70s linear infinite; }
.rangee + .rangee { margin-top: 18px; animation-direction: reverse; animation-duration: 80s; }
.rangee img { width: 210px; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); }
.mur:hover .rangee { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .rangee img { width: 150px; } }

/* Diapos phares */
.phares { padding: 0 0 104px; }
.grille-phares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.phare { position: relative; border-radius: 24px; padding: 28px; overflow: hidden; color: var(--nuit); min-height: 200px; }
.phare h3 { color: inherit; font-size: 22px; }
.phare p { margin-top: 10px; font-size: 15.5px; opacity: .8; }
.phare b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.phare.plus::after { content: "Plus"; position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.14); }
@media (max-width: 900px) { .grille-phares { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grille-phares { grid-template-columns: 1fr; } }

/* Confidentialité */
.prive { padding: 104px 0; background: linear-gradient(180deg, var(--nuit), #0b0520); border-top: 1px solid var(--ligne); }
.cadenas { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 18px; background: #2ee6a6; color: var(--nuit); }
.cadenas svg { width: 32px; height: 32px; }
.grille-prive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 52px; text-align: left; }
.grille-prive div { border: 1px solid var(--ligne); background: var(--carte); border-radius: 18px; padding: 22px; }
.grille-prive b { display: block; color: #fff; margin-bottom: 4px; }
.grille-prive span { font-size: 14.5px; color: var(--doux); }
@media (max-width: 860px) { .grille-prive { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grille-prive { grid-template-columns: 1fr; } }

/* Tarifs */
.tarifs { padding: 104px 0; }
.grille-tarifs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 840px; margin: 52px auto 0; }
.offre { border: 1px solid var(--ligne); border-radius: 28px; padding: 34px; background: var(--carte); }
.offre.plus { border: 0; background: linear-gradient(150deg, #7c3aed, #c026d3 60%, #ff4fa3); box-shadow: 0 40px 80px -30px rgba(192,38,211,.7); }
.offre .prix { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: #fff; margin: 10px 0 2px; }
.offre .detail { font-size: 15px; color: var(--doux); }
.offre.plus .detail { color: rgba(255,255,255,.85); }
.puces { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.puces li { position: relative; padding-left: 30px; }
.puces li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--citron); }
.puces li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--nuit); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.offre.plus .puces li::before { background: #fff; }
.mentions { max-width: 640px; margin: 24px auto 0; font-size: 13px; color: var(--doux); text-align: center; }
@media (max-width: 700px) { .grille-tarifs { grid-template-columns: 1fr; } }

/* Questions */
.questions { padding: 0 0 104px; }
.liste-questions { max-width: 760px; margin: 44px auto 0; }
details { background: var(--carte); border: 1px solid var(--ligne); border-radius: 16px; margin-bottom: 10px; }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 650; color: #fff; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--doux); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--doux); }

/* Final et pied */
.final { padding: 104px 0; background: radial-gradient(700px 400px at 50% 100%, rgba(124,58,237,.5), transparent 70%), #0b0520; border-top: 1px solid var(--ligne); }
.final .icone { width: 92px; height: 92px; border-radius: 21px; margin: 0 auto 26px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.7); }
.final .actions { margin-top: 32px; }
.pied { padding: 34px 0 48px; font-size: 14px; color: var(--doux); background: #0b0520; }
.pied .cadre { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.pied nav { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.pied a { color: var(--doux); }

/* Pages simples */
.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.page h1 { font-size: clamp(38px, 5.4vw, 56px); letter-spacing: -0.04em; }
.page .chapo { margin: 16px 0 0; max-width: none; }
.page h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.02em; }
.page p { color: var(--doux); }
.page p + p { margin-top: 10px; }
.page .maj { font-size: 14px; margin-top: 10px; }
.contact { margin-top: 32px; padding: 28px; border-radius: 24px; background: linear-gradient(150deg, #7c3aed, #c026d3 60%, #ff4fa3);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.contact b { display: block; font-size: 19px; color: #fff; }
.contact span { color: rgba(255,255,255,.85); font-size: 15px; }
.contact .bouton span { color: var(--nuit); font-size: 16px; }
.bouton { display: inline-flex; flex-direction: column; padding: 12px 22px; border-radius: 14px; background: #fff; color: var(--nuit); font-weight: 700; line-height: 1.2; }
.bouton:hover { text-decoration: none; transform: translateY(-1px); }
.bouton small { font-weight: 500; font-size: 12px; opacity: .7; }
.js [data-langue-section] { display: none; }
.js [data-langue-section].visible { display: block; }

.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .apparait { opacity: 1; transform: none; transition: none; }
  .rangee { animation: none; } html { scroll-behavior: auto; }
}
