/* ==========================================================
   En-tête et pied de page de la session B (d'abord dessinés pour l'accueil v9 ;
   balisage : includes/site-b.php ; comportements : assets/js/site-b.js).
   Chargé par header.php quand l'en-tête ou le pied de page B est affiché.
   ========================================================== */

.h9-header,
.h9-footer {
  --h9-r: 6px;
  --h9-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  /* Filets du menu mobile : plus clairs que les autres */
  --h9-menu-line: color-mix(in srgb, var(--color-line) 55%, transparent);
}

.h9-footer .h9-wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

/* Flèche fine des liens (comme sur Kalm) */
.h9-arrow {
  width: 2.5rem;
  height: 0.75rem;
  flex: none;
  transition: transform 0.4s var(--ease);
}

a:hover > .h9-arrow,
a:focus-visible > .h9-arrow {
  transform: translateX(0.3rem);
}

/* ==========================================================
   En-tête : langue | 3 rubriques — logo — 3 rubriques | Réserver
   ========================================================== */

.h9-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  transition: box-shadow 0.4s var(--ease), margin-bottom 0.4s var(--ease);
}

/* En-tête réduit : la hauteur perdue (marges du bandeau + logo) est rendue en marge dessous,
   au même rythme, pour que la page ne saute pas quand l'en-tête rétrécit ou s'agrandit */
.h9-header.is-scrolled {
  box-shadow: 0 8px 30px -22px rgba(0, 0, 0, 0.45);
  margin-bottom: calc(2 * (0.85rem - 0.4rem) + var(--logo) - var(--logo-small));
}

/* Filet fin sous le menu, sauf sur les pages d'accueil */
body:not(.page-home) .h9-header {
  border-bottom: 1px solid var(--color-line);
}

.h9-header__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0 1.5rem;
  padding: 0.85rem clamp(1rem, 2.5vw, 2rem);
  transition: padding 0.4s var(--ease);
}

.h9-header.is-scrolled .h9-header__bar {
  padding-block: 0.4rem;
}

.h9-brand {
  grid-column: 2;
  grid-row: 1;
  display: block;
  line-height: 0;
}

.h9-brand img {
  width: auto;
  height: var(--logo);
  transition: height 0.4s var(--ease);
}

.h9-header.is-scrolled .h9-brand img {
  height: var(--logo-small);
}

.h9-lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.72rem;
}

.h9-lang a,
.h9-nav__link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
}

.h9-lang a[aria-current="true"],
.h9-nav__item.is-active > .h9-nav__link,
.h9-nav__link:hover,
.h9-nav__link:focus-visible,
.h9-lang a:hover {
  color: var(--color-accent);
}

/* Langue : l'autre langue en normal, la langue en cours en gras */
.h9-lang a {
  font-weight: 400;
}

.h9-lang a[aria-current="true"] {
  font-weight: 700;
}

/* Fin trait vertical entre la langue et les rubriques, et avant « Réserver » */
.h9-sep {
  flex: none;
  width: 1px;
  height: 1.1rem;
  background: color-mix(in srgb, var(--color-ink) 25%, transparent);
}

.h9-nav {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h9-nav__item {
  position: relative;
}

.h9-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding-block: 0.5rem;
  font-size: 0.75rem; /* même taille qu'en session A */
}

/* Rubrique avec sous-menu : un bouton, présenté comme les liens */
button.h9-nav__link {
  padding-inline: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  line-height: inherit;
  cursor: pointer;
}

.h9-nav__link svg {
  width: 0.7rem;
  height: 0.7rem;
  transition: transform 0.3s var(--ease);
}

.h9-subnav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.h9-subnav a {
  display: block;
  color: var(--color-ink);
  text-decoration: none;
}

.h9-subnav a:hover,
.h9-subnav a:focus-visible,
.h9-subnav a[aria-current="page"] {
  color: var(--color-accent);
}

.h9-subnav__note {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
}

