@media screen and (max-width: 768px) {

  table {
    display: block !important;
    width: 100% !important;
  }

  table tbody {
    display: block !important;
    width: 100% !important;
  }

  table tr {
    display: block !important;
    width: 100% !important;
  }

  table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
  }

  h1, h2, h3 {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }

  a[style] {
    display: block !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 12px auto !important;
    text-align: center !important;
  }
}
.btn.btn-default {
    background-color: #EB8923; /* couleur de fond */
    color: #ffffff;             /* couleur du texte */
    border: 1px solid #EB8923;  /* couleur de la bordure */
    transition: all 0.3s ease;  /* transition douce pour le hover */
}
.btn.btn-primary  {
    background-color: #EB8923; /* couleur de fond */
 } 
@media screen and (max-width: 768px) {

  tr.hide-mobile-row {
    display: none !important;
  }

}
/* =========================================================
   CARD FORMATIONS HARMONIE & RÉSONANCE
========================================================= */

.hr-formation-card {
  position: relative;
  overflow: hidden;
  background: #0c1220;
  padding: 3rem 2rem;
  border-radius: 24px;
}

/* =========================================================
   ÉTOILES / ÉTINCELLES
========================================================= */

.hr-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hr-stars span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9a84c;

  box-shadow:
    0 0 8px rgba(201,168,76,0.9),
    0 0 18px rgba(201,168,76,0.6);

  opacity: 0;

  animation: hrTwinkle 2.2s ease-in-out infinite;
}

/* positions des étoiles */

.hr-stars span:nth-child(1){top:12%;left:65%;animation-delay:0s;}
.hr-stars span:nth-child(2){top:28%;left:82%;animation-delay:.2s;}
.hr-stars span:nth-child(3){top:52%;left:74%;animation-delay:.4s;}
.hr-stars span:nth-child(4){top:78%;left:88%;animation-delay:.6s;}
.hr-stars span:nth-child(5){top:18%;left:45%;animation-delay:.8s;}

.hr-stars span:nth-child(6){
  top:66%;
  left:58%;
  animation-delay:1s;
  background:#ffffff;
}

.hr-stars span:nth-child(7){
  top:38%;
  left:92%;
  animation-delay:1.2s;
  background:#4fc3f7;
}

.hr-stars span:nth-child(8){
  top:84%;
  left:68%;
  animation-delay:1.4s;
}

.hr-stars span:nth-child(9){top:8%;left:78%;animation-delay:.3s;}
.hr-stars span:nth-child(10){top:24%;left:55%;animation-delay:.5s;}
.hr-stars span:nth-child(11){top:44%;left:70%;animation-delay:.7s;}
.hr-stars span:nth-child(12){top:62%;left:82%;animation-delay:.9s;}
.hr-stars span:nth-child(13){top:74%;left:52%;animation-delay:1.1s;}
.hr-stars span:nth-child(14){top:88%;left:94%;animation-delay:1.3s;}
.hr-stars span:nth-child(15){top:14%;left:90%;animation-delay:1.5s;}
.hr-stars span:nth-child(16){top:48%;left:60%;animation-delay:1.7s;}

/* =========================================================
   CONTENU AU-DESSUS
========================================================= */

.hr-formation-card .programme-liberation-inner {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* =========================================================
   IMAGE
========================================================= */

.hr-formation-card .programme-liberation-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hr-formation-card .programme-liberation-image img {
  max-width: 100%;
  border-radius: 20px;

  box-shadow:
    0 6px 25px rgba(0,0,0,0.25),
    0 0 25px rgba(201,168,76,0.12);

  animation: hrFloat 8s ease-in-out infinite;
}

/* =========================================================
   TEXTES
========================================================= */

.hr-formation-card .programme-liberation-text {
  flex: 1;
  min-width: 300px;
}

.hr-formation-card .programme-liberation-text,
.hr-formation-card .programme-liberation-text p,
.hr-formation-card .programme-liberation-text li {
  color: #ffffff !important;
}

.hr-formation-card .programme-liberation-text h2 {
  color: #ffffff !important;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hr-formation-card .programme-liberation-text strong {
  color: #c9a84c !important;
}

/* =========================================================
   BOUTON
========================================================= */

.hr-formation-card .programme-liberation-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 14px 28px;

  background: #c9a84c;
  color: #0c1220 !important;

  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;

  transition: all .3s ease;
}

.hr-formation-card .programme-liberation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.35);
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes hrTwinkle {

  0%,100%{
    opacity:0;
    transform:scale(.3);
  }

  50%{
    opacity:1;
    transform:scale(1.3);
  }
}

@keyframes hrFloat {

  0%,100%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-6px);
  }
}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media screen and (max-width: 768px) {

  .hr-formation-card {
    padding: 2rem 1.25rem;
  }

  .hr-formation-card .programme-liberation-inner {
    flex-direction: column;
    text-align: center;
  }

  .hr-formation-card .programme-liberation-text h2 {
    font-size: 1.8rem;
  }

  .hr-formation-card .programme-liberation-image,
  .hr-formation-card .programme-liberation-text {
    min-width: 100%;
  }

  .hr-formation-card .programme-liberation-btn {
    width: 100%;
    max-width: 320px;
  }
}/* =========================================================
   MINI GALERIE PREMIUM
========================================================= */

.hr-gallery {
  position: relative;
  z-index: 3;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.hr-gallery a {
  display: block;

  width: 110px;
  height: 110px;

  border-radius: 16px;
  overflow: hidden;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.hr-gallery a:hover {
  transform: scale(1.08);

  box-shadow:
    0 8px 25px rgba(0,0,0,.35),
    0 0 18px rgba(201,168,76,.25);
}

.hr-gallery img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}

/* mobile */
@media screen and (max-width: 768px) {

  .hr-gallery {
    gap: 10px;
  }

  .hr-gallery a {
    width: 82px;
    height: 82px;
    border-radius: 12px;
  }

}/* =========================================================
   LIGHTBOX
========================================================= */

/* =========================================================
   LIGHTBOX PREMIUM
========================================================= */

.hr-lightbox {
  position: fixed !important;
  inset: 0 !important;

  z-index: 2147483647 !important;

  background: rgba(0, 0, 0, 0.92) !important;
  backdrop-filter: blur(6px);

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .3s ease;

  overflow: hidden !important;
}

/* ouverture */
.hr-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* image */
.hr-lightbox-img {
  position: relative !important;
  z-index: 2147483647 !important;

  display: block !important;

  width: auto !important;
  height: auto !important;

  max-width: 85vw !important;
  max-height: 85vh !important;

  object-fit: contain !important;

  border-radius: 18px;

  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    0 0 30px rgba(201,168,76,.18);

  transform: scale(.92);
  transition: transform .35s ease;
}

/* animation ouverture */
.hr-lightbox.active .hr-lightbox-img {
  transform: scale(1);
}

/* bouton fermeture */
.hr-lightbox-close {
  position: fixed !important;
  top: 20px !important;
  right: 30px !important;

  z-index: 2147483647 !important;

  color: #ffffff !important;

  font-size: 54px !important;
  line-height: 1 !important;

  cursor: pointer;

  transition:
    transform .25s ease,
    color .25s ease;
}

/* hover fermeture */
.hr-lightbox-close:hover {
  transform: scale(1.12);
  color: #c9a84c !important;
}

/* responsive mobile */
@media screen and (max-width: 768px) {

  .hr-lightbox-img {
    max-width: 94vw !important;
    max-height: 82vh !important;
    border-radius: 14px;
  }

  .hr-lightbox-close {
    top: 14px !important;
    right: 18px !important;
    font-size: 44px !important;
  }

}