/* =====================================================================
   Ener'Gym - ergonomie (lot 4)
   Complete le theme Gymso sans le modifier : memes couleurs et polices.
   ===================================================================== */

/* ---------- Menu : barre plus fine ---------- */
.navbar {
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand img {
  height: auto;
  max-height: 72px;
  max-width: 70vw;
  width: auto;
}

@media screen and (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}

@media screen and (max-width: 991px) {
  .navbar-brand img {
    max-height: 56px;
  }
  /* Menu mobile : liste lisible qui ne deborde pas de l'ecran */
  .navbar-collapse {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 10px 0 20px;
  }
  .navbar-collapse .nav-link {
    padding: 12px 6px;
    font-size: 18px;
  }
  .navbar-collapse .dropdown-menu {
    background: transparent;
    border: 0;
    text-align: center;
  }
  .navbar-collapse .dropdown-item {
    color: var(--white-color);
    padding: 10px;
  }
  .navbar-collapse .dropdown-item:hover,
  .navbar-collapse .dropdown-item:focus {
    background: transparent;
    color: var(--primary-color);
  }
}

/* Le defilement vers une rubrique s'arrete sous la barre de menu */
section[id], div[id="rdv"] {
  scroll-margin-top: 80px;
}

/* ---------- Cartes de meme hauteur, images de meme taille ---------- */
.cartes-egales > [class*="col-"] {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.cartes-egales .class-thumb,
.cartes-egales .team-thumb {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}

.cartes-egales .class-info,
.cartes-egales .team-info,
.cartes-egales .carte-tarif,
.cartes-egales .carte-produit {
  flex: 1 1 auto;
}

/* Salle, cours collectifs, coaching : images 4/3 recadrees sans deformation */
.cartes-egales .class-thumb > img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Equipe : portraits 3/4, cadres sur le visage */
.cartes-egales .team-thumb > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---------- Tarifs ---------- */
.message-site {
  margin: 0 auto 30px;
  max-width: 720px;
  text-align: center;
}

.form-partenaire {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 420px;
}

.form-partenaire input {
  flex: 1 1 200px;
  min-height: 48px;
  border-radius: var(--border-radius-small);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-color);
  padding: 0 14px;
}

.form-partenaire input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-partenaire .custom-btn {
  margin: 0;
}

.carte-tarif {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #202122;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid #3a3b3c;
  border-radius: 4px;
  color: var(--white-color);
  padding: 28px 26px 26px;
  position: relative;
}

.carte-tarif.en-ligne {
  border-top-color: var(--primary-color);
}

.carte-tarif .badge-tarif {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: var(--menu-font-size);
  padding: 4px 12px;
  margin-bottom: 16px;
}

.carte-tarif.en-ligne .badge-tarif {
  background: var(--primary-color);
}

.carte-tarif h3 {
  color: var(--white-color);
  font-size: var(--h4-font-size);
  margin-bottom: 10px;
}

.carte-tarif .prix-tarif {
  margin-bottom: 6px;
  line-height: 1.2;
}

.carte-tarif .prix-tarif strong {
  color: var(--primary-color);
  font-size: 40px;
  font-weight: var(--font-weight-bold);
}

.carte-tarif .prix-tarif s {
  color: var(--gray-color);
  font-size: 20px;
  margin-right: 8px;
}

.carte-tarif .duree-tarif {
  color: var(--gray-color);
  font-size: var(--menu-font-size);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.carte-tarif .mention-partenaire {
  color: #ffd27a;
  font-size: var(--menu-font-size);
  margin-bottom: 14px;
}

.carte-tarif .texte-tarif {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--base-font-size);
  margin-bottom: 22px;
}

.carte-tarif .custom-btn {
  margin-top: auto;
  text-align: center;
  width: 100%;
}

/* ---------- Produits ---------- */
.carte-produit {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white-color);
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(20, 20, 20, 0.08);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.carte-produit:hover {
  border-color: var(--primary-color);
  box-shadow: 0 6px 24px rgba(241, 58, 17, 0.12);
}

/* Photo plus petite, dans le meme cadre que la fiche, separee par un filet */
.carte-produit .photo-produit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  background: var(--white-color);
  border-bottom: 1px solid #d9d9d9;
  padding: 14px;
}

