/* ☣ Le bouton du launcher — la meme plaque d'alerte que le bouton ENTRER du launcher :
   tole rouge, ruban de chantier, gyrophare au survol, sang qui coule.
   ⚠ Nouveau nom de fichier a chaque retouche (cache nginx de 30 jours). */
.bouton-launcher {
  position: relative; isolation: isolate; overflow: visible;
  display: flex; align-items: center; gap: .9rem;
  min-height: 4.4rem; padding: .7rem 2.8rem .7rem 1rem; margin: .45rem 0 .5rem;
  font-family: var(--pochoir); font-weight: 900; font-size: 1.42rem; line-height: 1; letter-spacing: .03em;
  text-transform: uppercase; text-decoration: none; color: #fff3e6;
  text-shadow: 0 2px 0 #3a0000, 0 0 14px rgba(255, 60, 0, .45);
  /* ⚠️ Le ruban est le fond de la BORDURE (border-box) et la tole celui de l'interieur
     (padding-box) : un ::before en z-index -1 se peindrait PAR-DESSUS le fond de
     l'element dans son propre contexte d'empilement. */
  border: 7px solid transparent;
  background:
    var(--grain) padding-box,
    radial-gradient(60% 120% at 15% 0%, rgba(255, 120, 80, .25), transparent 60%) padding-box,
    linear-gradient(180deg, #b3170f 0%, #8a0b0b 55%, #5e0606 100%) padding-box,
    var(--rayures) border-box;
  box-shadow:
    0 0 0 2px #151511,
    inset 0 0 0 2px #1a0202,
    inset 0 3px 0 rgba(255, 200, 180, .22), inset 0 -5px 0 rgba(0, 0, 0, .35),
    5px 6px 0 rgba(0, 0, 0, .55);
  transition: transform .12s ease, filter .15s ease;
  animation: launcher-appel 2.6s ease-in-out infinite;
}
/* La coulure de sang qui pend sous la plaque. */
.bouton-launcher::after {
  content: ""; position: absolute; left: 18%; top: calc(100% + 4px); width: 3.2rem; height: 3.4rem;
  background: var(--sang-coulure) no-repeat center top / contain; pointer-events: none;
  opacity: .9;
}
.bouton-launcher svg { flex: none; width: 2rem; height: 2rem; stroke: currentColor; fill: none; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 0 #3a0000); }
.bouton-launcher .texte { position: relative; }
.bouton-launcher small { display: block; margin-top: .3rem; font-family: "Public Sans", sans-serif; font-weight: 700;
  font-size: .74rem; line-height: 1.3; letter-spacing: .01em; text-transform: none; text-shadow: none; color: #ffd9cc; opacity: .9; }
/* Le gyrophare : un faisceau qui tourne, visible au survol. */
.bouton-launcher .gyro {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.bouton-launcher .gyro::before {
  content: ""; position: absolute; inset: -150%; opacity: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 110, 40, .55) 25deg, transparent 60deg,
    transparent 180deg, rgba(255, 110, 40, .55) 205deg, transparent 240deg);
  mix-blend-mode: screen; transition: opacity .2s;
}
.bouton-launcher:hover .gyro::before, .bouton-launcher:focus-visible .gyro::before { opacity: 1; animation: launcher-gyro 1s linear infinite; }
.bouton-launcher > svg, .bouton-launcher > .texte, .bouton-launcher > .fleche { position: relative; z-index: 1; }
.bouton-launcher .fleche { position: absolute; right: 1rem; top: 50%; transform: translateY(-52%);
  font-family: "Public Sans", sans-serif; font-size: 2rem; font-weight: 700; opacity: .9; }
/* Le tampon « nouveau », colle de travers. */
.bouton-launcher .tampon {
  position: absolute; right: -.6rem; top: -1.15rem; z-index: 2;
  padding: .18rem .5rem .12rem; font-family: var(--pochoir); font-size: .82rem; font-weight: 800; letter-spacing: .14em;
  color: #17150f; background: var(--rubalise); border: 2px solid #151511; transform: rotate(6deg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .55); text-shadow: none;
}
.bouton-launcher:hover { filter: brightness(1.12) saturate(1.1); color: #fff; }
.bouton-launcher:active { transform: translate(2px, 3px); }
.bouton-launcher:focus-visible { outline: 3px solid var(--rubalise); outline-offset: 10px; }
@keyframes launcher-appel {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 30, 0, 0)); }
  50% { filter: drop-shadow(0 0 14px rgba(255, 30, 0, .55)); }
}
@keyframes launcher-gyro { to { transform: rotate(360deg); } }

/* La capture du launcher, punaisee dans la procedure. */
.capture-launcher { display: block; width: 100%; max-width: 40rem; height: auto; margin: .6rem 0 .2rem;
  border: 3px solid #151511; box-shadow: 4px 5px 0 rgba(0, 0, 0, .45); transform: rotate(-.6deg); }
.etapes-autre { margin-top: 1rem; font-size: .92rem; opacity: .9; }

@media (max-width: 52rem) {
  .bouton-launcher { font-size: 1.25rem; min-height: 3.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bouton-launcher { animation: none; }
  .bouton-launcher:hover .gyro::before { animation: none; }
}
