/* La Mallette de la Reine — fenêtre légère affichée après l'entrée sur l'accueil */
.reine-scooter { position: fixed; z-index: 900; top: 92px; left: 0; width: min(31vw, 390px); min-width: 210px; pointer-events: none; opacity: 0; transform: translateX(-135%) translateY(-3px); filter: drop-shadow(0 10px 15px rgba(0, 0, 0, .45)); }
.reine-scooter img { display: block; width: 100%; height: auto; }
.reine-scooter__slogan { width: max-content; max-width: 92vw; margin: 0 auto -4px; padding: 8px 14px; border: 1px solid rgba(235, 200, 112, .66); border-radius: 999px; color: #fff4cf; background: rgba(27, 5, 45, .88); box-shadow: 0 8px 20px rgba(0,0,0,.28); font-family: Georgia, serif; font-size: clamp(.72rem, 1.25vw, .98rem); font-weight: 700; letter-spacing: .015em; text-align: center; white-space: nowrap; }
.reine-scooter__slogan span { color: #f7d77d; }
.reine-scooter.is-running { animation: reine-scooter-passage 13s cubic-bezier(.2, .7, .18, 1) forwards; }
@keyframes reine-scooter-passage { 0% { opacity: 0; transform: translateX(-135%) translateY(-3px); } 7% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(100vw + 135%)) translateY(5px); } }
.mallette-popup[hidden] { display: none; }
.mallette-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 3, 11, .72);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
}
.mallette-popup.is-visible { animation: mallette-fade-in .4s ease forwards; pointer-events: auto; }
.mallette-popup.is-leaving { animation: mallette-fade-out .55s ease forwards; pointer-events: none; }
.mallette-popup__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, .95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  width: min(1080px, 96vw);
  max-height: min(690px, 90vh);
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(248, 217, 139, .45);
  border-radius: 28px;
  background: radial-gradient(circle at 17% 68%, rgba(122, 47, 188, .42), transparent 43%), linear-gradient(135deg, rgba(38, 12, 57, .99), rgba(9, 5, 14, .99));
  box-shadow: 0 30px 100px rgba(0, 0, 0, .6), 0 0 80px rgba(118, 40, 185, .25);
  transform: translateX(112vw) scale(.9);
}
.mallette-popup.is-visible .mallette-popup__card { animation: mallette-arrive 1s cubic-bezier(.18, .9, .26, 1) .08s forwards; }
.mallette-popup.is-leaving .mallette-popup__card { animation: mallette-part .55s ease forwards; }
.mallette-popup__close {
  position: absolute;
  top: 15px;
  right: 16px;
  z-index: 2;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(248, 217, 139, .5);
  border-radius: 50%;
  color: #f8d98b;
  background: rgba(0, 0, 0, .26);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.mallette-popup__close:hover { background: rgba(122, 47, 188, .52); }
.mallette-popup__copy { position: relative; z-index: 1; }
.mallette-popup__tag { margin: 0 0 13px; color: #d9b4ff; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mallette-popup h2 { margin: 0 0 18px; color: #f8d98b; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .98; }
.mallette-popup__copy > p:not(.mallette-popup__tag) { margin: 0; color: #f1eafa; font-size: clamp(.96rem, 1.45vw, 1.12rem); line-height: 1.65; }
.mallette-popup__whatsapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 23px; padding: 13px 18px; border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; background: #25d366; box-shadow: 0 10px 26px rgba(37, 211, 102, .22); }
.mallette-popup__whatsapp:hover { filter: brightness(1.08); transform: translateY(-2px); }
.mallette-popup__steps { display: flex; gap: 14px; margin: 25px 0 0; padding: 0; color: #dcd0e8; font-size: .76rem; list-style: none; }
.mallette-popup__steps li { display: grid; gap: 4px; }
.mallette-popup__steps strong { color: #f8d98b; font-size: 1rem; }
.mallette-popup__image { width: min(100%, 600px); max-height: 60vh; object-fit: contain; justify-self: center; filter: drop-shadow(0 27px 32px rgba(0, 0, 0, .55)); animation: mallette-flotte 3.2s ease-in-out infinite; }
@keyframes mallette-fade-in { to { opacity: 1; } }
@keyframes mallette-fade-out { to { opacity: 0; } }
@keyframes mallette-arrive { to { transform: translateX(0) scale(1); } }
@keyframes mallette-part { to { transform: translateX(-112vw) scale(.92); } }
@keyframes mallette-flotte { 50% { transform: translateY(-10px); } }
@media (max-width: 720px) {
  .reine-scooter { top: 78px; width: min(62vw, 310px); min-width: 170px; }
  .reine-scooter__slogan { padding: 6px 10px; font-size: .66rem; }
  .mallette-popup { align-items: start; overflow-y: auto; padding: 14px; }
  .mallette-popup__card { grid-template-columns: 1fr; max-height: none; min-height: 0; padding: 56px 22px 28px; }
  .mallette-popup__image { order: -1; width: min(100%, 405px); max-height: 36vh; }
  .mallette-popup__steps { gap: 9px; font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reine-scooter { display: none; }
  .mallette-popup, .mallette-popup__card, .mallette-popup__image { animation: none !important; transform: none !important; }
}
