/* =============================================================================
   LE BANDEAU « OUVRIR » DU SITE (lot 6 des annonces de l'app, Xavier 29/10/2026 :
   « bandeau A », maquette 1) — app/modules/app-bandeau/module.php.
   Sur téléphone seulement, au-dessus de l'en-tête vert, dans la page : il part
   avec elle quand on descend (l'en-tête vert, collant, reste en haut).
   Caché par défaut : le script du <head> pose « app-bandeau-oui » sur <html>
   avant la première peinture, donc la page ne saute jamais.
   Tailles : 14 et 12,5 px, jamais plus que le menu (15 px) ; arrondi 6 px ;
   le vert de la bande du haut (#1b764f, hippique.header.css --th-top-bg).
   ============================================================================= */
.app-bandeau {
  display: none;
}
html.app-bandeau-oui .app-bandeau {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 63px;
  padding: 9px 12px 9px 6px;
  background: #fff;
  border-bottom: 1px solid #e3e6ea;
  font-family: inherit;
  color: #111827;
}
/* Jamais sur un grand écran (le site passe en ordinateur à 900 px), même si le
   script l'a permis (un téléphone tourné, une fenêtre agrandie) */
@media (min-width: 900px) {
  html.app-bandeau-oui .app-bandeau {
    display: none;
  }
}
.app-bandeau-fermer {
  flex: 0 0 32px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: #6b7280;
  cursor: pointer;
}
.app-bandeau-icone {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.app-bandeau-textes {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-bandeau-textes strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.app-bandeau-textes span {
  font-size: 12.5px;
  line-height: 1.3;
  color: #4b5563;
}
.app-bandeau-ouvrir {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  background: #1b764f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.app-bandeau-ouvrir:hover,
.app-bandeau-ouvrir:focus-visible {
  background: #14573a;
  color: #fff;
}