/* Première visite (en dernier sous Cours) : filet au-dessus et flèche ; couleur et graisse comme les autres liens */
.h9-subnav li.h9-subnav__highlight {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--color-line);
}

.h9-subnav li.h9-subnav__highlight > a::after {
  content: " →";
}

/* « Réserver » : pas un bouton, juste du Cormorant italique souligné, un peu plus grand
   (dans le menu mobile : comme les liens à flèche, voir plus bas) */
.h9-book {
  font-family: var(--h9-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.h9-book:hover,
.h9-book:focus-visible {
  color: var(--color-accent);
}

.h9-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--color-ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Trois traits (style.css, .nav-toggle__bars) qui deviennent une croix, comme en session A */
.h9-toggle .nav-toggle__bars {
  margin-block: 6px;
}

.h9-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.h9-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.h9-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Menu sur une ligne (classe .h9-header--compact absente) : seulement si tout tient sur une
   ligne, vérifié par le petit script sous l'en-tête (site-b.php) ; sinon, menu mobile.
   Les rubriques ne sont pas cliquables, leur sous-menu s'ouvre au survol (et au clavier).
   :where() garde la même priorité qu'avant pour ces règles. */
:where(.h9-header:not(.h9-header--compact)) .h9-toggle,
:where(.h9-header:not(.h9-header--compact)) .h9-lang--bar,
:where(.h9-header:not(.h9-header--compact)) .h9-nav__link svg,
:where(.h9-header:not(.h9-header--compact)) .h9-book .h9-arrow {
  display: none;
}

:where(.h9-header:not(.h9-header--compact)) button.h9-nav__link {
  cursor: default;
}

/* Jamais de retour à la ligne : si ça ne tient pas, on passe au menu mobile */
:where(.h9-header:not(.h9-header--compact)) .h9-nav__link,
:where(.h9-header:not(.h9-header--compact)) .h9-book {
  white-space: nowrap;
}

/* Nom raccourci (« Formations profs ») : seulement sur une ligne quand c'est serré
   (classe posée par le script de render_header_b) ; le nom complet reste lu */
.h9-label-short {
  display: none;
}

.h9-header--short:not(.h9-header--compact) .h9-label-short {
  display: inline;
}

.h9-header--short:not(.h9-header--compact) .h9-label-full {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Le menu se répartit de part et d'autre du logo */
:where(.h9-header:not(.h9-header--compact)) .h9-menu {
  display: contents;
}

:where(.h9-header:not(.h9-header--compact)) .h9-side {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.75rem);
}

:where(.h9-header:not(.h9-header--compact)) .h9-side--left {
  grid-column: 1;
}

:where(.h9-header:not(.h9-header--compact)) .h9-side--right {
  grid-column: 3;
  justify-content: flex-end;
}

:where(.h9-header:not(.h9-header--compact)) .h9-nav {
  gap: clamp(1rem, 1.6vw, 1.75rem);
}

:where(.h9-header:not(.h9-header--compact)) .h9-subnav {
  position: absolute;
  top: 100%;
  left: -1.25rem;
  z-index: 5;
  min-width: 15rem;
  padding: 0.75rem 0;
  background: var(--color-bg); /* même fond que l'en-tête */
  border-radius: var(--h9-r);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
}

:where(.h9-header:not(.h9-header--compact)) .h9-side--right .h9-subnav {
  left: auto;
  right: -1.25rem;
}

:where(.h9-header:not(.h9-header--compact)) .h9-nav__item:hover > .h9-subnav,
:where(.h9-header:not(.h9-header--compact)) .h9-nav__item.is-open > .h9-subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}

:where(.h9-header:not(.h9-header--compact)) .h9-subnav a {
  padding: 0.45rem 1.25rem;
  font-size: 0.95rem;
}

/* Menu mobile (classe .h9-header--compact) : langue — logo — Menu. Le menu ouvert descend jusqu'en
   bas de l'écran, comme celui de la session A (assets/css/menu.css) : rubriques empilées depuis le
   haut avec un espacement fixe (le nom touché ne bouge pas quand son sous-menu s'ouvre), plus
   d'espace en haut, nom à gauche et flèche à droite, filets clairs ;
   « Réserver » en dernier, comme les liens à flèche. */
:where(.h9-header--compact) .h9-lang--bar {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

:where(.h9-header--compact) .h9-toggle {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

:where(.h9-header--compact) .h9-menu {
  display: none;
}

.h9-header--compact.is-open .h9-menu {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  width: min(100%, 450px);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 100%);
  height: calc(100dvh - 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Espacements réduits sur les écrans peu hauts : tout le menu tient sans défiler */
  padding: clamp(0.75rem, 3vh, 3rem) clamp(1.75rem, 8vw, 3rem) clamp(1rem, 4vh, 3.5rem);
  background: var(--color-bg);
  border-top: 1px solid var(--color-line);
  animation: fade-down 0.35s var(--ease);
}

/* Écran plus large que le menu : fin filet et ombre sur le côté gauche */
@media (min-width: 450px) {
  .h9-header--compact.is-open .h9-menu {
    border-left: 1px solid var(--color-line);
    box-shadow: -18px 0 40px -30px rgba(0, 0, 0, 0.35);
  }
}

/* « Nous trouver » en bas du menu ouvert (styles communs : menu.css) */
.h9-header--compact.is-open .nav-findus {
  display: block;
  flex: none;
  margin-top: auto;
  padding-top: clamp(0.85rem, 3vh, 1.5rem);
  /* Fin filet entre « Réserver » et l'adresse ; un peu d'air au-dessus */
  border-top: 1px solid var(--color-line);
}

/* Écart minimal entre « Réserver » et ce filet, quand l'écran est juste assez haut */
.h9-header--compact.is-open .h9-side--right .h9-book {
  margin-bottom: clamp(0.85rem, 3vh, 1.5rem);
}

/* Les deux moitiés du menu (de part et d'autre du logo sur grand écran) n'en font qu'une */
:where(.h9-header--compact) .h9-side {
  display: contents;
}

:where(.h9-header--compact) .h9-sep,
:where(.h9-header--compact) .h9-lang--menu {
  display: none;
}

:where(.h9-header--compact) .h9-nav {
  flex: none;
  flex-direction: column;
}

/* Hauteur fixe par rubrique, empilées depuis le haut : ouvrir un sous-menu ne pousse que les
   rubriques en dessous, le nom touché ne bouge pas */
:where(.h9-header--compact) .h9-nav__item {
  flex: none;
  display: flex;
  flex-direction: column;
}

/* Filets clairs entre les rubriques seulement */
:where(.h9-header--compact) .h9-nav__item + .h9-nav__item,
:where(.h9-header--compact) .h9-side--right .h9-nav__item:first-child {
  border-top: 1px solid var(--h9-menu-line);
}

:where(.h9-header--compact) .h9-nav__link {
  justify-content: space-between;
  width: 100%;
  padding: clamp(0.55rem, 1.7vh, 1.15rem) 0 clamp(0.5rem, 1.5vh, 1rem);
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-align: left;
}

:where(.h9-header--compact) .h9-nav__link svg {
  width: 1rem;
  height: 1rem;
}

:where(.h9-header--compact) .h9-nav__item.is-open > .h9-nav__link {
  color: var(--color-accent);
}

:where(.h9-header--compact) .h9-nav__item.is-open > .h9-nav__link svg {
  transform: rotate(180deg);
}

:where(.h9-header--compact) .h9-subnav {
  display: none;
  padding: 0 0 0.9rem 0.75rem;
}

:where(.h9-header--compact) .h9-nav__item.is-open > .h9-subnav {
  display: block;
  animation: fade-down 0.3s var(--ease);
}

:where(.h9-header--compact) .h9-subnav a {
  padding-block: 0.4rem;
  color: var(--color-muted);
}

:where(.h9-header--compact) .h9-subnav__note {
  font-size: 0.85rem;
}

/* « Réserver » : comme les liens à flèche de l'accueil v9 (Notre histoire) */
:where(.h9-header--compact) .h9-side--right .h9-book {
  flex: none;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 1rem;
  margin-top: clamp(0.85rem, 3vh, 2.5rem);
  font-size: 1.55rem;
  line-height: 1.2;
  text-decoration: none;
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

:where(.h9-header--compact) .h9-side--right .h9-book:hover,
:where(.h9-header--compact) .h9-side--right .h9-book:focus-visible {
  color: var(--color-ink);
  transform: scale(1.06);
}

/* Menu ouvert : la page derrière ne défile pas, la barre mobile du bas est masquée */
html.nav-is-open {
  overflow: hidden;
}

html.nav-is-open .mobile-bar {
  display: none;
}

/* ==========================================================
   Pied de page (couleurs : variables --footer-* de tokens.css)
   ========================================================== */

.h9-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.88rem;
}

.h9-footer a,
.h9-footer button {
  color: inherit;
  text-decoration: none;
}

.h9-footer a:hover,
.h9-footer a:focus-visible,
.h9-footer button:hover {
  color: var(--footer-strong);
  text-decoration: underline;
}

.h9-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 2rem;
}

.h9-footer__brand,
.h9-footer__news {
  grid-column: 1 / -1;
}

/* Petit écran : la note Google sous « Pratiquer », « Nous suivre » sous « L'école »
   (les deux parties se placent directement dans la grille) */
.h9-footer__follow {
  display: contents;
}

/* Ordre : newsletter puis réseaux (à gauche, l'un sous l'autre) | l'école et ses coordonnées,
   puis deux colonnes de liens. Les deux premières colonnes prennent la place libre, les autres la
   largeur de leur contenu : l'espace entre toutes les colonnes est le même. La colonne de
   l'école n'est jamais plus étroite que le logo (qui garde toujours la même taille). */
@media (min-width: 60em) {
  /* Grand écran : note Google et réseaux côte à côte sous la newsletter, le plus loin possible
     l'un de l'autre (réseaux à droite) */
  .h9-footer__follow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem clamp(2.5rem, 5vw, 4rem);
  }

  .h9-footer__grid {
    --h9-fgap: clamp(2rem, 3.5vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(min-content, 1fr) auto auto;
    grid-template-rows: auto 1fr;
    column-gap: var(--h9-fgap);
  }

  /* Toutes les colonnes sur les deux rangées, sauf la newsletter (rangée 1) et les réseaux (rangée 2) */
  .h9-footer__grid > * {
    grid-row: 1 / span 2;
  }

  .h9-footer__brand,
  .h9-footer__news {
    grid-column: auto;
  }

  .h9-footer__grid > .h9-footer__news {
    grid-row: 1;
    grid-column: 1;
  }

  .h9-footer__grid > .h9-footer__follow {
    grid-row: 2;
    grid-column: 1;
  }

  /* Fin trait entre la newsletter et l'école */
  .h9-footer__brand {
    padding-left: var(--h9-fgap);
    border-left: 1px solid var(--footer-line);
  }

  /* Grand écran : la colonne de l'école n'est jamais plus étroite que le logo */
  .h9-footer .h9-footer__brand img {
    max-width: none;
  }
}

/* Le bloc de l'école prend la largeur du logo, et le texte en dessous aussi ; sur un écran trop
   étroit, le bloc ne dépasse jamais de l'écran et le logo rétrécit (sans se déformer) */
.h9-footer__brand {
  width: fit-content;
  max-width: 100%;
}

.h9-footer__brand > p,
.h9-footer__brand > address {
  width: 0;
  min-width: 100%;
}

/* Logo texte : au moins aussi haut que les titres des colonnes ; même taille tant qu'il tient */
.h9-footer__brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 1.35rem;
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: left center;
}

.h9-footer__brand p {
  max-width: none;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.h9-footer__brand .h9-footer__intro {
  margin-top: 0.6rem;
  font-size: 0.88rem;
}

/* Adresse, métro et téléphone en capitales espacées ; une seule hauteur de ligne pour toutes
   les lignes du bloc, lien compris (fixe, pour ne pas changer avec la taille du texte) */
.h9-footer__contact {
  margin-top: 1.25rem;
  font-style: normal;
  line-height: 1.5rem;
}

.h9-footer__contact > span {
  display: block;
}

.h9-footer__caps {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.h9-footer__metro {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Souligné, pour qu'on voie que c'est un lien */
.h9-footer .h9-footer__contact > a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.h9-footer__title,
.h9-footer .footer-col__title {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--footer-strong);
}

.h9-footer .footer-col__title--spaced {
  margin-top: 2.5rem;
}

.h9-footer__col ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h9-footer__col ul.h9-footer__socials {
  display: flex;
  gap: 0.9rem;
}

.h9-footer__socials svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.h9-footer__news p {
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

/* Lien vers la newsletter, posé sur un trait comme un champ (pas encore de vrai champ) */
.h9-footer__signup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--footer-text);
  font-family: var(--h9-serif);
  font-size: 1.25rem;
  font-style: italic;
}

/* Bande du bas sur toute la largeur : copyright à gauche, liens légaux au centre, crédits à droite
   (centrés l'un sous l'autre sur petit écran) */
.h9-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--footer-line);
  font-size: 0.78rem;
  text-align: center;
}

