.oracle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 30px 15px;
  background: linear-gradient(to bottom right, #ffffff, #ffffff);
  border-radius: 25px;
}

.oracle-card {
  background: radial-gradient(ellipse at top, #ffffff, #ffffff);
  border: 3px solid #d2b48c;
  border-radius: 16px;
  padding: 20px 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15), inset 0 0 8px #fff3;
  text-align: center;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  font-family: 'Georgia', serif;
}

.oracle-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 18px #ffc, inset 0 0 12px #fff7;
}

.oracle-card::before {
  content: "✨";
  font-size: 28px;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: #e6c075;
  text-shadow: 0 0 6px #fff;
}

.oracle-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    margin-top: 15px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.oracle-card h3 {
    font-size: 16px !important;
    margin: 10px 0 5px;
    color: #5a3e1b !important;
}


.card-reviews-count {
  position: absolute;
    top: 10px;
    left: 10px;
    background: #7ba389;
    color: #fff;
    padding: 1px 4px;
    border-radius: 8px;
    font-size: 18px;
    font-family: times;
}

.oracle-cta {
  display: inline-block;
  padding: 10px 18px;
  background-color: #7ba389!important;
  color: #fff!important;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Poly';
  transition: background-color 0.3s ease;
}

.card-button {
  display: inline-block;
  padding: 10px 18px;
  background-color: #be4678!important;
  color: #fff!important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card-studies {
  font-size: 17px;
  font-family: times;
  margin-bottom: 10px;
  color: #258fde;
}

.card-signature {
  font-size: 16px;
  margin-bottom: 25px;
}

.card-specs {
  font-size: 16px;
  margin-bottom: 25px;
}

.oracle-card .oracle-signature {
  font-style: italic;
  font-size: 17px;
  color: #7d5b3f;
  margin-bottom: 10px;
}

.oracle-card .oracle-cta {
  display: inline-block;
  margin-top: 12px;
  background: #bb9f77;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.oracle-card .oracle-cta:hover {
  background: #a98358;
}
.oracle-card.highlighted {
  box-shadow: 0 0 22px #7ba389, 0 0 40px #7ba389;
}


/* ------------------------------- */
/* Style compteur études */
/* ------------------------------- */

.hai-study-count-new {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: time;
    margin: 20px auto;
    display: block;
}

.hai-star {
  font-size: 40px;
  margin-bottom: 5px;
  animation: hai-shooting 2s ease-out infinite;
}

.hai-already {
  font-size: 20px;
  font-family: time;
  color: #222;
  font-weight: 500;
  margin-bottom: 10px;
}

.hai-number {
  font-size: 20px;
  font-family: time;
  color: #0c1239;
  font-weight: 700;
  margin-bottom: 10px;
}

.hai-text {
  font-size: 18px;
  color: #222;
  line-height: 1.5;
  font-family: time;
}

/* Optionnel : animation subtile de l’étoile */
@keyframes hai-shooting {
  0%   { transform: translateX(0px) rotate(0deg); opacity: 1; }
  70%  { transform: translateX(10px) rotate(10deg); opacity: 0.6; }
  100% { transform: translateX(0px) rotate(0deg); opacity: 1; }
}


/* -------------------------------------------------- */
/* Slider Wrapper : alignement horizontal */
/* -------------------------------------------------- */

.hai-slider-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.hai-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 20px;
}

.hai-slider::-webkit-scrollbar {
  display: none; /* cacher la barre de scroll */
}

/* Slide individuel */
.hai-slide-aura {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
}

/* Boutons de navigation */
.hai-slider-prev,
.hai-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #d8c18f;
  color: #1f0f2f;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  font-family: times;
}

.hai-slider-prev:hover,
.hai-slider-next:hover {
  background: #7ba389;
}

.hai-slider-prev {
  left: 10px;
}

.hai-slider-next {
  right: 10px;
}



/* -------------------------------------------------- */
/* Slide Tarot Art Déco 🃏 */
/* -------------------------------------------------- */

.hai-slide-tarot {
  background: #ffffff;
  border: 2px solid #d8c18f;
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  text-align: center;
  position: relative;
  box-shadow: 0 0 30px rgba(215, 190, 130, 0.2);
  flex: 0 0 auto;
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.hai-slide-tarot:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 45px rgba(230, 205, 150, 0.3);
}

.hai-tarot-frame {
    position: relative;
    border: 2px dashed #bfa86f;
    padding: 8px;
    border-radius: 14px;
    margin-bottom: 15px;
    background: #fff;
}

.hai-tarot-photo {
    width: 110px;
    height: 110px !important;
    object-fit: cover;
    border-radius: 50% !important;
    border: 3px solid #e8d7b0 !important;
    box-shadow: 0 0 12px rgba(255, 230, 180, 0.3) !important;
    margin: 0 auto;
    display: block;
}

.hai-tarot-number {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #7ba389;
    color: #ffffff;
    padding: 2px 8px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    font-family: times;
    box-shadow: 0 0 5px rgba(255, 230, 180, 0.3);
}

.hai-tarot-name {
  font-size: 20px;
  font-weight: bold;
  color: #ae904e;
  font-family: 'Playfair Display', serif;
}

.hai-tarot-signature {
  font-family: 'Parisienne', cursive;
  font-size: 19px;
  color: #555555;
  margin-bottom: 8px;
}

.hai-tarot-specs, .hai-tarot-stats {
    font-size: 15px;
    color: #343433;
    margin: 9px 0;
}

.hai-tarot-button {
    margin-top: 12px;
    padding: 8px 16px;
    background: #d8c18f;
    color: #ffffff !important;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hai-tarot-button:hover {
  background: #fff;
  color: #2c1a3c;
}

.hai-slide-clone {
  opacity: 1;
  position: relative;
  left: auto;
}




/* Par défaut (desktop/tablette) */
.oracle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 30px 15px;
}

/* Ajustement pour les petits écrans */
@media (max-width: 480px) {
  .oracle-grid {
    grid-template-columns: 1fr;   /* 1 carte par ligne */
    gap: 20px;
    padding: 20px 10px;
  }

  .oracle-card {
    padding: 15px 12px;
  }

  .oracle-card h3 {
    font-size: 18px;
  }

  .oracle-card img {
    width: 80px;
    height: 80px;
  }

  .card-reviews-count {
    font-size: 14px;
    padding: 2px 6px;
  }
}



/* --- Ruban "Astrologue de la semaine" --- */
/* Positionne la carte/slide en conteneur */
.hai-banner-bottom{
  margin:10px 12px 0; /* avant le bouton */
  padding:8px 12px; border-radius:10px;
  background:linear-gradient(90deg,#fff3b0,#ffd36e);
  color:#2b1f00; font-weight:700; font-size:13px;
  text-align:center; box-shadow:0 4px 12px rgba(0,0,0,.08);
}
