/* SR Opti : site vitrine. La même identité que les visuels Discord : graphite et bleu signal, pixels dʼécran tramés,
   écrou géant, piste de chargement. Lʼorange nʼexiste que sur Opti ; vert, ambre et rouge disent un état.
   Tout ce qui bouge est sous « html.anim » : ce réglage suit le système, ou le bouton du site. */
:root {
  --nuit: #0B0E14;
  --nuit2: #0E121A;
  --carte: #12161F;
  --filet: #222938;
  --filet2: #2A2F3A;
  --texte: #F2F5F9;
  --texte2: #AEB6C4;
  --texte3: #848EA3;
  --accent: #6C8FFF;
  --accent2: #8FB0FF;
  --accent-h: #5577F4;
  --jour: #EAEEF6;
  --encre: #12151B;
  --ok: #3DDC97;
  --alerte: #FFC247;
  --erreur: #FF5C6C;
  --maxw: 1160px;
  /* Une seule famille, Archivo : très large pour les titres, normale pour le texte, étroite pour les étiquettes.
     Attention : le raccourci « font: » remet la largeur à 100 %, il faut redonner font-stretch après lui. */
  --police: "Archivo", "Segoe UI", system-ui, sans-serif;
  --pistes: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 10px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html.anim { scroll-behavior: smooth; }
html.en-arrivee { overflow: hidden; }
body { margin: 0; background: var(--nuit); color: var(--texte); font: 400 16px/1.65 var(--police); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--police); font-stretch: 122%; }
.wrap { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Éléments de la maison ── */
.etiquette { font: 700 14px var(--police); font-stretch: 72%; letter-spacing: .07em; text-transform: uppercase; color: var(--accent2); }
.sur-titre { margin: 0; font: 600 16px var(--police); font-stretch: 84%; color: #2C47B8; }
.piste { position: relative; height: 8px; background: #141A28; overflow: hidden; }
.piste::before {
  content: ""; position: absolute; inset: 0; background: var(--pistes);
  -webkit-mask: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent) 50% 0 / 62% 100% no-repeat;
          mask: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent) 50% 0 / 62% 100% no-repeat;
}
.anim .piste::before { animation: piste 5s ease-in-out infinite alternate; }
@keyframes piste { from { -webkit-mask-position: -10% 0; mask-position: -10% 0; } to { -webkit-mask-position: 110% 0; mask-position: 110% 0; } }
.ecrou-geant { pointer-events: none; aspect-ratio: 1; }
.ecrou-geant svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ecrou-geant .plein { fill: rgba(143, 176, 255, .05); stroke: rgba(143, 176, 255, .22); stroke-width: 1.2; }
.ecrou-geant .trait { fill: none; stroke: rgba(143, 176, 255, .1); stroke-width: 1.2; }
.anim .ecrou-geant svg { transform: rotate(var(--tour, 0deg)); }
canvas.trame, .arrivee-fond canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── Barre du haut ── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 14, 20, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--filet); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--texte); font: 600 19px var(--police); font-stretch: 112%; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.anim .brand:hover img { animation: hoche .5s ease; }
@keyframes hoche { 30% { transform: rotate(-9deg); } 65% { transform: rotate(7deg); } }
.brand b { font-weight: 800; }
.brand span > span { color: var(--texte2); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--texte2); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--texte); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; }
.progres { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; }
.progres i { display: block; height: 100%; width: calc(var(--lu, 0) * 100%); background: var(--pistes); }

