/*
 * Portail TIR V67DX — Bandeaux supérieurs fixes pendant le défilement.
 * Pages dédiées uniquement. La page badgeage possède déjà son bandeau fixe.
 * position:sticky conserve le bandeau visible sans sortir l'en-tête du flux,
 * afin d'éviter de masquer les formulaires, calendriers et panneaux.
 */
body.pt-public-page > .pt-public-hero,
body.pt-booking-club > header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
}

/* L'ancienne grande zone basse du bandeau servait au chevauchement des cartes.
   On la réduit et on remet les contenus en dessous du bandeau fixe. */
body.pt-public-page > .pt-public-hero {
  padding: 14px 20px !important;
}
body.pt-public-page .pt-public-logo {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-radius: 15px;
}
body.pt-public-page .pt-public-title {
  font-size: clamp(21px, 2.5vw, 28px) !important;
}
body.pt-public-page .pt-public-subtitle {
  margin-top: 4px;
  font-size: 12px;
}
body.pt-public-page main.wrap,
body.pt-public-page .pt-public-wrap {
  margin: 16px auto 0 !important;
}
/* Cette page a des conteneurs séparés pour la connexion et l'application. */
body.pt-page-search #loginView,
body.pt-page-search #appView,
body.pt-public-page.pt-page-search #loginView.pt-auth-card {
  margin: 16px auto 0 !important;
}
/* Tirs contrôlés : son bandeau est indépendant de la feuille commune. */
body.pt-booking-club > header {
  padding: 13px 18px !important;
}
body.pt-booking-club > header img {
  width: 49px;
  height: 49px;
}
body.pt-booking-club > header h1 {
  font-size: clamp(21px, 2.5vw, 28px);
}
body.pt-booking-club > header p {
  margin-top: 4px;
  font-size: 12px;
}

@media (max-width: 760px) {
  body.pt-public-page > .pt-public-hero {
    padding: 10px 12px !important;
  }
  body.pt-public-page .pt-public-hero-inner {gap: 10px; align-items:center}
  body.pt-public-page .pt-public-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    padding: 5px;
    border-radius: 12px;
  }
  body.pt-public-page .pt-public-title {
    font-size: 20px !important;
  }
  body.pt-public-page .pt-public-subtitle {
    font-size: 11px !important;
    line-height: 1.35;
  }
  body.pt-public-page .pt-public-kicker {
    font-size: 10px;
    margin-bottom: 3px;
  }
  body.pt-public-page main.wrap,
  body.pt-public-page .pt-public-wrap,
  body.pt-page-search #loginView,
  body.pt-page-search #appView,
  body.pt-public-page.pt-page-search #loginView.pt-auth-card {
    margin-top: 12px !important;
  }
  body.pt-booking-club > header {
    padding: 10px 12px !important;
  }
  body.pt-booking-club > header .wrap {gap: 10px}
  body.pt-booking-club > header img {height: 42px; width: 42px}
  body.pt-booking-club > header h1 {font-size: 20px}
  body.pt-booking-club > header p {font-size: 11px; line-height: 1.35}
}
