/* ======================================================
   🎨 Hero Slider – Tyshara (refactoré v1.0 – 24-07-2025)
   Design mystique premium — palette & utilities intégrées
   ====================================================== */

.hero-slider-wrapper {
  position: relative;
  overflow: visible;
  min-height: calc(100dvh - 35vh);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--ty-nuage-pastel);
  border-radius: var(--radius-xl);
  padding-block: var(--space-lg);
  box-sizing: border-box;
}

.hero-slider {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding-inline: var(--space-md);
  box-sizing: border-box;
  position: relative;
}

.hero-block {
  flex: 0 0 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: var(--space-md);
  min-height: 55vh;
  transition: opacity var(--dur-normal) var(--ease-standard);
  position: relative;
}

.hero-block.active {
  display: flex;
}

.hero-content {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 4px rgba(204, 166, 158, 0.2),
              var(--shadow-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
  max-width: 850px;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
}

.hero-content h2 {
  font-family: var(--font-deco);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--ty-terre-argile);
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-family: var(--font-main);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--ty-anthracite-velours);
  margin-bottom: var(--space-lg);
}

.hero-btn {
  display: inline-block;
  background: var(--gradient-or-corail);
  color: var(--ty-anthracite-velours);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 0 6px rgba(245,216,224,0.3);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}

.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(245,216,224,0.6);
}

.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  padding-inline: var(--space-xl);
  box-sizing: border-box;
  z-index: 3;
}

.hero-nav button {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(204,166,158,0.2);
  font-size: 2.2rem;
  color: var(--ty-corail-alchimie);
  border-radius: 50%;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: transform var(--dur-fast), color var(--dur-fast);
  box-shadow: 0 0 12px rgba(204, 166, 158, 0.3);
}

.hero-nav button:hover {
  transform: scale(1.2);
  color: var(--ty-rose-boise);
  background: rgba(255, 255, 255, 0.5);
}
#pause-slider{
  color: var(--ty-terre-argile);
}
/* 💠 Hero sombre (ex : capsule night, slide 4) */
.hero-4 .hero-content {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--ty-lin-brume);
}

.hero-4 h2,
.hero-4 p,
.hero-4 .hero-btn {
  color: var(--ty-lin-brume);
}

.hero-4 .hero-btn {
  background: linear-gradient(135deg, rgba(126,159,150,0.6), rgba(115,80,79,0.7));
  box-shadow: 0 0 6px rgba(115,80,79,0.3);
}

.hero-4 .hero-btn:hover {
  box-shadow: 0 0 14px rgba(115,80,79,0.6);
}

/* 📱 Responsive */
@media screen and (max-width: 1024px) {
  .hero-content h2 { font-size: 2.5rem; }
}

@media screen and (max-width: 768px) {
  .hero-content h2 { font-size: 2.2rem; }
  .hero-content p { font-size: 1.2rem; }
  .hero-btn { font-size: 1.1rem; padding: 0.8rem 1.5rem; }
  .hero-nav button { font-size: 1.8rem; }
}

@media screen and (max-width: 480px) {
  .hero-content {
    padding: 1.2rem;
    border-radius: var(--radius-lg);
  }
  .hero-content h2 { font-size: 1.8rem; }
  .hero-content p { font-size: 1.1rem; }
  .hero-btn { font-size: 1rem; padding: 0.7rem 1.2rem; }
}
