/* Hero premium — Boubou Sultana · HAFSOIT BEAUTY */

.hero.hero-sultana {
  --hs-noir: #0c0a09;
  --hs-beige: #f5efe4;
  --hs-or: #c9a962;
  --hs-or-soft: rgba(201, 169, 98, 0.45);
  --hs-bleu: #1e4a8a;
  background: var(--hs-noir);
  min-height: var(--hero-height, min(92vh, 820px));
  overflow: hidden;
}

.hero-sultana-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: inherit;
  height: 100%;
  isolation: isolate;
}

.hero-sultana-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.hero-sultana-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-sultana-panel .hero-sultana-media {
  animation: none;
  transform: scale(1);
}

.hero-sultana-panel.is-active .hero-sultana-media {
  animation: hsCinematicZoom 24s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

.hero-sultana-nav {
  position: absolute;
  bottom: clamp(14px, 2.5vh, 24px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.hero-sultana-nav button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(245, 239, 228, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.hero-sultana-nav button.is-active {
  background: var(--hs-or);
  transform: scale(1.45);
  box-shadow: 0 0 14px rgba(201, 169, 98, 0.5);
}

.hero.hero-sultana--empty {
  display: none;
}

.hero-sultana-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-sultana-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 18%;
  display: block;
  transform: scale(1);
  transform-origin: 68% 40%;
  will-change: transform;
  filter: brightness(0.92) contrast(1.04) saturate(1.08);
}

@keyframes hsCinematicZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-sultana-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      102deg,
      rgba(8, 6, 5, 0.82) 0%,
      rgba(8, 6, 5, 0.55) 22%,
      rgba(8, 6, 5, 0.18) 42%,
      transparent 58%,
      rgba(8, 6, 5, 0.12) 78%,
      rgba(8, 6, 5, 0.38) 100%
    ),
    radial-gradient(
      ellipse 90% 70% at 78% 45%,
      rgba(30, 74, 138, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 120% 80% at 50% 100%,
      rgba(0, 0, 0, 0.45) 0%,
      transparent 55%
    );
}

.hero-sultana-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-sultana-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 212, 160, 0.9) 0%, rgba(201, 169, 98, 0.2) 70%, transparent 100%);
  box-shadow: 0 0 8px rgba(201, 169, 98, 0.35);
  opacity: 0;
  animation: hsParticleFloat 8s ease-in-out infinite;
}

.hero-sultana-particles span:nth-child(1) { left: 8%; top: 22%; animation-delay: 0s; }
.hero-sultana-particles span:nth-child(2) { left: 18%; top: 68%; animation-delay: 1.2s; }
.hero-sultana-particles span:nth-child(3) { left: 28%; top: 38%; animation-delay: 2.4s; }
.hero-sultana-particles span:nth-child(4) { left: 42%; top: 14%; animation-delay: 0.8s; }
.hero-sultana-particles span:nth-child(5) { left: 55%; top: 72%; animation-delay: 3.1s; }
.hero-sultana-particles span:nth-child(6) { left: 68%; top: 28%; animation-delay: 1.8s; }
.hero-sultana-particles span:nth-child(7) { left: 82%; top: 58%; animation-delay: 2.8s; }
.hero-sultana-particles span:nth-child(8) { left: 92%; top: 18%; animation-delay: 4s; }

@keyframes hsParticleFloat {
  0%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  20% { opacity: 0.55; }
  50% { opacity: 0.35; transform: translate3d(0, -12px, 0) scale(1); }
  80% { opacity: 0.15; }
}

.hero-sultana-layout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: inherit;
  height: 100%;
  padding: clamp(28px, 5vh, 56px) clamp(20px, 4vw, 64px);
  box-sizing: border-box;
}

.hero-sultana-glass {
  max-width: min(300px, 88vw);
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.6vw, 28px);
  border-radius: 2px;
  background: rgba(12, 10, 9, 0.38);
  border: 1px solid rgba(245, 239, 228, 0.14);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 252, 246, 0.08);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  animation: hsGlassIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-sultana-glass.hero-sultana-glass--replay {
  animation: hsGlassIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hsGlassIn {
  from {
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-sultana-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin-bottom: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hs-beige);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.22), rgba(201, 169, 98, 0.08));
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 999px;
}

.hero-sultana-kicker {
  margin: 0 0 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.62);
}

.hero-sultana-title {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-beige);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-sultana-lead {
  margin: 0 0 14px;
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  line-height: 1.55;
  color: rgba(245, 239, 228, 0.78);
  max-width: 28ch;
}

.hero-sultana-price {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  color: var(--hs-or);
  letter-spacing: 0.02em;
}

.hero-sultana-price span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-left: 4px;
  opacity: 0.85;
}

.hero-sultana-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-sultana-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}

.hero-sultana-btn--primary {
  border: 1px solid rgba(255, 252, 246, 0.22);
  background: linear-gradient(135deg, #c9a962 0%, #a8893f 100%);
  color: #fffef8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero-sultana-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.hero-sultana-btn--ghost {
  border: 1px solid rgba(245, 239, 228, 0.28);
  background: rgba(245, 239, 228, 0.06);
  color: var(--hs-beige);
}

.hero-sultana-btn--ghost:hover {
  background: rgba(245, 239, 228, 0.12);
  border-color: rgba(201, 169, 98, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .hero.hero-sultana {
    min-height: min(88vh, 720px);
  }

  .hero-sultana-media {
    object-position: 58% 12%;
    transform-origin: 55% 35%;
  }

  .hero-sultana-shade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 6, 5, 0.55) 0%,
        rgba(8, 6, 5, 0.2) 38%,
        rgba(8, 6, 5, 0.65) 72%,
        rgba(8, 6, 5, 0.88) 100%
      );
  }

  .hero-sultana-layout {
    align-items: flex-end;
    padding: 16px 16px 40px;
  }

  .hero-sultana-glass {
    max-width: 100%;
    width: 100%;
  }

  .hero-sultana-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .hero-sultana-actions {
    width: 100%;
  }

  .hero-sultana-btn {
    flex: 1 1 auto;
    min-width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sultana-panel.is-active .hero-sultana-media,
  .hero-sultana-glass,
  .hero-sultana-particles span {
    animation: none !important;
  }

  .hero-sultana-glass {
    opacity: 1;
    transform: none;
  }
}
