/* Constructor Suite — site de lancement. © 2026 Benoit De Vaux.
   La page se joue comme un spectacle : chaque section est un cue, les faisceaux changent avec elle. */
:root {
  --noir: #070605;
  --noir-2: #100e0c;
  --noir-3: #17140f;
  --trait: #2a2621;
  --papier: #efe8db;
  --texte: #cfc6b6;
  --gris: #8c8477;
  --or: #d4a437;
  --tungstene: #f0b25c;
  --tungstene-pale: #f8dcae;
  --rouge: #c9583f;
  --sauge: #9dbb94;
  --violet: #8b7cf0;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  --marge: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--noir); color: var(--papier);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--tungstene); color: var(--noir); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; margin: 0; }
em { font-style: italic; }

/* ---------- la scène derrière tout ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.brume { position: fixed; inset: -20%; z-index: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(40% 30% at 30% 40%, rgba(255,240,220,.035), transparent 70%),
              radial-gradient(35% 25% at 70% 60%, rgba(255,240,220,.03), transparent 70%);
  animation: derive 38s ease-in-out infinite alternate; }
@keyframes derive { to { transform: translate3d(4%, -3%, 0) scale(1.08); } }
.barre, main, footer, .indicateur { position: relative; z-index: 2; }

/* ---------- barre du haut ---------- */
.barre {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 18px var(--marge); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.barre.fond { background: rgba(7, 6, 5, .82); backdrop-filter: blur(10px); border-bottom-color: var(--trait); }
.marque { font: 500 14px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.marque b { color: var(--or); font-weight: 500; }
.barre nav { margin-left: auto; display: flex; gap: 26px; align-items: center; font-size: 14px; }
.barre nav a { text-decoration: none; color: var(--texte); }
.barre nav a:hover { color: var(--papier); }
.barre .langue { border: 1px solid var(--trait); padding: 5px 10px; border-radius: 2px; }
.barre .cta { color: var(--noir); background: var(--tungstene); padding: 8px 14px; border-radius: 2px; font-weight: 500; }
.barre .cta:hover { background: var(--tungstene-pale); color: var(--noir); }

/* ---------- ouverture ---------- */
.ouverture { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--marge) clamp(48px, 8vh, 96px); position: relative; }
.ouverture::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(transparent, var(--noir)); pointer-events: none; z-index: -1; }
.surtitre { font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
h1 { font-size: clamp(54px, 10vw, 168px); line-height: .9; margin: 26px 0 32px; font-weight: 300; max-width: 11em; }
h1 em { color: var(--tungstene-pale); }
.chapeau { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--texte); max-width: 36em; margin: 0 0 40px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.bouton {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 2px; text-decoration: none;
  font: 500 15px/1 var(--sans); background: var(--tungstene); color: var(--noir); border: 1px solid var(--tungstene); cursor: pointer;
  transition: background .2s, transform .2s;
}
.bouton:hover { background: var(--tungstene-pale); transform: translateY(-1px); }
.bouton--creux { background: transparent; color: var(--papier); border-color: rgba(239,232,219,.25); }
.bouton--creux:hover { background: rgba(239,232,219,.06); }
.touche { font: 600 10px/1 var(--mono); letter-spacing: .1em; border: 1px solid rgba(7,6,5,.35); padding: 5px 6px; border-radius: 3px; }
.descendre { position: absolute; right: var(--marge); bottom: clamp(48px, 8vh, 96px); font: 500 11px var(--mono);
  letter-spacing: .16em; text-transform: uppercase; color: var(--gris); writing-mode: vertical-rl; text-decoration: none; }
.descendre::after { content: ""; display: inline-block; width: 1px; height: 64px; background: linear-gradient(var(--gris), transparent); margin-top: 14px; }

/* ---------- preuves ---------- */
.preuves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  background: rgba(7, 6, 5, .78); backdrop-filter: blur(6px); }
.preuve { padding: clamp(28px, 4vw, 48px) var(--marge) clamp(28px, 4vw, 44px); border-right: 1px solid var(--trait); }
.preuve:last-child { border-right: 0; }
.preuve b { display: block; font: 300 clamp(44px, 5.4vw, 78px)/1 var(--serif); color: var(--tungstene-pale); letter-spacing: -.02em; }
.preuve span { display: block; margin-top: 12px; font-size: 14px; color: var(--texte); max-width: 18em; }

/* ---------- sections d'application ---------- */
.acte { max-width: 1360px; margin: 0 auto; padding: clamp(80px, 12vw, 170px) var(--marge); }
.acte__tete { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.icone-app { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(212,164,55,.35); }
.acte__cue { font: 500 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.acte__cue b { display: block; color: var(--papier); font: 400 22px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.acte__grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.acte--inverse .acte__grille > :first-child { order: 2; }
.acte h2 { font-size: clamp(40px, 5.2vw, 80px); line-height: 1; margin-bottom: 26px; font-weight: 300; }
.acte h2 em { color: var(--tungstene-pale); }
.acte p { color: var(--texte); max-width: 34em; margin: 0 0 16px; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { padding-left: 30px; position: relative; color: var(--texte); }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 16px; height: 1px; background: var(--or); }
.points b { color: var(--papier); font-weight: 500; }

/* ---------- la régie (démonstration de Show Constructor) ---------- */
.regie { border: 1px solid var(--trait); background: rgba(16, 14, 12, .92); border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset; }
.regie__titre { display: flex; gap: 8px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--trait);
  font: 500 11px var(--mono); color: var(--gris); letter-spacing: .08em; text-transform: uppercase; }
.regie__titre i { width: 9px; height: 9px; border-radius: 50%; background: #2c2823; }
.regie__titre span { margin-left: 8px; }
.regie__plan { position: relative; height: 270px; background: radial-gradient(ellipse at 50% 120%, #1d1812 0%, transparent 70%), #0c0b09; border-bottom: 1px solid var(--trait); }
.regie__plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.perche { stroke: #3d3832; stroke-width: 1; }
.etiquette { font: 500 9px var(--mono); fill: #776f63; letter-spacing: .1em; }
.lampe { fill: #1d1a16; stroke: #4a443c; stroke-width: 1; transition: fill .9s ease, filter .9s ease; }
.faisceau-svg { opacity: 0; transition: opacity .9s ease; }
.regie__ligne { padding: 16px 18px 4px; font: 400 15px/1.5 var(--mono); min-height: 50px; color: var(--papier); }
.regie__ligne .invite { color: var(--gris); margin-right: 8px; }
.micro { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); margin-right: 10px; vertical-align: 1px; animation: pouls 1.4s ease-in-out infinite; }
@keyframes pouls { 50% { opacity: .25; } }
.curseur { display: inline-block; width: 8px; height: 17px; background: var(--tungstene); vertical-align: -3px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.regie__journal { padding: 0 18px 16px; min-height: 140px; font: 400 13px/1.55 var(--mono); }
.entree { opacity: 0; transform: translateY(4px); transition: all .35s ease; margin-top: 6px; }
.entree.vue { opacity: 1; transform: none; }
.compris { color: var(--gris); }
.cmd { color: var(--tungstene-pale); }
.ok { color: var(--sauge); }
.attente { color: var(--tungstene); }
.puce { display: inline-block; padding: 1px 7px; border: 1px solid currentColor; border-radius: 2px; font-size: 11px; margin-left: 8px; }
.regie__pied { display: flex; justify-content: space-between; padding: 10px 18px; border-top: 1px solid var(--trait);
  font: 400 11px var(--mono); color: var(--gris); letter-spacing: .06em; text-transform: uppercase; }
.vert::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sauge); margin-right: 7px; vertical-align: 1px; }

/* ---------- TC Constructor : la chanson qui devient un timecode ---------- */
.piste { border: 1px solid var(--trait); background: rgba(16, 14, 12, .92); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.piste__tete { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--trait);
  font: 500 11px var(--mono); color: var(--gris); letter-spacing: .08em; text-transform: uppercase; }
.piste__tc { font: 500 20px var(--mono); color: var(--tungstene-pale); letter-spacing: .04em; }
.piste svg { display: block; width: 100%; height: auto; }
.onde rect { fill: #3a342c; transition: fill .25s; }
.onde rect.jouee { fill: #8a7a62; }
.stem { font: 500 9px var(--mono); fill: #776f63; letter-spacing: .1em; }
.stem-bloc { opacity: .75; }
.moment line { stroke: var(--or); stroke-width: 1.2; }
.moment text { font: 500 10px var(--mono); fill: var(--tungstene-pale); letter-spacing: .04em; }
.moment .cible { fill: var(--gris); }
.moment { opacity: 0; transition: opacity .5s ease; }
.moment.vue { opacity: 1; }
.tete-lecture { stroke: var(--papier); stroke-width: 1; }
.piste__pied { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--trait); font: 400 11px var(--mono); color: var(--gris); letter-spacing: .06em; text-transform: uppercase; }
.piste__pied b { color: var(--sauge); font-weight: 500; }

/* ---------- les plugins ---------- */
.plugins { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: 56px; }
.plugin { margin: 0; }
.plugin img { width: 100%; aspect-ratio: 1; border-radius: 15%; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.plugin:hover img { transform: translateY(-6px) scale(1.03); box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 40px rgba(212,164,55,.28); }
.plugin figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--texte); }
.plugins-note { margin-top: 44px; font: 400 13px var(--mono); color: var(--gris); letter-spacing: .04em; }

/* ---------- garde-fou ---------- */
.verdicts { display: grid; gap: 14px; }
.verdict { border: 1px solid var(--trait); padding: 20px 22px; border-radius: 3px; background: rgba(16, 14, 12, .9); }
.verdict b { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.verdict code { display: block; font: 400 16px var(--mono); color: var(--tungstene-pale); margin: 10px 0 4px; }
.verdict small { color: var(--gris); font-size: 13.5px; }
.verdict--ok b { color: var(--sauge); } .verdict--oui b { color: var(--tungstene); } .verdict--non b { color: var(--rouge); }

/* ---------- hors ligne ---------- */
.horsligne { padding: clamp(100px, 16vw, 220px) var(--marge); text-align: center; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  background: radial-gradient(60% 80% at 50% 50%, rgba(7,6,5,.4), rgba(7,6,5,.9)); }
.horsligne p { font: 300 clamp(36px, 5.6vw, 88px)/1.06 var(--serif); max-width: 15em; margin: 0 auto; letter-spacing: -.02em; }
.horsligne p em { color: var(--tungstene-pale); }
.horsligne .petit { margin-top: 30px; font: 400 14px var(--sans); color: var(--gris); letter-spacing: 0; }

/* ---------- la suite ---------- */
.suite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--trait); border: 1px solid var(--trait); margin-top: 56px; }
.suite > div { background: rgba(12, 11, 9, .95); padding: 34px 30px 36px; }
.suite img { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 22px; }
.suite h3 { font-size: 28px; margin-bottom: 10px; }
.suite p { font-size: 15px; color: var(--texte); margin: 0; }
.suite .mosaique { display: grid; grid-template-columns: repeat(4, 30px); gap: 4px; margin-bottom: 22px; }
.suite .mosaique img { width: 30px; height: 30px; border-radius: 6px; margin: 0; }
.conditions { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 34px; font: 400 13px var(--mono); color: var(--texte); letter-spacing: .03em; }
.conditions span::before { content: "✓"; color: var(--sauge); margin-right: 10px; }

/* ---------- auteur, questions, liste d'attente ---------- */
.deux { max-width: 1360px; margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--marge);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); }
.deux h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; margin: 20px 0 24px; font-weight: 300; }
.deux p { color: var(--texte); max-width: 34em; }
.petit { font-size: 13px; color: var(--gris); }
details { border-top: 1px solid var(--trait); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--trait); }
summary { cursor: pointer; list-style: none; font: 400 20px/1.3 var(--serif); display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 22px var(--sans); color: var(--or); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; font-size: 15.5px; }

.attente-bloc { background: rgba(12, 11, 9, .94); border: 1px solid var(--trait); padding: clamp(28px, 4vw, 48px); border-radius: 4px; align-self: start; }
form { display: grid; gap: 15px; margin-top: 26px; }
label { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); display: grid; gap: 8px; }
input[type=text], input[type=email] { background: var(--noir); border: 1px solid var(--trait); color: var(--papier);
  padding: 14px 15px; font: 400 16px var(--sans); border-radius: 2px; transition: border-color .2s; }
input:focus { outline: none; border-color: var(--tungstene); }
.consentement { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font: 400 14px/1.5 var(--sans); color: var(--texte); }
.consentement input { margin-top: 3px; accent-color: var(--tungstene); flex: none; }
.mention { font-size: 12px; color: var(--gris); margin: 0; }
.retour { font: 400 14px var(--mono); color: var(--sauge); margin: 0; }
.pot-de-miel { position: absolute; left: -9999px; }
form .bouton { justify-content: center; }

footer { border-top: 1px solid var(--trait); padding: 34px var(--marge); font-size: 12px; color: var(--gris); background: var(--noir);
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }

/* ---------- l'indicateur de cue ---------- */
.indicateur { position: fixed; left: var(--marge); bottom: 22px; z-index: 15; display: flex; align-items: center; gap: 12px;
  padding: 9px 14px 9px 12px; background: rgba(7,6,5,.86); backdrop-filter: blur(8px); border: 1px solid var(--trait); border-radius: 2px;
  font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gris);
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.indicateur.vue { opacity: 1; transform: none; }
.indicateur b { color: var(--tungstene); font-weight: 500; }
.indicateur .barre-fondu { width: 54px; height: 2px; background: var(--trait); position: relative; overflow: hidden; }
.indicateur .barre-fondu i { position: absolute; inset: 0; background: var(--tungstene); transform-origin: left; transform: scaleX(0); }
.indicateur .barre-fondu i.fondu { animation: fondu 1.4s ease forwards; }
@keyframes fondu { to { transform: scaleX(1); } }

/* ---------- apparitions ---------- */
.revele { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.revele.vue { opacity: 1; transform: none; }

/* ---------- petits écrans ---------- */
@media (max-width: 960px) {
  .acte__grille, .deux { grid-template-columns: 1fr; }
  .acte--inverse .acte__grille > :first-child { order: 0; }
  .preuves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preuve:nth-child(2) { border-right: 0; }
  .preuve:nth-child(-n+2) { border-bottom: 1px solid var(--trait); }
  .suite { grid-template-columns: 1fr; }
  .barre nav a:not(.langue):not(.cta) { display: none; }
  .descendre { display: none; }
}
@media (max-width: 520px) {
  .plugins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .indicateur { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .revele { opacity: 1; transform: none; }
}
.barre nav a, .marque { white-space: nowrap; }
[id] { scroll-margin-top: 84px; }
@media (max-width: 520px) { .barre { gap: 12px; } .barre nav { gap: 10px; } .marque { font-size: 12px; letter-spacing: .12em; } .barre .cta { padding: 8px 10px; font-size: 13px; } }
.plugin figcaption b { display: block; color: var(--papier); font-weight: 500; margin-bottom: 4px; }

/* ---------- la vedette : AUTO GROUPS ---------- */
.vedette { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  margin-top: 64px; padding: clamp(28px, 4vw, 56px); border: 1px solid rgba(212,164,55,.35); border-radius: 4px;
  background: linear-gradient(135deg, rgba(212,164,55,.07), rgba(12,11,9,.95) 45%); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.vedette__tete { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.vedette__tete img { width: 72px; height: 72px; border-radius: 15%; box-shadow: 0 0 40px rgba(212,164,55,.3); }
.vedette h3 { font: 300 clamp(32px, 3.6vw, 54px)/1.04 var(--serif); margin-bottom: 20px; }
.vedette h3 em { color: var(--tungstene-pale); }
.vedette__plan { border: 1px solid var(--trait); background: #0c0b09; border-radius: 4px; overflow: hidden; }
.vedette__puces { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 16px 6px; }
.puce-groupe { font: 500 11px var(--mono); letter-spacing: .08em; padding: 6px 10px; border: 1px solid var(--trait); border-radius: 2px; color: var(--gris); transition: all .35s; }
.puce-groupe.active { color: var(--noir); background: var(--or); border-color: var(--or); box-shadow: 0 0 24px rgba(212,164,55,.35); }
.vedette__plan svg { display: block; width: 100%; height: auto; }
.ag-proj { fill: #1d1a16; stroke: #4a443c; stroke-width: 1; transition: fill .35s, stroke .35s, filter .35s; }
.ag-proj.pris { fill: var(--or); stroke: var(--tungstene-pale); filter: drop-shadow(0 0 6px rgba(240,178,92,.8)); }
.ag-ordre { font: 600 10px var(--mono); fill: var(--noir); text-anchor: middle; opacity: 0; transition: opacity .25s; pointer-events: none; }
.ag-ordre.vu { opacity: 1; }
.ag-cadre { stroke: #6f675c; stroke-width: 1; stroke-dasharray: 3 4; }
.vedette__pied { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--trait);
  font: 400 11px var(--mono); color: var(--gris); letter-spacing: .06em; text-transform: uppercase; }
.vedette__pied #ag-compte { color: var(--sauge); }
@media (max-width: 960px) { .vedette { grid-template-columns: 1fr; } }
.vedette { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
#ag-plan .etiquette { font-size: 11px; }
.puce-groupe { font-size: 12px; padding: 7px 12px; }
@media (max-width: 960px) { .vedette { grid-template-columns: 1fr; } }

/* ---------- les icônes restent CARRÉES, partout (consigne de Benoit) ---------- */
.plugin img, .rail__b img, .suite .mosaique img, .vedette__tete img, .icone-app, .suite img { height: auto; aspect-ratio: 1 / 1; object-fit: contain; }

/* ---------- la vitrine des 14 plugins ---------- */
.vitrine { margin-top: 56px; border: 1px solid rgba(212,164,55,.35); border-radius: 4px; overflow: hidden;
  background: linear-gradient(160deg, rgba(212,164,55,.08), rgba(10,9,8,.96) 40%); box-shadow: 0 40px 140px rgba(0,0,0,.7); }
.rail { display: flex; gap: 12px; padding: 22px 24px 18px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--trait); scroll-snap-type: x proximity; }
.rail::-webkit-scrollbar { display: none; }
.rail__b { flex: 0 0 auto; width: 74px; height: 74px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
  opacity: .45; filter: saturate(.6); transition: opacity .3s, filter .3s, transform .3s cubic-bezier(.2,.8,.2,1); scroll-snap-align: center; }
.rail__b img { width: 74px; height: 74px; border-radius: 15%; display: block; }
.rail__b:hover { opacity: .85; filter: none; }
.rail__b.actif { opacity: 1; filter: none; transform: translateY(-3px) scale(1.08); }
.rail__b.actif img { box-shadow: 0 0 0 2px var(--or), 0 0 34px rgba(212,164,55,.45); }
.rail__fondu { position: absolute; left: 6px; right: 6px; bottom: -10px; height: 2px; background: var(--trait); overflow: hidden; display: block; }
.rail__fondu::after { content: ""; position: absolute; inset: 0; background: var(--or); transform-origin: left; transform: scaleX(0); }
.rail__fondu.court::after { animation: remplir linear forwards; animation-duration: inherit; }
.rail.manuel .rail__b.actif .rail__fondu::after { transform: scaleX(1); animation: none; }
@keyframes remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scene-plugin { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); padding: clamp(26px, 4vw, 52px); align-items: start; }
.sp-texte { transition: opacity .26s ease, transform .26s ease; min-height: 420px; }
.sp-texte.sort { opacity: 0; transform: translateY(8px); }
.sp-texte h3 { font: 300 clamp(32px, 3.4vw, 52px)/1.04 var(--serif); margin: 18px 0 18px; }
.sp-texte h3 em { color: var(--tungstene-pale); }
.sp-texte p { color: var(--texte); margin: 0; }
.sp-texte .points { margin-top: 22px; gap: 11px; }
.sp-texte .points li { font-size: 15.5px; }
.sp-visuel { position: sticky; top: 96px; }
#pv-svg { display: block; width: 100%; height: auto; }
.pv-t { font: 400 12px var(--mono); fill: var(--papier); }
.pv-g { font: 400 12px var(--mono); fill: var(--gris); }
.pv-o { font: 500 12px var(--mono); fill: var(--tungstene-pale); }
.pv-v { font: 500 12px var(--mono); fill: var(--sauge); }
.pv-r { font: 500 12px var(--mono); fill: var(--rouge); }
.pv-bleu { font: 500 12px var(--mono); fill: #7fa0f5; }
.pv-n { font: 400 11px var(--sans); fill: #1a1814; }
.pv-petit { font-size: 10px; }
.pv-gras { font-weight: 600; }
.pv-grand { font-size: 17px; }
.pv-chrono { font: 300 64px var(--mono); fill: var(--papier); letter-spacing: -.02em; }
.pv-chrono--marche { fill: var(--tungstene-pale); }
.pv-fondu { transition: opacity .45s ease; }
.pv-trans, .pv-trans * { transition: fill .35s, stroke .35s, opacity .35s; }
.pv-flux { animation: flux 1s linear infinite; }
@keyframes flux { to { stroke-dashoffset: -8; } }
#pv-svg .perche { stroke: #3d3832; }
#pv-svg .ag-ordre { font: 600 10px var(--mono); }
@media (max-width: 960px) {
  .scene-plugin { grid-template-columns: 1fr; }
  .sp-texte { min-height: 0; }
  .sp-visuel { position: static; order: -1; }
}

/* ---------- le concepteur ---------- */
.concepteur { max-width: 1360px; margin: 0 auto; padding: clamp(90px, 13vw, 180px) var(--marge); display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 100px); align-items: center; border-top: 1px solid var(--trait); }
.concepteur__chiffre { font: 300 clamp(160px, 24vw, 360px)/.8 var(--serif); letter-spacing: -.05em; color: transparent;
  background: linear-gradient(180deg, var(--tungstene-pale), var(--or) 55%, rgba(212,164,55,.15)); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 60px rgba(212,164,55,.25)); }
.concepteur__chiffre span { display: block; font: 500 14px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--or);
  -webkit-text-fill-color: var(--or); margin-top: 18px; padding-left: 10px; }
.concepteur h2 { font: 300 clamp(40px, 5vw, 76px)/1.02 var(--serif); margin: 20px 0 28px; }
.concepteur h2 em { color: var(--tungstene-pale); }
.concepteur p { color: var(--texte); max-width: 38em; font-size: 18px; }
.concepteur__colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--trait); border: 1px solid var(--trait); margin-top: 40px; }
.concepteur__colonnes div { background: rgba(10, 9, 8, .94); padding: 22px 22px 24px; }
.concepteur__colonnes b { display: block; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 10px; }
.concepteur__colonnes span { font-size: 15px; color: var(--texte); }
@media (max-width: 960px) { .concepteur { grid-template-columns: 1fr; } .concepteur__colonnes { grid-template-columns: 1fr; } }
.concepteur__chiffre { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; padding-left: .04em; }
.concepteur__chiffre { font-family: var(--sans); font-weight: 400; letter-spacing: -.07em; }
.marque .tm { font-size: 9px; color: var(--gris); margin-left: 2px; vertical-align: 6px; }

/* ---------- pages de texte (confidentialité, remboursement) ---------- */
.page-texte { max-width: 760px; margin: 0 auto; padding: 150px var(--marge) 100px; position: relative; z-index: 2; }
.page-texte h1 { font-size: clamp(40px, 6vw, 72px); margin: 18px 0 14px; }
.page-texte .maj { font: 400 12px var(--mono); color: var(--gris); letter-spacing: .06em; text-transform: uppercase; }
.page-texte h2 { font: 400 26px/1.2 var(--serif); margin: 44px 0 12px; color: var(--tungstene-pale); }
.page-texte p, .page-texte li { color: var(--texte); }
.page-texte ul { padding-left: 20px; }
.page-texte a { color: var(--tungstene-pale); }
.page-texte .retour-accueil { display: inline-block; margin-top: 50px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
footer .liens a { margin-right: 18px; }
.suite > a.carte { display: block; background: rgba(12, 11, 9, .95); padding: 34px 30px 36px; text-decoration: none; color: inherit;
  transition: background .3s, box-shadow .3s; position: relative; }
.suite > a.carte:hover { background: rgba(26, 22, 16, .97); box-shadow: inset 0 0 0 1px rgba(212,164,55,.45); }
.suite > a.carte::after { content: "→"; position: absolute; right: 26px; bottom: 26px; color: var(--or); font: 400 20px var(--sans); opacity: .5; transition: opacity .3s, transform .3s; }
.suite > a.carte:hover::after { opacity: 1; transform: translateX(4px); }
