/* La vitrine de jfb technologies : une scène plein écran, sombre par choix.
   Portée de la maquette docs/maquettes/site-jfb-v18.html (sans la main en particules), consolidée : une seule règle
   finale par sélecteur, groupée par écran. Le comportement (classes joue, fin, ouvert,
   veille…) est posé par le contrôleur Stimulus « vitrine ». */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/brand/SpaceGrotesk-Variable-341a648a.woff2") format("woff2");
}

@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/brand/Satoshi-Variable-0513381f.woff2") format("woff2");
}

/* ===== Base ===== */
:root {
  --noir: #050506; --blanc: #F4F6F8; --doux: #9AA3AD;
  --titre: "Space Grotesk", system-ui, sans-serif; --texte: "Satoshi", system-ui, sans-serif;
  --mono: ui-monospace, monospace;
  color-scheme: dark;
}
html, body { height: 100%; }
body { margin: 0; background: var(--noir); color: var(--blanc); font: 15px/1.5 var(--texte); overflow: hidden; }

.experience { position: fixed; inset: 0; overflow: hidden; background: var(--noir); -webkit-user-select: none; user-select: none; }
/* Un doigt pilote le voyage (le navigateur ne fait pas défiler) ; deux doigts agrandissent la page. */
html, body, .experience, .experience * { touch-action: pinch-zoom; }
canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pinch-zoom; cursor: grab; }
canvas:active { cursor: grabbing; }
canvas[hidden] { display: none; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 44%, transparent 40%, rgba(0, 0, 0, 0.72) 100%); }
.grain { position: absolute; inset: -40%; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay; animation: grain 2.4s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); } 60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, -2%); } 100% { transform: translate(0, 0); } }

