/* Photo du car Premium Kofiam Plus (essai du 30/11/2026).
   Utilisée : accueil (bandeau « De Tana à Tuléar » et carte Premium), écran de connexion des espaces pro.
   Pour revenir en arrière : retirer la ligne qui charge ce fichier dans index.html et dans admin/, gare/, guichet/, membre/index.html. */

/* ---------- Accueil : la photo derrière le titre de la ligne, fondue dans le noir ---------- */
.public .journey {
  background:
    linear-gradient(90deg, #000 0%, #000 36%, rgba(0, 0, 0, .86) 50%, rgba(0, 0, 0, .3) 76%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 42%, #000 78%),
    url("../img/bus-premium-1600.webp") right top / min(1180px, 78%) auto no-repeat,
    #000;
}
.public .journey-head { min-height: clamp(300px, 34vw, 440px); }
.public .journey-facts { text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
.public .journey-facts div { background: rgba(0, 0, 0, .55); padding: 8px 14px; border-radius: 0 10px 10px 0; backdrop-filter: blur(2px); }
@media (max-width: 760px) {
  .public .journey {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .35) 34vw, #000 56vw),
      url("../img/bus-premium-960.webp") center top / 100% auto no-repeat,
      #000;
    padding-top: 42vw;
  }
  .public .journey-head { min-height: 0; }
}

/* ---------- Accueil : photo en tête de la carte Premium ---------- */
.public .offer:not(.vip)::before {
  content: ""; display: block; margin: -28px -28px 0; aspect-ratio: 16 / 7; border-radius: 13px 13px 0 0;
  background: url("../img/bus-premium-960.webp") 30% 62% / cover no-repeat;
}
@media (max-width: 600px) { .public .offer:not(.vip)::before { margin: -20px -20px 0; } }

/* ---------- Espaces pro : écran de connexion sur la photo, assombrie ---------- */
:root[data-theme="light"] .pro .login-screen,
:root:not([data-theme="light"]) .pro .login-screen {
  background:
    linear-gradient(180deg, rgba(10, 10, 11, .66) 0%, rgba(10, 10, 11, .86) 100%),
    url("../img/bus-premium-1600.webp") center 58% / cover no-repeat,
    #0a0a0b;
}
