/* ======================================================
   🎠 Hero Slider — Inline Styles Extraits (v1.0)
   Intégré à part depuis les templates PHP pour maintenabilité
   ====================================================== */

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  display: flex;
  transition: transform 0.6s ease;
  width: 400%;
}

.hero-slider .hero-block {
  flex: 0 0 100%;
  min-width: 100%;
  transition: opacity 0.5s ease-in-out;
}

/* Navigation flèches */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 2rem;
  z-index: 10;
}

.hero-slider-nav button {
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  transition: background 0.3s;
}

.hero-slider-nav button:hover {
  background: rgba(255,255,255,1);
}

/* ⏸️ Bouton pause slider */
.hero-pause-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(204, 166, 158, 0.4);
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--ty-poussiere-or);
  box-shadow: 0 0 8px rgba(204, 166, 158, 0.4);
  transition: all 0.3s ease;
}

.hero-pause-btn:hover {
  transform: scale(1.1);
  background-color: rgba(255,255,255,0.6);
}

/* 🔽 Scroll Arrow */
.scroll-arrow {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(204, 166, 158, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(204, 166, 158, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--ty-poussiere-or) !important;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s ease;
  animation: scrollDown 2s infinite;
  text-decoration: none;
}

.scroll-arrow span {
  color: var(--ty-poussiere-or) !important;
}

.scroll-arrow:hover {
  transform: translateX(-50%) scale(1.1);
  background: rgba(255, 255, 255, 0.8);
}

@keyframes scrollDown {
  0%   { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(10px); }
  100% { transform: translateX(-50%) translateY(0); }
}


.hero-block {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 20px;
  max-width: 700px;
  margin: auto;
}

.hero-content h2 {
  font-family: 'Satisfy', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.hero-btn {
  padding: 0.8rem 2rem;
  background: #d08f7b;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #b9735f;
}

.hero-nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 1rem;
}

.hero-nav button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}


.hero-block {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 20px;
  max-width: 700px;
  margin: auto;
}

.hero-content h2 {
  font-family: 'Satisfy', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.hero-btn {
  padding: 0.8rem 2rem;
  background: #d08f7b;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #b9735f;
}

.hero-nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 1rem;
}

.hero-nav button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}
/* ========================================
   🎯 Optimisation mobile — Hero Slider
   Cible : .hero-slider-wrapper
   Objectif : alléger visuellement pour mobile
   Date : août 2025
   ======================================== */

@media (max-width: 48rem) {
  .hero-slider-wrapper {
    min-height: 60vh;
    padding: var(--space-sm);
  }

  .hero-slider-wrapper .hero-content {
    align-items: center;
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
  }

  .hero-slider-wrapper .hero-content h2 {
    font-size: var(--fs-lg);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
  }

  .hero-slider-wrapper .hero-content p {
    display: none; /* Cache le sous-titre */
  }

  .hero-slider-wrapper .hero-btn {
    font-size: var(--fs-sm);
    padding: 0.5rem 1rem;
  }

  .hero-slider-wrapper .hero-nav,
  .hero-slider-wrapper .hero-pause-btn,
  .hero-slider-wrapper .scroll-arrow {
    display: none !important;
  }
}