/* Pour les lecteurs d'écran et les robots : présent dans l'arbre d'accessibilité, caché à l'œil. */
.pour-lecteurs { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Apparition d'un élément (écrans, légendes, logo de coin). */
.pop { opacity: 0; transform: translateY(10px); }
.joue .pop { animation: pop .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ===== Générique : la signature officielle, puis « présente » ===== */
.generique { position: absolute; top: 50%; left: 0; right: 0; z-index: 3; margin: 0; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center;
  padding-left: .42em; text-align: center; font: 400 12px var(--texte); letter-spacing: .42em; color: var(--doux); opacity: 0; transition: opacity 1.4s ease; }
.generique.visible { opacity: 1; }
.generique p { margin: 0; }
.generique .signature { width: clamp(250px, 44vw, 460px); height: auto; filter: drop-shadow(0 0 26px rgba(201, 174, 255, .22)); }
.generique .presente { margin-top: 30px; font-size: 11px; letter-spacing: .42em; color: var(--doux); opacity: 0; transition: opacity 1.6s ease 1.4s; }
.generique.visible .presente { opacity: 1; }

/* ===== Récit : la phrase qui s'écrit lettre à lettre ===== */
.recit { position: absolute; left: 0; right: 0; top: 50%; z-index: 3; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); text-align: center; pointer-events: none; }
.ligne { margin: 0; min-height: 1.2em; max-width: 18em; padding: .5em 1em; font: 500 clamp(1.7rem, 4.8vw, 3.6rem)/1.12 var(--titre); letter-spacing: -.02em; text-wrap: balance;
  background: radial-gradient(closest-side, rgba(5, 5, 6, .82), rgba(5, 5, 6, .5) 60%, rgba(5, 5, 6, 0)); text-shadow: 0 2px 30px #000; }
/* Vide, le voile assombrirait le milieu du logo au générique. */
.ligne:empty { background: none; padding: 0; }
.mot { display: inline-block; white-space: nowrap; }
.lettre { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(0.4em) scale(1.04); animation: apparait 2.4s cubic-bezier(.22, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes apparait { to { opacity: 1; filter: blur(0); transform: none; } }
.ligne.sortie { animation: disparait 1.8s ease forwards; }
@keyframes disparait { to { opacity: 0; filter: blur(10px); transform: translateY(-0.2em); } }

.indice { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(3vh + env(safe-area-inset-bottom, 0px)); margin: 0; padding-left: .42em; text-align: center;
  font: 400 11px var(--texte); letter-spacing: .42em; text-transform: uppercase; color: var(--doux); opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.indice.visible { opacity: .95; }

/* ===== Boutons en verre : liens des écrans, rendez-vous, commandes ===== */
.e-bouton, .f-rdv, .commandes button {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 22px; border-radius: 4px;
  color: #fff; text-decoration: none; font: 600 15px/1 var(--titre); letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(18px) saturate(190%) brightness(1.15); -webkit-backdrop-filter: blur(18px) saturate(190%) brightness(1.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(255, 255, 255, .08), inset 0 0 14px rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s, border-color .35s, box-shadow .35s, opacity .8s; }
.e-bouton::before, .f-rdv::before, .commandes button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 22% -10%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%), radial-gradient(90% 80% at 85% 120%, rgba(201, 174, 255, .3), rgba(201, 174, 255, 0) 60%); }
.e-bouton:hover, .e-bouton:focus-visible, .f-rdv:hover, .f-rdv:focus-visible, .commandes button:hover, .commandes button:focus-visible {
  transform: translateY(-1px) scale(1.03); background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .09)); border-color: rgba(255, 255, 255, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 18px rgba(255, 255, 255, .1), 0 12px 40px rgba(0, 0, 0, .45), 0 0 34px rgba(201, 174, 255, .35); outline: none; }
.f-rdv i { font-style: normal; opacity: .8; }

/* Commandes : des ronds de verre à icône, en bas à droite ; elles s'effacent au repos, mais restent atteignables au
   clavier (le focus les fait réapparaître). Leur bulle (data-bulle, tenue à jour par le contrôleur : « Activer le son »,
   « Couper le son »…) s'affiche au survol et au clavier ; le nom (aria-label) reste stable. La bulle déborde, d'où
   overflow: visible (le reflet reste rond : son ::before suit le rayon du bouton). */
.commandes { position: absolute; z-index: 4; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); display: flex; gap: 10px; transition: opacity .6s ease; }
.commandes button { box-sizing: border-box; width: 46px; height: 46px; padding: 0; border-radius: 50%; justify-content: center; overflow: visible; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.commandes button[hidden] { display: none; }   /* sans Web Audio ou sans plein écran, le contrôleur masque le bouton */
.commandes button[aria-pressed="false"] .oui, .commandes button[aria-pressed="true"] .non { display: none; }
.commandes button::after { content: attr(data-bulle); position: absolute; right: 0; bottom: calc(100% + 10px); padding: 7px 11px; border-radius: 4px; white-space: nowrap; pointer-events: none;
  font: 500 12px/1 var(--titre); color: #fff; background: rgba(10, 10, 12, .86); border: 1px solid rgba(255, 255, 255, .16); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.commandes button:hover::after, .commandes button:focus-visible::after { opacity: 1; transform: none; }
.repos .commandes { opacity: 0; pointer-events: none; }
.repos .commandes:focus-within { opacity: 1; pointer-events: auto; }
.repos, .repos * { cursor: none !important; }

/* Rendez-vous : un cercle posé au bas de l'écran, il n'apparaît qu'à l'arrivée. Son libellé tourne en anneau
   (plus vite au survol et au clavier) autour d'un calendrier. Invisible, il ne reçoit pas le focus (visibility). */
.rdv-coin { position: absolute; z-index: 5; left: 50%; bottom: calc(6vh + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); box-sizing: border-box; width: 148px; height: 148px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s, border-color .35s, box-shadow .35s, opacity .8s, visibility 0s linear .8s; }
.rdv-coin:hover, .rdv-coin:focus-visible { transform: translateX(-50%) translateY(-1px) scale(1.03); }
.rdv-coin > * { grid-area: 1 / 1; }
.rdv-coin .anneau { width: 100%; height: 100%; animation: tourne-rdv 26s linear infinite; }
.rdv-coin .anneau text { fill: #fff; font: 500 15.5px var(--titre); letter-spacing: .12em; }
.rdv-coin .centre { width: 34px; height: 34px; stroke-width: 1.3; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.rdv-coin:hover .anneau, .rdv-coin:focus-visible .anneau { animation-duration: 9s; }
.rdv-coin:hover .centre, .rdv-coin:focus-visible .centre { transform: scale(1.14); }
@keyframes tourne-rdv { to { transform: rotate(360deg); } }
/* Le délai ne vaut que pour l'opacité et la visibilité (les deux dernières transitions), pas pour le survol. */
.ouvert .rdv-coin { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s, 0s, 0s, 0s, 3.4s, 3.4s; }

/* Monogramme de coin. */
.marque { position: absolute; z-index: 4; top: calc(22px + env(safe-area-inset-top, 0px)); left: max(20px, env(safe-area-inset-left, 0px)); width: 42px; height: auto; margin: 0;
  opacity: 0; animation: pop 1.6s ease 9.5s forwards; transition: opacity .6s ease; }

/* ===== Les écrans : le vol s'arrête devant une création, puis repart ===== */
.escale { position: absolute; z-index: 2; inset: 0; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2vh, 20px);
  padding: 76px 5vw 70px; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; will-change: transform, opacity; }
.escale.joue a { pointer-events: auto; cursor: pointer; }
.carte::before { content: ""; position: absolute; inset: 6% 4%; z-index: -1; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(5, 5, 6, .9) 0%, rgba(5, 5, 6, .66) 50%, rgba(5, 5, 6, 0) 100%); }
.avec-video::before { background: radial-gradient(ellipse 46% 46% at 50% 52%, rgba(5, 5, 6, .78) 0%, rgba(5, 5, 6, .45) 55%, rgba(5, 5, 6, 0) 100%); }
.k-sur { margin: 0; padding-left: .32em; font: 500 clamp(.72rem, 1.3vw, .9rem)/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: #C9AEFF; }
.k-titre { margin: 0; font: 600 clamp(2.5rem, 8.4vw, 6.4rem)/.98 var(--titre); letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.k-ligne { margin: 0; max-width: 24em; font: 400 clamp(1.05rem, 2.3vw, 1.7rem)/1.3 var(--titre); color: #E6E9EE; text-wrap: balance; }
.k-logo { width: clamp(96px, 15vw, 180px); height: auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .7)); }
.fond-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .62;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 25%, transparent 78%); }
.l-phrase { margin: 0; min-height: 1.3em; font: 600 clamp(1.3rem, 3.2vw, 2.4rem)/1.15 var(--titre); letter-spacing: -.01em; transition: opacity .5s; }

/* Les boutons des écrans 2 et 4 n'arrivent qu'à la fin de la démonstration ; avant, ils ne reçoivent pas le focus. */
.demo .e-bouton, .tel .e-bouton { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .8s, transform .8s, border-color .4s, box-shadow .4s, visibility 0s linear .8s; }
.demo.joue:not(.fin) .e-bouton, .tel.joue:not(.fin) .e-bouton { pointer-events: none; }
.demo.fin .e-bouton, .tel.fin .e-bouton { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Écran 2 : la démonstration, sur un plateau fixe (1600 × 800) qu'une caméra parcourt. */
.escale.demo { display: block; padding: 0; }
.scene { position: absolute; inset: 0; perspective: 1500px; }
.pivot { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.6s cubic-bezier(.65, 0, .2, 1); }
.plateau { position: absolute; left: 0; top: 0; width: 1600px; height: 800px; transform-origin: 0 0; transition: transform var(--ms, 1500ms) cubic-bezier(.65, 0, .2, 1); will-change: transform; }
.navigateur { position: absolute; left: 520px; top: 60px; width: 1080px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; overflow: hidden; background: #121212;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 40px 110px rgba(0, 0, 0, .78), 0 0 90px rgba(201, 174, 255, .14); }
.n-barre { display: flex; align-items: center; gap: 7px; box-sizing: border-box; height: 34px; padding: 9px 14px; background: linear-gradient(180deg, rgba(48, 50, 58, .9), rgba(27, 27, 30, .95)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.n-barre i { width: 9px; height: 9px; border-radius: 50%; background: #474747; }
.n-barre span { margin: 0 auto; padding: 3px 22px; border-radius: 6px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); font: 400 11px var(--mono); letter-spacing: .06em; color: #B5B5B5; }
.navigateur video { display: block; width: 100%; aspect-ratio: 1280 / 800; background: #121212; }
.halo { position: absolute; border: 2px solid #C9AEFF; border-radius: 8px; box-shadow: 0 0 34px rgba(201, 174, 255, .7), inset 0 0 22px rgba(201, 174, 255, .25); opacity: 0; transition: opacity .6s; pointer-events: none; }
.halo.la { opacity: 1; animation: halo 1.4s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 0 60px rgba(201, 174, 255, .95), inset 0 0 30px rgba(201, 174, 255, .4); } }
.clavardage { position: absolute; left: 0; top: 40px; width: 470px; height: 720px; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(34, 36, 44, .62), rgba(16, 17, 22, .72)); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 30px rgba(255, 255, 255, .03), 0 40px 110px rgba(0, 0, 0, .75), 0 0 80px rgba(201, 174, 255, .12); font: 17px/1.45 var(--texte); text-align: left; }
.c-entete { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)); font: 500 15px var(--titre); }
.c-entete i { width: 9px; height: 9px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 12px #3DD68C; }
.c-entete small { margin-left: auto; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .04); font: 400 11px var(--mono); letter-spacing: .08em; color: #9AA3AD; }
.c-fil { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 20px; overflow: hidden; }
.c-fil > * { animation: pop .5s cubic-bezier(.2, .7, .2, 1) both; }
.c-moi { align-self: flex-end; max-width: 86%; margin: 0; padding: 12px 16px; border-radius: 16px 16px 4px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .1)); border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.c-lui { align-self: flex-start; max-width: 90%; margin: 0; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.c-outil { align-self: flex-start; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 14px; border: 1px solid rgba(201, 174, 255, .5); border-radius: 6px; background: rgba(201, 174, 255, .09); box-shadow: 0 0 22px rgba(201, 174, 255, .12);
  font: 400 13px var(--mono); color: #C9AEFF; }
.c-outil b { font-weight: 500; color: #9AA3AD; letter-spacing: .1em; }
.c-outil em { font-style: normal; color: #D5DAE0; }
.c-outil::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(201, 174, 255, .3); border-top-color: #C9AEFF; animation: tourne .7s linear infinite; }
.c-outil.fait::before { content: "✓"; border: 0; animation: none; width: auto; height: auto; font-size: 13px; line-height: 1; }
.c-saisie { margin: 0 20px 20px; padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .03); color: #6b7480; font-size: 15px; }
.unepage { position: absolute; left: 1196px; top: 120px; width: 380px; border-radius: 3px; background: #fff; box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 40px 100px rgba(0, 0, 0, .85), 0 0 70px rgba(255, 255, 255, .14);
  transform: translateY(130%) rotate(9deg); opacity: 0; transition: transform 1.3s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.unepage.la { transform: rotate(-2.5deg); opacity: 1; }
/* La légende repose sur un bandeau sombre : lisible même quand la caméra remplit l'écran. */
.legende { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 70px 16px calc(7vh + env(safe-area-inset-bottom, 0px));
  text-align: center; text-shadow: 0 2px 20px #000, 0 0 40px #000; background: linear-gradient(rgba(5, 5, 6, 0), rgba(5, 5, 6, .9) 42%, rgba(5, 5, 6, .96)); }
.demo .l-phrase { padding: .25em 1.2em; }

/* Écran 4 : le pool des Bâtards, dans un téléphone qui joue un vrai clip de l'app. */
.telephone { position: relative; height: min(62vh, 620px); aspect-ratio: 780 / 1688; padding: 10px; border-radius: 44px; border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(145deg, #3a3d45 0%, #0c0d10 38%, #15161a 62%, #2c2f36 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .07), inset 0 2px 3px rgba(255, 255, 255, .25), 0 50px 120px rgba(0, 0, 0, .85), 0 0 110px rgba(201, 174, 255, .2); }
.t-ecran { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #0A1628; }
/* L'îlot, puis le reflet de la vitre. */
.t-ecran::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 9px; width: 27%; height: 2.9%; min-height: 12px; transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); }
.t-ecran::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .03) 22%, rgba(255, 255, 255, 0) 40%); mix-blend-mode: screen; }
.t-ecran video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tel .l-phrase { text-shadow: 0 2px 24px #000, 0 0 40px #000; }

/* Écran 5 : la question et le geste. */
.k-geant { margin: 0; font: 600 clamp(2.5rem, 8.6vw, 6.6rem)/.98 var(--titre); letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.appel { gap: clamp(22px, 5vh, 48px); }

/* ===== Écran de veille : l'univers et le logo qui brille, rien d'autre ===== */
.veille .recit, .veille .marque, .veille .escale, .veille .indice, .veille .generique, .veille .rdv-coin, .veille .commandes > :not([data-vitrine-target="quitter"]) { display: none !important; }
.commandes [data-vitrine-target="quitter"] { display: none; }
.veille.bouge .commandes [data-vitrine-target="quitter"] { display: inline-flex; }
.veille:not(.bouge), .veille:not(.bouge) canvas { cursor: none; }

/* ===== Repli sans WebGL ou sans script : la signature, la question, les trois portes ===== */
/* C'est l'état par défaut du document : tant que la scène n'est pas prête (classe « prete », posée par le JavaScript),
   rien de l'expérience n'est affiché ni atteignable au clavier. Le repli arrive en fondu, après un court délai :
   quand le script se charge, l'expérience le remplace avant qu'il se montre. */
.experience:not(.prete) > :not(.repli, .pour-lecteurs) { display: none; }
.experience:not(.prete) .repli { animation: arrivee-repli .6s ease .8s both; }
@keyframes arrivee-repli { from { opacity: 0; } }
.repli { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; background: var(--noir); }
.repli[hidden] { display: none; }
.repli .signature { width: clamp(220px, 60vw, 380px); height: auto; }
.repli-question { margin: 0; font: 600 clamp(1.6rem, 5vw, 2.6rem)/1.1 var(--titre); letter-spacing: -.02em; color: #fff; }
.repli-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

/* ===== Page introuvable : la signature, une phrase, le retour à l'accueil ===== */
.introuvable { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 24px; text-align: center; }
.introuvable .signature { width: clamp(220px, 60vw, 380px); height: auto; }
.introuvable h1 { margin: 0; font: 600 clamp(1.6rem, 5vw, 2.6rem)/1.1 var(--titre); letter-spacing: -.02em; color: #fff; }

/* ===== Petits écrans ===== */
@media (max-width: 860px) {
  .escale { padding: 64px 16px; }
  .carte::before { inset: 4% 0; }
  .demo .legende { gap: 8px; }
  .tel .telephone { height: min(56vh, 500px); padding: 8px; border-radius: 34px; }
  .t-ecran { border-radius: 27px; }
}
@media (max-width: 520px) {
  .commandes button { width: 42px; height: 42px; }
  .rdv-coin { width: 128px; height: 128px; }
  .ouvert .marque { opacity: 1; }
}