.carte-produit .photo-produit img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.carte-produit .badge-reduc {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 20px;
  font-weight: var(--font-weight-bold);
  padding: 4px 12px;
}

.carte-produit .corps-produit {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 22px;
}

.carte-produit h3 {
  font-size: var(--h5-font-size);
  margin-bottom: 4px;
}

.carte-produit .unite-produit {
  color: var(--gray-color);
  font-size: var(--menu-font-size);
  margin-bottom: 10px;
}

.carte-produit .prix-produit {
  margin-bottom: 10px;
}

.carte-produit .prix-produit strong {
  color: var(--primary-color);
  font-size: 28px;
}

.carte-produit .prix-produit s {
  color: var(--gray-color);
  margin-right: 6px;
}

.carte-produit .texte-produit {
  color: var(--p-color);
  font-size: var(--base-font-size);
  margin-bottom: 14px;
}

.carte-produit .stock-produit {
  font-size: var(--menu-font-size);
  margin-bottom: 14px;
}

.stock-produit::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  background: #e0956f;
}

.stock-produit.faible::before { background: #e8a317; }
.stock-produit.rupture::before { background: var(--gray-color); }

.carte-produit .ajout-panier {
  margin-top: auto;
}

.quantite {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-small);
  margin-bottom: 12px;
}

.quantite button {
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  font-size: 22px;
  line-height: 1;
  color: var(--dark-color);
  cursor: pointer;
}

.quantite input {
  width: 52px;
  height: 44px;
  border: 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 18px;
  -moz-appearance: textfield;
}

.quantite input::-webkit-outer-spin-button,
.quantite input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.carte-produit .ajout-panier .custom-btn {
  width: 100%;
  margin-top: 0;
}

.carte-produit .deja-panier {
  font-size: var(--menu-font-size);
  color: var(--p-color);
  margin-top: 10px;
}

.carte-produit .deja-panier a {
  color: var(--primary-color);
}

.bouton-indisponible {
  display: block;
  text-align: center;
  background: #e9e9e9;
  color: var(--gray-color);
  border-radius: var(--border-radius-small);
  padding: 14px 24px;
  margin-top: auto;
}

/* ---------- Planning des cours ---------- */
.planning-tableau {
  width: 100%;
  table-layout: fixed;
}

.planning-mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .planning-tableau {
    display: none !important;
  }
  .planning-mobile {
    display: block;
  }
}

.jours-planning {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.jours-planning button {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius-small);
  color: var(--white-color);
  font-size: 15px;
  padding: 10px 0;
  text-transform: uppercase;
  cursor: pointer;
}

.jours-planning button.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.liste-cours h3 {
  color: var(--white-color);
  font-size: var(--h5-font-size);
  margin-bottom: 12px;
}

.ligne-cours {
  display: flex;
  gap: 14px;
  background: #202122;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.heure-cours {
  flex: 0 0 auto;
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.detail-cours strong {
  display: block;
  color: var(--white-color);
}

.detail-cours span {
  display: block;
  color: var(--gray-color);
  font-size: var(--menu-font-size);
}

/* ---------- Panier flottant ---------- */
[hidden] {
  display: none !important;
}

.lien-panier {
  position: relative;
  white-space: nowrap;
}

.nombre-panier {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 10px;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 20px;
  text-align: center;
  vertical-align: top;
}

html.panier-ouvert,
html.panier-ouvert body {
  overflow: hidden;
}

.panier-flottant {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1060;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.3s;
}

.panier-flottant.ouvert {
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.panier-fond {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}

.panier-flottant.ouvert .panier-fond {
  opacity: 1;
}

.panier-tiroir {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white-color);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.panier-flottant.ouvert .panier-tiroir {
  transform: none;
}

@media screen and (max-width: 575px) {
  .panier-tiroir {
    width: 100%;
  }
}

.entete-panier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark-color);
  color: var(--white-color);
  padding: 16px 22px;
}

.entete-panier h2 {
  color: var(--white-color);
  font-size: var(--h5-font-size);
  margin: 0;
}

.entete-panier h2 .fa {
  color: var(--primary-color);
  margin-right: 6px;
}