.h9-footer__bottom p {
  margin: 0;
}

.h9-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 60em) {
  .h9-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .h9-footer__bottom > p:first-child {
    justify-self: start;
  }

  .h9-footer__bottom .h9-credits {
    justify-self: end;
  }

  /* La bulle des crédits s'ouvre vers la gauche, pour rester dans l'écran */
  .h9-footer__bottom .h9-credits__tip {
    left: auto;
    right: 0;
    max-width: 20rem;
  }
}

.h9-footer__legal button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* Note Google : étoiles et note plus petites qu'ailleurs ; même espace (1rem) sous le titre
   que les autres colonnes, et entre les étoiles et la note */
.h9-footer .footer-rating {
  --rating-gap: 1rem;
}

.h9-footer h2.footer-col__title.footer-rating__title {
  margin-bottom: 1rem;
}

.h9-footer .footer-rating__stars {
  font-size: 1rem;
}

.h9-footer .footer-rating__score {
  gap: 0.45rem;
}

.h9-footer .footer-rating__value {
  font-size: 1.5rem;
}

.h9-footer .footer-rating__count {
  font-size: 0.8rem;
}

/* Crédits photos : bulle au survol, ou au clic / toucher (comme le petit lexique des cours).
   Petit écran : les crédits sur leur propre ligne, bulle centrée au-dessus, jamais plus large
   que la bande du bas (donc toujours dans l'écran). Grand écran : alignée à droite (plus haut). */
.h9-credits {
  position: relative;
  flex-basis: 100%;
}

.h9-footer .h9-credits__btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline dotted;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
  cursor: help;
}

.h9-credits__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.h9-credits__tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 5;
  width: max-content;
  max-width: min(20rem, 100%);
  margin-inline: auto;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
  color: var(--color-ink);
  font-size: 0.85rem;
  line-height: 1.45;
}

.h9-credits:hover .h9-credits__tip,
.h9-credits.is-open .h9-credits__tip {
  display: block;
}

/* ---------- Moins d'animations si l'appareil le demande ---------- */

@media (prefers-reduced-motion: reduce) {
  .h9-header,
  .h9-header__bar,
  .h9-brand img,
  .h9-subnav,
  .h9-nav__link svg,
  .h9-book,
  .h9-arrow {
    transition: none !important;
  }

  .h9-header.is-open .h9-menu,
  .h9-nav__item.is-open > .h9-subnav {
    animation: none;
  }

  a:hover > .h9-arrow,
  .h9-side--right .h9-book:hover {
    transform: none;
  }
}