/* ── Boutons ── */
.btn {
  --socle: #05070B;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 10px; cursor: pointer;
  font: 650 15px var(--police); border: 1px solid #353D4F; background: #1D232E; color: var(--texte);
  box-shadow: 0 4px 0 var(--socle);
  transition: background .18s, transform .09s, box-shadow .09s, border-color .18s;
}
.btn:hover { background: #252D3B; text-decoration: none; }
.anim .btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--socle); }
.btn:active, .anim .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--socle); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; box-shadow: 0 3px 0 var(--socle); }
.btn-accent { --socle: #2B43A8; background: var(--accent); border-color: #8EA9FF; color: #fff; }
.btn-accent:hover { background: var(--accent-h); }
.btn-encre { --socle: #000; background: var(--encre); border-color: #343B4A; color: #fff; }
.btn-encre:hover { background: #262C3A; }
.btn-clair { --socle: #A7B3CD; background: #fff; border-color: #C3CDE0; color: var(--encre); }
.btn-clair:hover { background: #F5F7FC; border-color: #A9B6D2; }

/* ── Accueil : la bannière claire ── */
.hero { position: relative; overflow: hidden; background: var(--jour); color: var(--encre); padding-top: clamp(24px, 4.5vh, 54px); }
.hero::before { content: ""; position: absolute; left: 50%; top: -120px; width: 1100px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)); }
.courbes { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #B4C0DB; stroke-width: 1; opacity: .55; }
.hero-texte { position: relative; z-index: 2; text-align: center; }
.hero h1 { font-weight: 850; font-size: clamp(33px, min(5.25vw, 7.8vh), 70px); line-height: 1.12; letter-spacing: -.018em; margin: 12px 0 14px; }
.ligne { display: block; }
.surligne { position: relative; display: inline-block; padding: 0 .2em; color: #A9BFFF; white-space: nowrap; isolation: isolate; }
.surligne::before { content: ""; position: absolute; inset: .03em 0 0; z-index: -1; background: var(--encre); border-radius: .1em; transform-origin: left; }
.curseur { position: absolute; right: -.18em; bottom: -.26em; width: .46em; height: .66em; fill: #fff; stroke: var(--encre); stroke-width: 2.4; stroke-linejoin: round; }
html.anim.en-arrivee .surligne::before { transform: scaleX(0); }
html.anim.en-arrivee .surligne > span, html.anim.en-arrivee .curseur { opacity: 0; }
html.anim:not(.en-arrivee) .surligne::before { animation: selection .75s .45s cubic-bezier(.6, 0, .2, 1) both; }
html.anim:not(.en-arrivee) .surligne > span { animation: selection-texte .75s .45s both; }
html.anim:not(.en-arrivee) .curseur { animation: selection-curseur .75s .45s cubic-bezier(.6, 0, .2, 1) both, clic .5s 1.35s ease; }
@keyframes selection { from { transform: scaleX(0); } }
@keyframes selection-texte { 0%, 35% { color: var(--encre); } 70%, 100% { color: #A9BFFF; } }
@keyframes selection-curseur { from { right: calc(100% - .2em); } }
@keyframes clic { 50% { transform: scale(.78) translate(-3px, -3px); } }
.hero .lead { font-size: clamp(16.5px, 1.6vw, 19px); color: #414B61; max-width: 620px; margin: 0 auto 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .hero-cta, .hero-cta.centre { justify-content: center; }
.hero-cta.centre { margin-top: 46px; }
.hero-bas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 14px; }
.hero-note { margin: 0; color: #5D6880; font-size: 13.5px; }
.activer { height: 30px; padding: 0 13px; border-radius: 8px; border: 1.5px dashed #5577F4; background: rgba(255, 255, 255, .75); color: #2C47B8; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.hero > .trame { z-index: 1; }
/* la scène se réduit sur les fenêtres basses pour que les touches restent visibles sans défiler */
.scene-hero { position: relative; z-index: 3; width: min(960px, 100% - 20px, max(560px, (100vh - 462px) * 2.32)); margin: 8px auto 0; padding-bottom: 8px; }
@media (max-height: 860px) and (min-width: 621px) {
  .hero .lead { margin-bottom: 18px; font-size: 16.5px; }
  .hero .hero-bas { margin-top: 10px; }
}
.scene-boite { position: relative; }
#scene-hero { display: block; width: 100%; height: auto; overflow: visible; }
.hero .piste { z-index: 3; background: #C6CFE4; }

.touche { cursor: pointer; }
.touche .dessus { transition: transform .09s ease; }
.touche:hover .dessus { transform: translateY(3px); }
.touche.enfoncee .dessus { transform: translateY(9px); }
.anim .scene-boite:not(.prete) .chute, .anim .scene-boite:not(.prete) .objets { opacity: 0; }
.objets { transition: opacity .5s .55s; }
.anim .scene-boite.prete:not(.deja-la) .chute { animation: chute .66s calc(var(--rang) * .09s) cubic-bezier(.3, 1.25, .55, 1) both; }
@keyframes chute { from { transform: translateY(-430px); opacity: 0; } 25% { opacity: 1; } }
.en-arrivee .scene-hero .opti { opacity: 0; }
.anim .flotte { animation: flotte 4.2s var(--d, 0s) ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-11px); } }
.anim .balance { animation: balance 5.2s ease-in-out infinite; }
@keyframes balance { 50% { transform: rotate(11deg) translateY(-7px); } }
.anim .engrenage { animation: tourne 9s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.anim .etoile { animation: etoile 2.8s var(--d, 0s) ease-in-out infinite; }
@keyframes etoile { 50% { transform: scale(.45) rotate(45deg); opacity: .4; } }

/* ── La bulle dʼOpti ── */
.bulle {
  position: relative; max-width: 310px; padding: 11px 17px 13px; text-align: left;
  background: #fff; color: var(--encre); border: 1px solid #D5DCEA; border-radius: 18px;
  box-shadow: 0 18px 44px rgba(5, 8, 16, .28); font: 600 15px/1.45 var(--police);
  opacity: 0; transform: translateY(8px) scale(.94); cursor: default; pointer-events: auto;
}
.bulle.visible { opacity: 1; transform: none; }
.anim .bulle { transition: opacity .2s ease, transform .32s cubic-bezier(.2, 1.6, .4, 1); }
.bulle::after { content: ""; position: absolute; width: 15px; height: 15px; background: #fff; border: solid #D5DCEA; border-width: 0 1px 1px 0; bottom: -8px; left: calc(50% - 8px); transform: rotate(45deg); }
.bulle-nom { display: block; font: 800 12px var(--police); font-stretch: 70%; letter-spacing: .16em; color: #3F5FE0; margin-bottom: 1px; }
.bulle p { margin: 0; }
.bulle .a-dire { visibility: hidden; }
.bulle-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.bulle-actions:empty { display: none; }
.bulle-bouton { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #C9D2E4; background: #fff; color: var(--encre); font: 600 13px var(--police); cursor: pointer; }
.bulle-bouton:hover { background: #F0F3FA; text-decoration: none; }
.bulle-bouton.fort { background: var(--encre); border-color: var(--encre); color: #fff; }
.bulle-bouton.fort:hover { background: #2A3142; }
.zone-bulle { pointer-events: none; }
.zone-bulle[data-bulle="hero"] { position: absolute; left: 25.5%; top: 3%; z-index: 4; }
.zone-bulle[data-bulle="hero"] .bulle { width: max-content; max-width: min(300px, 38vw); }
.zone-bulle[data-bulle="hero"] .bulle::after { left: -8px; top: 30px; bottom: auto; border-width: 0 0 1px 1px; }

/* ── Bandeau de confiance ── */
.trust { border-bottom: 1px solid var(--filet); background: var(--nuit2); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust .wrap > div { display: flex; gap: 12px; align-items: flex-start; padding: 24px 18px; }
.trust .wrap > div + div { border-left: 1px solid var(--filet); }
.trust svg { width: 22px; height: 22px; color: var(--accent2); flex: none; margin-top: 3px; }
.anim .trust .wrap > div:hover svg { animation: hoche .55s ease; }
.trust p { margin: 0; }
.trust b { display: block; font: 750 14.5px var(--police); font-stretch: 112%; }
.trust span { display: block; margin-top: 3px; color: var(--texte3); font-size: 13.5px; line-height: 1.5; }

/* ── Sections ── */
main > section:not(.hero) { padding: 104px 0; scroll-margin-top: 68px; }
#accueil { scroll-margin-top: 68px; }
.bande { background: var(--nuit2); border-block: 1px solid var(--filet); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px 56px; align-items: end; margin-bottom: 52px; scroll-margin-top: 90px; }
.sec-head.seul { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.sec-head h2 { margin: 0; font-weight: 850; font-size: clamp(27px, 3.4vw, 42px); line-height: 1.14; letter-spacing: -.012em; text-wrap: balance; }
.sec-head p { margin: 0 0 3px; color: var(--texte2); font-size: 17px; }
html.js.anim .reveler { opacity: 0; transform: translateY(28px); }
html.js.anim .reveler.vu { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1); }
.ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; color: var(--accent2); margin-top: 1px; }
.ico svg { width: 26px; height: 26px; }

/* ── Lʼatelier ── */
.atelier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; scroll-margin-top: 94px; }
.cartes { display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; }
.carte-fn { display: flex; gap: 18px; align-items: flex-start; min-height: 236px; padding: 26px; border-radius: 20px; border: 1px solid var(--filet); background: var(--carte); cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s, transform .25s; }
.carte-fn h3 { margin: 0 0 8px; font-size: 19px; font-weight: 750; font-stretch: 112%; }
.carte-fn p { margin: 0; color: var(--texte2); font-size: 15px; }
.carte-fn ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--texte3); font-size: 14px; }
.carte-fn li { position: relative; padding-left: 18px; margin-top: 5px; }
.carte-fn li::before { content: ""; position: absolute; left: 1px; top: .6em; width: 7px; height: 7px; background: var(--accent); opacity: .75; }
.carte-fn.active { border-color: var(--accent); background: linear-gradient(165deg, rgba(108, 143, 255, .17), rgba(108, 143, 255, .03) 70%), var(--carte); box-shadow: 0 24px 60px rgba(63, 95, 224, .22); }
.anim .carte-fn.active { transform: translateX(8px); }
.carte-fn.active .ico { color: #fff; }
.poste {
  position: sticky; top: 94px; height: min(640px, calc(100vh - 120px)); min-height: 470px;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  border-radius: 26px; border: 1px solid var(--filet);
  background: radial-gradient(90% 62% at 50% 100%, rgba(108, 143, 255, .3), transparent 70%), radial-gradient(circle at 1px 1px, rgba(143, 176, 255, .13) 1px, transparent 1.5px) 0 0 / 8px 8px, #090B11;
}
.poste .ecrou-geant { position: absolute; width: 96%; left: 2%; top: 17%; }
.poste .zone-bulle { position: relative; z-index: 2; height: 138px; width: 100%; flex: none; display: flex; align-items: flex-end; justify-content: center; padding: 0 20px; }
.poste-opti { position: relative; flex: 1; min-height: 0; width: 100%; }
.poste-opti svg { display: block; width: 100%; height: 100%; }
.poste-nom { position: relative; margin: 4px 0 18px; font: 800 15px var(--police); font-stretch: 72%; letter-spacing: .16em; text-transform: uppercase; color: #A9BFFF; }
.poste .piste { width: 100%; flex: none; }

/* ── Les écrans de lʼappli, montés comme la télé dʼOpti ── */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.row + .row { margin-top: 92px; }
.row.rev { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.row.rev .row-text { order: 2; }
.row-text h3 { font-size: 26px; font-weight: 800; line-height: 1.24; margin: 8px 0 12px; letter-spacing: -.012em; }
.row-text p { color: var(--texte2); margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 24px; margin-top: 9px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 9px; height: 9px; background: var(--accent); }
.tele { margin: 0; padding: 14px 14px 0; border-radius: 28px; background: linear-gradient(135deg, #F7F9FC, #C3CBD9); box-shadow: 0 34px 80px rgba(0, 0, 0, .55), 0 0 90px rgba(108, 143, 255, .14); }
.tele-dalle { position: relative; border-radius: 16px; overflow: hidden; background: #090B10; }
.tele-dalle img { width: 100%; height: auto; }
.tele-dalle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(116deg, rgba(255, 255, 255, .07) 0 22%, transparent 22.2%); pointer-events: none; }
.tele-pied { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; }
.tele-pied i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #EEF1F6, #8E98AB); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.tele-pied b { margin-left: auto; width: 54px; height: 14px; background: repeating-linear-gradient(#8E97A8 0 2.5px, transparent 2.5px 5.5px); opacity: .75; }
.tele-pied em { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 151, .24); }
.anim .tele .tele-dalle img { opacity: 0; }
.anim .tele.vu .tele-dalle img { animation: allume .95s .25s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes allume {
  0% { opacity: 0; clip-path: inset(49.5% 42% 49.5% 42%); filter: brightness(7); }
  12% { opacity: 1; }
  42% { clip-path: inset(49.3% 0 49.3% 0); filter: brightness(5); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); filter: brightness(1); }
}

/* ── Honnêteté ── */
.honest { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.card { background: var(--carte); border: 1px solid var(--filet); border-radius: 22px; padding: 32px; }
.card p { margin: 12px 0 0; color: var(--texte2); font-size: 15.5px; }
.card .muted { color: var(--texte3); font-size: 14px; }
.card h3 { margin: 18px 0 0; font-size: 20px; }
.big { font: 850 clamp(28px, 3.5vw, 42px)/1.12 var(--police); font-stretch: 122%; letter-spacing: -.012em; }
.mesure { margin: 22px 0 8px; }
.mesure-cases { display: grid; grid-template-columns: repeat(60, 1fr); gap: 2px; height: 18px; }
.mesure-cases i { background: #1C2330; }
.vu .mesure-cases i { background: var(--accent); }
.anim .vu .mesure-cases i { animation: case .25s calc(.35s + var(--i) * .045s) both; }
@keyframes case { from { background: #1C2330; } 50% { background: #DCE5FF; } }
.mesure span { display: block; margin-top: 8px; font: 700 13px var(--police); font-stretch: 72%; letter-spacing: .08em; color: var(--texte3); }

/* ── Tarifs : les tickets de caisse sortis de lʼimprimante dʼOpti ── */
#tarifs { overflow: hidden; background: radial-gradient(circle at 1px 1px, rgba(143, 176, 255, .09) 1px, transparent 1.5px) 0 0 / 9px 9px; }
.annonce-vente { position: relative; display: inline-block; margin: -22px 0 38px; padding: 11px 18px 12px; background: #F3EEDD; color: #2B2517; font-size: 14.5px; rotate: -.7deg; box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.annonce-vente::before { content: ""; position: absolute; top: -9px; left: 24px; width: 58px; height: 18px; background: rgba(169, 191, 255, .6); rotate: -5deg; }
.annonce-vente b { margin-right: 7px; font: 900 13px var(--police); font-stretch: 122%; text-transform: uppercase; letter-spacing: .04em; }
.comptoir { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.comptoir-opti { position: sticky; top: 100px; }
.comptoir-opti .zone-bulle { display: flex; align-items: flex-end; justify-content: center; min-height: 158px; }
.comptoir-opti .bulle { font-size: 14px; }
.prix-dessin svg { display: block; width: 100%; height: auto; }
.imprimante { position: relative; }
.fente { position: relative; z-index: 2; height: 24px; border-radius: 9px; background: linear-gradient(#303849, #131822); border: 1px solid #3D475B; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
.fente::after { content: ""; position: absolute; left: 16px; right: 40px; top: 11px; height: 4px; border-radius: 2px; background: #04060A; }
.fente i { position: absolute; right: 15px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 151, .2); }
.anim .comptoir.imprime .fente i { animation: voyant .17s steps(1) 12; }
@keyframes voyant { 50% { background: #14513A; box-shadow: none; } }
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-top: -11px; padding: 0 12px 6px; }
.rouleau { filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .45)); }
.anim .comptoir:not(.imprime) .rouleau { clip-path: inset(0 -40px 100% -40px); }
.anim .comptoir.imprime .rouleau { animation: impression 1.5s var(--delai, .1s) steps(24, end) both; }
.anim .comptoir.imprime .rouleau + .rouleau { --delai: .6s; }
@keyframes impression { from { clip-path: inset(0 -40px 100% -40px); transform: translateY(-48px); } to { clip-path: inset(0 -40px -60px -40px); transform: none; } }
.ticket {
  position: relative; display: flex; flex-direction: column; padding: 30px 20px 30px;
  color: #17181C; background: repeating-linear-gradient(0deg, rgba(60, 50, 20, .028) 0 1px, transparent 1px 3px), #F6F3EA;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100% repeat-x;
  rotate: -.6deg;
}
.ticket-pro { rotate: .7deg; }
.anim .ticket { transition: rotate .25s ease, translate .25s cubic-bezier(.2, 1.5, .4, 1); }
.anim .rouleau:hover .ticket { rotate: 0deg; translate: 0 -6px; }
.ticket-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding-bottom: 14px; border-bottom: 2px dashed #BAB29E; }
.ticket h3 { margin: 0; font-size: 26px; font-weight: 900; font-stretch: 125%; letter-spacing: -.01em; }
.periode { display: flex; gap: 6px; }
.periode button { height: 32px; padding: 0 10px; border-radius: 7px; border: 1px solid #CCC4AF; background: #fff; color: #3C3D45; font: 700 13px var(--police); font-stretch: 86%; box-shadow: 0 3px 0 #B7AF9A; cursor: pointer; }
.periode button[aria-checked="true"] { translate: 0 3px; background: #3F5FE0; border-color: #2B43A8; color: #fff; box-shadow: 0 0 0 #2B43A8; }
.anim .periode button { transition: translate .08s, box-shadow .08s, background .15s; }
.lignes { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; }
.lignes li { display: flex; align-items: flex-end; gap: 7px; padding: 5px 0; }
.lignes li::after { content: ""; order: 2; flex: 1; min-width: 10px; margin-bottom: 4px; border-bottom: 2px dotted #BFB7A2; }
.lignes span { order: 1; }
.lignes b { order: 3; white-space: nowrap; font-weight: 750; font-stretch: 84%; }
.total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-top: 16px; padding-top: 14px; border-top: 2px dashed #BAB29E; }
.total > span { font: 800 14px var(--police); font-stretch: 74%; letter-spacing: .14em; text-transform: uppercase; }
.montant { display: flex; align-items: flex-end; margin: 0; font: 900 34px/1.1 var(--police); font-stretch: 116%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.montant small { margin: 0 0 4px 6px; font: 700 13px var(--police); font-stretch: 84%; }
.compteur { display: inline-flex; height: 1.1em; overflow: hidden; }
.compteur .chiffre { display: inline-block; width: 1ch; height: 1.1em; overflow: hidden; text-align: center; }
.compteur .chiffre > span { display: block; }
.compteur .chiffre > span > span { display: block; height: 1.1em; }
.compteur .vide { width: 0; }
.anim .compteur .chiffre { transition: width .3s ease; }
.anim .compteur .chiffre > span { transition: transform .8s var(--attente, 0s) cubic-bezier(.2, .9, .2, 1.06); }
.economie { min-height: 40px; margin: 8px 0 0; color: #484A54; font-size: 13px; line-height: 1.45; text-align: right; text-wrap: balance; }
.economie .si-an, .ticket-pro.an .si-mois { display: none; }
.ticket-pro.an .si-an { display: inline; }
.economie s { position: relative; text-decoration: none; white-space: nowrap; }
.economie s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: #3F5FE0; rotate: -6deg; transform-origin: left; }
.anim .ticket-pro.an .economie s::after { animation: biffe .35s .75s ease-out both; }
@keyframes biffe { from { transform: scaleX(0); } }
.ticket .btn { width: 100%; margin-top: 14px; padding: 0 10px; font-size: 14px; }
.code-barres { display: block; height: 30px; margin: 22px 18px 0; opacity: .82; background: repeating-linear-gradient(90deg, #17181C 0 2px, transparent 2px 4px, #17181C 4px 5px, transparent 5px 9px, #17181C 9px 12px, transparent 12px 14px, #17181C 14px 15px, transparent 15px 17px); }
/* Le tampon de la remise : il tombe quand on choisit lʼannée */
.tampon { position: absolute; right: 58px; top: 40%; display: grid; place-content: center; width: 108px; height: 108px; border-radius: 50%; border: 3px solid #3F5FE0; outline: 1.5px solid #3F5FE0; outline-offset: 4px; color: #3350C8; text-align: center; rotate: -14deg; opacity: 0; scale: 2.2; mix-blend-mode: multiply; pointer-events: none; }
.tampon b { font: 900 25px/1 var(--police); font-stretch: 112%; }
.tampon span { font: 800 12px var(--police); font-stretch: 74%; letter-spacing: .1em; text-transform: uppercase; }
.ticket-pro.an .tampon { opacity: .88; scale: 1; }
.anim .ticket-pro.an .tampon { transition: scale .24s .32s cubic-bezier(.7, 0, 1, .6), opacity .08s .32s; }
.anim .ticket-pro.frappe { animation: coup .34s .55s ease; }
@keyframes coup { 25% { transform: translateY(6px); } 60% { transform: translateY(-2px); } }

.recharge { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px 34px; align-items: center; margin-top: 54px; padding: 22px 28px; border-radius: 14px; border: 1px dashed #404A60; background: var(--carte); }
.recharge h3 { margin: 0 0 3px; font-size: 18px; font-weight: 800; }
.recharge p { margin: 0; color: var(--texte2); font-size: 14.5px; }
.jetons { display: grid; grid-template-columns: repeat(10, 11px); grid-auto-rows: 11px; gap: 4px; }
.jetons i { border-radius: 2px; background: #1C2330; }
.vu .jetons i { background: var(--accent); }
.anim .vu .jetons i { animation: jeton .34s calc(.25s + var(--i) * .026s) both; }
@keyframes jeton { from { background: #1C2330; transform: scale(.3); } 60% { background: #DCE5FF; transform: scale(1.3); } }
.recharge .recharge-prix { color: var(--texte); font: 900 32px/1.1 var(--police); font-stretch: 116%; text-align: right; white-space: nowrap; }
.recharge-prix small { display: block; margin-top: 2px; color: var(--texte3); font: 600 13px var(--police); font-stretch: 90%; }

/* ── Les trois étapes : trois touches reliées par la piste ── */
.etapes { --avance: 1; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.etapes::before, .etapes::after { content: ""; position: absolute; left: 16.66%; top: 32px; height: 8px; }
.etapes::before { right: 16.66%; background: repeating-linear-gradient(90deg, #232B3C 0 8px, transparent 8px 10px); }
.etapes::after { width: calc(66.68% * var(--avance)); background: var(--pistes); box-shadow: 0 0 18px rgba(108, 143, 255, .55); }
.etape { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cle3d { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 14px; font: 850 27px var(--police); font-stretch: 122%; color: var(--texte); background: linear-gradient(#3A4254, #222835); border: 1px solid #4A5366; box-shadow: 0 9px 0 #05070B, 0 18px 26px rgba(0, 0, 0, .45); transition: transform .14s, box-shadow .14s, background .2s; }
.etape.allumee .cle3d { background: linear-gradient(#86A4FF, #5072EE); border-color: #A9BFFF; color: #fff; transform: translateY(5px); box-shadow: 0 4px 0 #1D2F7E, 0 12px 34px rgba(108, 143, 255, .5); }
.etape h3 { margin: 28px 0 8px; font-size: 18px; }
.etape p { margin: 0; max-width: 300px; color: var(--texte2); font-size: 15px; }

/* ── FAQ ── */
.faq { min-width: 0; }
.faq-grille { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.35fr); gap: 48px; align-items: start; }
.faq-grille .sec-head { position: sticky; top: 110px; margin: 0; }
.faq details { background: var(--carte); border: 1px solid var(--filet); border-radius: 16px; padding: 0 22px; margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary {
  position: relative; cursor: pointer; list-style: none; padding: 19px 36px 19px 0;
  font: 700 16px/1.4 var(--police); font-stretch: 106%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font: 500 26px/1 var(--police); color: var(--accent2); }
.anim .faq summary::after { transition: rotate .25s cubic-bezier(.2, 1.6, .4, 1); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 20px; color: var(--texte2); }

/* ── Appel final ── */
main > section.fin { padding-top: 20px; }
.final { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: end; padding: 30px 52px 8px; border-radius: 30px; border: 1px solid var(--filet2); background: radial-gradient(75% 90% at 72% 108%, rgba(108, 143, 255, .34), transparent 68%), #090B11; }
.final > .ecrou-geant { position: absolute; width: 520px; right: -60px; top: -40px; }
.final-texte { position: relative; z-index: 2; align-self: center; padding: 26px 0 56px; }
.final h2 { margin: 0 0 14px; font-weight: 850; font-size: clamp(28px, 3.5vw, 43px); line-height: 1.14; letter-spacing: -.025em; text-wrap: balance; }
.final-texte p { color: var(--texte2); margin: 0 0 28px; max-width: 500px; }
.final-opti { position: relative; z-index: 2; }
.final-opti .zone-bulle { height: 96px; display: flex; align-items: flex-end; justify-content: center; }
.final-dessin svg { display: block; width: 100%; max-width: 360px; height: auto; margin-inline: auto; }
.final > .piste { position: absolute; left: 0; right: 0; bottom: 0; }

/* ── Le petit copain, en bas à droite ── */
.copain { position: fixed; right: 14px; bottom: 0; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; transform: translateY(115%); visibility: hidden; }
.anim .copain { transition: transform .55s cubic-bezier(.3, 1.35, .5, 1), visibility 0s .55s; }
.copain.la { transform: none; visibility: visible; }
.anim .copain.la { transition: transform .55s cubic-bezier(.3, 1.35, .5, 1); }
.copain-bulle { margin: 0 54px -4px 0; }
.copain-bulle .bulle { max-width: 280px; font-size: 14.5px; }
.copain-bulle .bulle::after { left: auto; right: 30px; }
.copain-corps { width: 138px; height: 124px; pointer-events: auto; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5)); }
.copain-corps svg { display: block; width: 100%; height: 100%; overflow: visible; }
.copain-fermer { position: absolute; right: -4px; bottom: 112px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--filet2); background: #1B2029; color: var(--texte2); font-size: 16px; line-height: 1; cursor: pointer; pointer-events: auto; opacity: .75; }
.copain-fermer:hover { opacity: 1; color: var(--texte); }

/* ── Lʼarrivée dʼOpti, au milieu de lʼécran ── */
.arrivee { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; }
.arrivee-fond { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(70% 58% at 50% 108%, rgba(108, 143, 255, .46), transparent 70%), #090B11; }
.anim .arrivee-fond { animation: apparait .4s ease both; }
@keyframes apparait { from { opacity: 0; } }
.arrivee-fond .ecrou-geant { position: absolute; width: min(120vmin, 880px); left: 50%; top: 52%; translate: -50% -50%; }
.anim .arrivee-fond .ecrou-geant svg { animation: tourne 60s linear infinite; }
.arrivee-scene { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: min(620px, 100% - 24px); }
.arrivee-bulle { min-height: 168px; display: flex; align-items: flex-end; justify-content: center; }
.arrivee-bulle .bulle { max-width: min(440px, 100%); padding: 16px 24px 18px; font-size: clamp(17px, 2.4vw, 21px); text-align: center; }
.arrivee-bulle .bulle-actions { justify-content: center; margin-top: 14px; }
.arrivee-bulle .bulle-bouton { height: 42px; padding: 0 20px; font-size: 14.5px; }
.arrivee-opti { width: min(430px, 82vw, 58vh); }
.arrivee-opti svg { display: block; width: 100%; height: auto; overflow: visible; }
.arrivee-bas { position: absolute; z-index: 2; bottom: max(18px, env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.arrivee-bas button { height: 38px; padding: 0 18px; border-radius: 8px; border: 1px solid #333B4C; background: rgba(27, 32, 41, .8); color: var(--texte2); font: 600 13.5px var(--police); cursor: pointer; }
.arrivee-bas button:hover { color: var(--texte); }
.arrivee-bas .arrivee-mouvement { border: 1.5px dashed var(--accent); color: #fff; }
.anim .secousse .arrivee-scene { animation: secousse .38s ease; }
@keyframes secousse { 25% { transform: translateY(7px); } 55% { transform: translateY(-4px); } 78% { transform: translateY(2px); } }
.arrivee.part { pointer-events: none; }
.arrivee.part .arrivee-fond, .arrivee.part .arrivee-bas, .arrivee.part .arrivee-bulle { animation: disparait .55s .15s ease forwards; }
@keyframes disparait { to { opacity: 0; } }

/* ── Pied de page ── */
footer { border-top: 1px solid var(--filet); padding: 34px 0 52px; color: var(--texte3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { color: var(--texte2); }
.reglages-opti { width: 100%; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--filet); }
.reglages-opti button { height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--filet2); background: transparent; color: var(--texte2); font: 500 13px var(--police); cursor: pointer; }
.reglages-opti button:hover { color: var(--texte); border-color: var(--accent); }

/* ── Page Téléchargement ── */
.dl { position: relative; overflow: hidden; min-height: calc(100vh - 68px - 118px); display: grid; place-items: center; padding: 56px 16px; }
.dl > .ecrou-geant { position: absolute; width: 780px; left: calc(50% - 760px); top: -80px; }
.dl-carte { position: relative; z-index: 2; width: min(980px, 100%); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--filet2); background: rgba(18, 22, 31, .94); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.dl-opti { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 14px 20px; background: radial-gradient(90% 70% at 50% 104%, rgba(108, 143, 255, .34), transparent 72%), radial-gradient(circle at 1px 1px, rgba(143, 176, 255, .13) 1px, transparent 1.5px) 0 0 / 8px 8px, #090B11; }
.dl-opti .zone-bulle { min-height: 138px; display: flex; align-items: flex-end; justify-content: center; padding: 0 8px; }
.dl-dessin svg { display: block; width: 100%; max-width: 360px; height: auto; margin-inline: auto; }
.dl-contenu { padding: 42px 40px 46px; }
.dl-contenu h1 { margin: 0 0 12px; font-weight: 850; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.dl-contenu > p { color: var(--texte2); margin: 0 0 22px; }
.dl-contenu .btn { width: 100%; }
.dl-contenu .btn + .btn { margin-top: 10px; }
.dl-contenu .muted { color: var(--texte3); font-size: 13.5px; margin: 20px 0 0; }
.status { display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px 15px; margin: 0 0 18px; font-size: 14.5px; background: rgba(108, 143, 255, .09); border: 1px solid rgba(108, 143, 255, .3); color: var(--texte); }
.status.bad { background: rgba(255, 92, 108, .09); border-color: rgba(255, 92, 108, .34); }
.status.ok { background: rgba(61, 220, 151, .09); border-color: rgba(61, 220, 151, .34); }
.status b { flex: none; }
.dl-steps { color: var(--texte2); font-size: 14.5px; margin: 22px 0 0; padding-left: 20px; }
.dl-steps li { margin-top: 6px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .28); border-top-color: #fff; }
.anim .spinner { animation: tourne .8s linear infinite; }
.dl-carte > .piste { position: absolute; left: 0; right: 0; bottom: 0; }
.dl-carte[data-etat="attente"] > .piste::before { animation-duration: 1.1s; }
.dl-carte[data-etat="ok"] > .piste::before, .dl-carte[data-etat="alerte"] > .piste::before, .dl-carte[data-etat="erreur"] > .piste::before { -webkit-mask: none; mask: none; animation: none; }
.dl-carte[data-etat="ok"] > .piste::before { background: repeating-linear-gradient(90deg, var(--ok) 0 8px, transparent 8px 10px); }
.dl-carte[data-etat="alerte"] > .piste::before { background: repeating-linear-gradient(90deg, var(--alerte) 0 8px, transparent 8px 10px); }
.dl-carte[data-etat="erreur"] > .piste::before { background: repeating-linear-gradient(90deg, var(--erreur) 0 8px, transparent 8px 10px); }

/* ── Écrans plus petits ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  main > section:not(.hero) { padding: 76px 0; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust .wrap > div:nth-child(3) { border-left: 0; }
  .trust .wrap > div:nth-child(n+3) { border-top: 1px solid var(--filet); }
  .row, .row.rev, .honest { grid-template-columns: minmax(0, 1fr); }
  .sec-head, .faq-grille { grid-template-columns: minmax(0, 1fr); }
  .faq-grille { gap: 28px; }
  .faq-grille .sec-head { position: static; }
  .comptoir { grid-template-columns: minmax(0, 1fr); }
  .comptoir-opti { position: static; width: min(260px, 100%); margin: 0 auto; }
  .comptoir-opti .zone-bulle { min-height: 112px; }
  .recharge { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .recharge .recharge-prix { text-align: center; }
  .row { gap: 30px; }
  .row.rev .row-text { order: 0; }
  .etapes { grid-template-columns: 1fr; gap: 36px; }
  .etapes::before, .etapes::after { display: none; }
  .final { grid-template-columns: minmax(0, 1fr); padding: 14px 26px 8px; }
  .final-opti { order: -1; }
  .final-texte { padding: 0 0 52px; text-align: center; }
  .final-texte .hero-cta { justify-content: center; }
  .final-texte p { margin-inline: auto; }
  .final-dessin svg { max-width: 260px; }
  .dl-carte { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .dl-dessin svg { max-width: 230px; }
  .dl-contenu { padding: 28px 24px 40px; }
}
@media (max-width: 900px) {
  /* Lʼatelier reste en haut pendant que les cartes défilent dessous */
  .atelier { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .poste-colonne { order: -1; position: sticky; top: 68px; z-index: 5; padding: 8px 0; background: var(--nuit); }
  .poste { position: relative; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); grid-template-rows: minmax(0, 1fr) auto auto; height: 232px; min-height: 0; border-radius: 20px; }
  .poste .zone-bulle { grid-column: 1; grid-row: 1; height: auto; align-items: center; padding: 8px 4px 0 12px; }
  .poste .zone-bulle .bulle { font-size: 13.5px; }
  .poste .zone-bulle .bulle::after { left: auto; right: -8px; bottom: calc(50% - 8px); border-width: 1px 1px 0 0; }
  .poste-opti { grid-column: 2; grid-row: 1; height: 100%; }
  .poste .poste-nom { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin: 2px 0 8px; font-size: 12.5px; }
  .poste .piste { grid-column: 1 / -1; grid-row: 3; }
  .poste .ecrou-geant { width: 230px; left: auto; right: -20px; top: -6px; }
  .carte-fn { min-height: 0; }
  .anim .carte-fn.active { transform: none; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav .wrap { gap: 12px; }
  .nav-cta .btn:not(.btn-accent) { display: none; }
  .hero { padding-top: 22px; }
  .hero .sur-titre { font-size: 14px; }
  .hero h1 { margin: 10px 0 10px; font-size: 31px; font-stretch: 112%; }
  h1, h2, h3 { font-stretch: 112%; }
  .hero .lead { font-size: 15.5px; line-height: 1.55; margin-bottom: 18px; }
  .hero .hero-cta { gap: 8px; }
  .hero .hero-cta .btn { height: 44px; padding: 0 14px; font-size: 14px; }
  .hero .hero-bas { margin-top: 10px; }
  .hero .hero-note { font-size: 12.5px; }
  .scene-hero { width: calc(100% - 8px); margin-top: 98px; }
  .zone-bulle[data-bulle="hero"] { left: 8px; right: 8px; top: auto; bottom: calc(100% + 2px); }
  .zone-bulle[data-bulle="hero"] .bulle { max-width: 100%; width: fit-content; }
  .zone-bulle[data-bulle="hero"] .bulle::after { left: 34px; top: auto; bottom: -8px; border-width: 0 1px 1px 0; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust .wrap > div + div { border-left: 0; border-top: 1px solid var(--filet); }
  .carte-fn { flex-direction: column; gap: 12px; padding: 20px; }
  .tickets { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 0 8px 6px; }
  .annonce-vente { margin-top: -26px; }
  .card { padding: 22px; }
  .mesure-cases { gap: 1px; }
  footer nav { margin-left: 0; }
  .copain { right: 6px; }
  .copain-corps { width: 92px; height: 83px; }
  .copain-bulle { margin-right: 34px; }
  .copain-bulle .bulle { max-width: min(250px, 100vw - 80px); font-size: 13.5px; }
  .copain-bulle .bulle::after { right: 22px; }
  .copain-fermer { bottom: 74px; width: 24px; height: 24px; }
  .arrivee-bulle { min-height: 184px; }
}