.fermer-panier {
  background: transparent;
  border: 0;
  color: var(--white-color);
  font-size: 34px;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.panier-message {
  margin: 14px 22px 0;
  padding: 10px 14px;
  border-radius: var(--border-radius-small);
  font-size: var(--menu-font-size);
}

.panier-message.succes {
  background: #fbe9df;
  color: #a14f32;
}

.panier-message.erreur {
  background: #fff1e6;
  color: #a94300;
}

.panier-lignes {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 6px 22px;
  transition: opacity 0.2s;
}

.panier-flottant.chargement .panier-lignes {
  opacity: 0.55;
  pointer-events: none;
}

.ligne-panier {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #ececec;
}

.ligne-panier.nouveau {
  animation: ligneAjoutee 1.6s ease;
}

@keyframes ligneAjoutee {
  0%, 40% { background: #fff1ec; }
  100% { background: transparent; }
}

.ligne-panier img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: var(--white-color);
}

.info-ligne strong {
  display: block;
  color: var(--dark-color);
  line-height: 1.25;
}

.unite-ligne,
.prix-ligne {
  display: block;
  color: var(--gray-color);
  font-size: 14px;
}

.actions-ligne {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.quantite.petite {
  margin-bottom: 0;
}

.quantite.petite button {
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.quantite.petite button:disabled {
  color: #c8c8c8;
  cursor: not-allowed;
}

.quantite .nombre-ligne {
  min-width: 34px;
  text-align: center;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  line-height: 34px;
}

.supprimer-ligne {
  background: transparent;
  border: 0;
  color: var(--gray-color);
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.supprimer-ligne:hover {
  color: var(--primary-color);
}

.sous-total-ligne {
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  white-space: nowrap;
}

.panier-vide {
  text-align: center;
  padding: 50px 10px;
  color: var(--gray-color);
}

.panier-vide .fa {
  font-size: 46px;
  color: #dcdcdc;
  margin-bottom: 14px;
}

.pied-panier {
  border-top: 1px solid #ececec;
  padding: 16px 22px 20px;
  background: #fafafa;
}

.total-panier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.total-panier strong {
  color: var(--primary-color);
  font-size: 26px;
}

.pied-panier .commander-panier {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
}

.continuer-achats {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--p-color);
  text-decoration: underline;
  padding: 12px 0 0;
  cursor: pointer;
}

.fermer-panier:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- Case a cocher des CGV (taille normale) ---------- */
.case-cgv {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 10px;
  cursor: pointer;
  font-size: var(--base-font-size);
  line-height: 1.4;
  text-align: left;
}

.case-cgv input[type="checkbox"],
input[type="checkbox"].form-control {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  display: inline-block;
  box-shadow: none;
  accent-color: var(--primary-color);
  cursor: pointer;
}

/* ---------- Reservation du coaching (calendrier mensuel) ---------- */
.planificateur {
  margin-top: 20px;
}

.etape-coaching {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin: 26px 0 14px;
}

.etape-coaching span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 16px;
}

.choix-programmes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.programme-coaching {
  flex: 1 1 180px;
  text-align: left;
  background: var(--white-color);
  border: 2px solid #e2e2e2;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.programme-coaching strong {
  display: block;
  color: var(--dark-color);
}

.programme-coaching span {
  color: var(--gray-color);
  font-size: var(--menu-font-size);
}

.programme-coaching:hover {
  border-color: #f5a08c;
}

.programme-coaching.actif {
  border-color: var(--primary-color);
  background: #fff4f0;
}

.calendrier-coaching {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 16px;
  background: var(--white-color);
  box-shadow: 0 4px 18px rgba(20, 20, 20, 0.06);
}

.entete-mois {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.entete-mois strong {
  font-size: var(--h5-font-size);
  color: var(--dark-color);
}

.entete-mois button {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  background: var(--white-color);
  color: var(--dark-color);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.entete-mois button:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.entete-mois button:disabled {
  opacity: 0.3;
  cursor: default;
}

.noms-jours,
.grille-jours {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.noms-jours span {
  text-align: center;
  color: var(--gray-color);
  font-size: 13px;
  text-transform: uppercase;
  padding-bottom: 6px;
}

.grille-jours {
  min-height: 260px;
  transition: opacity 0.2s;
}

.grille-jours.chargement {
  opacity: 0.4;
}

.jour-coaching {
  aspect-ratio: 1 / 1;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c4c4c4;
  font-size: 16px;
  cursor: default;
  position: relative;
}

.jour-coaching.dispo {
  background: #fbe9df;
  color: var(--dark-color);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
}

.jour-coaching.dispo:hover {
  background: #f6d5c4;
}

.jour-coaching.complet {
  background: #f3f3f3;
  color: #b0b0b0;
  text-decoration: line-through;
}

.jour-coaching.aujourdhui::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 5px;
  height: 5px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--primary-color);
}

.jour-coaching.choisi,
.jour-coaching.choisi:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.legende-calendrier {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray-color);
}

.legende-calendrier span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}

.legende-calendrier .dispo::before { background: #fbe9df; border: 1px solid #efbfa8; }
.legende-calendrier .complet::before { background: #f3f3f3; border: 1px solid #dcdcdc; }

.erreur-calendrier {
  grid-column: 1 / -1;
  color: #a94300;
  text-align: center;
  padding: 30px 0;
}

.heures-coaching h4 {
  color: var(--dark-color);
  margin-bottom: 4px;
}

.aide-coaching {
  color: var(--gray-color);
  margin-bottom: 14px;
}

.liste-heures {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.heure-coaching {
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-small);
  background: var(--white-color);
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  font-size: 17px;
  padding: 12px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.heure-coaching:hover,
.heure-coaching:focus {
  background: var(--primary-color);
  color: var(--white-color);
}

.recap-coaching {
  background: #fff4f0;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.recap-coaching strong,
.recap-coaching span {
  display: block;
}

.recap-coaching span {
  color: var(--p-color);
}

.confirmation-coaching {
  text-align: center;
  padding: 20px 0;
}

.icone-confirmation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fbe9df;
  color: #a14f32;
  font-size: 30px;
  margin-bottom: 14px;
}

@media screen and (max-width: 991px) {
  .calendrier-coaching {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 575px) {
  .calendrier-coaching {
    padding: 12px 8px;
  }
  .grille-jours {
    min-height: 0;
  }
  .liste-heures {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Page panier : formulaire de commande sous le tableau (lisible sur mobile) */
.commande-panier {
  max-width: 560px;
  margin: 10px auto 0;
  text-align: center;
}

.commande-panier .custom-btn {
  width: 100%;
}

/* ---------- Accueil : logo 3 fois plus grand, sans agrandir la barre de menu ---------- */
/* Le logo deborde sous la barre (marge negative) : la barre garde sa hauteur.
   Il reprend sa taille normale quand on fait defiler la page ou qu'on ouvre le menu mobile. */
.navbar-brand .logo-geant {
  position: relative;
  z-index: 2;
  height: 216px !important;
  max-height: none !important;
  width: auto;
  max-width: none;
  margin-bottom: -144px;
  transition: height 0.35s ease, margin 0.35s ease;
}

body.page-defilee .navbar-brand .logo-geant,
body.menu-ouvert .navbar-brand .logo-geant {
  height: 72px !important;
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  .navbar-brand .logo-geant {
    height: 168px !important;
    margin-bottom: -112px;
  }
  body.page-defilee .navbar-brand .logo-geant,
  body.menu-ouvert .navbar-brand .logo-geant {
    height: 56px !important;
    margin-bottom: 0;
  }
}

/* ---------- Equipe : coachs sur 3 colonnes, centres ---------- */
.equipe-coachs .team-thumb {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Bouton "remonter en haut" avec jauge de lecture ---------- */
.remonter-haut {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--dark-color);
  color: var(--white-color);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
}

.remonter-haut.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.25s;
}

.remonter-haut svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  transform: rotate(-90deg);
}

.remonter-haut .piste {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 3;
}

.remonter-haut .jauge {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

.remonter-haut .fleche {
  position: relative;
  display: block;
  font-size: 22px;
  line-height: 54px;
  text-align: center;
}

.remonter-haut:hover {
  background: #2a2b2d;
}

.remonter-haut:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

html.panier-ouvert .remonter-haut {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .navbar-brand .logo-geant,
  .remonter-haut {
    transition: none;
  }
}
