/**
 * Section produit vedette — accueil Sugar Paper
 * Layout premium type bannière promo (texte gauche, visuel droite)
 */

body.page-home .home-spotlight {
  padding: 12px 0 0;
  position: relative;
  z-index: 4;
  width: 100%;
}

body.page-home .home-spotlight__inner {
  position: relative;
  overflow: hidden;
  max-width: none;
  width: 100%;
  height: 250px;
  max-height: 250px;
  min-height: 0;
  margin: 0;
  border-radius: clamp(18px, 2.8vw, 28px);
  background:
    radial-gradient(
      ellipse 80% 90% at 100% 20%,
      rgba(255, 182, 210, 0.55),
      transparent 58%
    ),
    radial-gradient(
      ellipse 60% 70% at 0% 100%,
      rgba(255, 228, 240, 0.9),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 45% at 50% 0%,
      rgba(255, 255, 255, 0.95),
      transparent 60%
    ),
    linear-gradient(135deg, #ffffff 0%, #fff7fb 35%, #ffe8f2 68%, #fff0f6 100%);
  box-shadow:
    0 16px 40px rgba(229, 72, 138, 0.1),
    0 0 0 1px rgba(229, 72, 138, 0.1) inset;
}

/* Arcs lumineux décoratifs */
body.page-home .home-spotlight__inner::before {
  content: "";
  position: absolute;
  width: clamp(220px, 38vw, 420px);
  height: clamp(220px, 38vw, 420px);
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid rgba(229, 72, 138, 0.12);
  box-shadow:
    0 0 40px rgba(255, 182, 210, 0.35),
    inset 0 0 24px rgba(255, 255, 255, 0.6);
  pointer-events: none;
  opacity: 0.55;
}

body.page-home .home-spotlight__inner::after {
  content: "";
  position: absolute;
  width: clamp(160px, 28vw, 300px);
  height: clamp(160px, 28vw, 300px);
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(229, 72, 138, 0.1);
  pointer-events: none;
  opacity: 0.45;
}

body.page-home .home-spotlight__streak {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(1px);
}

body.page-home .home-spotlight__streak--1 {
  width: 180px;
  height: 3px;
  left: 8%;
  top: 22%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 72, 138, 0.7),
    transparent
  );
  transform: rotate(-12deg);
  opacity: 0.6;
}

body.page-home .home-spotlight__streak--2 {
  width: 120px;
  height: 2px;
  left: 14%;
  bottom: 28%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(145, 138, 68, 0.65),
    transparent
  );
  transform: rotate(8deg);
  opacity: 0.5;
}

body.page-home .home-spotlight__slider {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  max-height: 100%;
}

body.page-home .home-spotlight__slide {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

body.page-home .home-spotlight__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

body.page-home .home-spotlight__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  align-items: stretch;
  gap: 10px;
  padding: 12px 14px;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* ——— Contenu texte ——— */
body.page-home .home-spotlight__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding-right: 4px;
}

body.page-home .home-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--home-font-ui, "Outfit", sans-serif);
  font-size: clamp(0.82rem, 1.7vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e5488a;
  padding: 0;
  margin: 0;
}

body.page-home .home-spotlight__badge::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #e5488a, rgba(229, 72, 138, 0.2));
  border-radius: 2px;
}

body.page-home .home-spotlight__title {
  margin: 0;
  font-family: var(--home-font-display, "Fraunces", Georgia, serif);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

body.page-home .home-spotlight__title-line {
  display: block;
  font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  color: #2a1a22;
  text-transform: uppercase;
}

body.page-home .home-spotlight__title-line--accent {
  background: linear-gradient(92deg, #c23a72 0%, #e5488a 50%, #f4a8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-top: 0.08em;
  font-size: clamp(0.98rem, 3.4vw, 1.25rem);
  text-transform: none;
  letter-spacing: 0.01em;
}

body.page-home .home-spotlight__desc {
  margin: 0;
  max-width: 38ch;
  font-family: var(--home-font-ui, "Outfit", sans-serif);
  font-size: clamp(0.78rem, 2.4vw, 0.9rem);
  line-height: 1.4;
  color: #6b5560;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-home .home-spotlight__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e5488a 0%, #c23a72 100%);
  color: #ffffff;
  font-family: var(--home-font-ui, "Outfit", sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 12px 32px rgba(229, 72, 138, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

body.page-home .home-spotlight__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(229, 72, 138, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  color: #ffffff;
}

body.page-home .home-spotlight__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

body.page-home .home-spotlight__cta:hover .home-spotlight__cta-icon {
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(3px);
}

/* ——— Visuel produit ——— */
body.page-home .home-spotlight__visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

body.page-home .home-spotlight__pedestal {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(12px, 2vw, 18px);
  background: #ffffff;
  box-shadow:
    0 10px 28px rgba(229, 72, 138, 0.12),
    0 0 0 1px rgba(229, 72, 138, 0.12) inset;
}

body.page-home .home-spotlight__pedestal::before,
body.page-home .home-spotlight__pedestal::after {
  display: none;
}

body.page-home .home-spotlight__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: inherit;
}

/* Points décoratifs (style carrousel) */
body.page-home .home-spotlight__dots {
  position: absolute;
  bottom: clamp(14px, 2vw, 22px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

body.page-home .home-spotlight__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(229, 72, 138, 0.2);
  cursor: pointer;
}

body.page-home .home-spotlight__dot--active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5488a, #918a44);
}

/* Tablette — 300px max */
@media (min-width: 577px) {
  body.page-home .home-spotlight__inner {
    height: 300px;
    max-height: 300px;
  }

  body.page-home .home-spotlight__grid {
    gap: 14px;
    padding: 14px 18px;
  }

  body.page-home .home-spotlight__title-line {
    font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  }

  body.page-home .home-spotlight__title-line--accent {
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  }

  body.page-home .home-spotlight__desc {
    font-size: 0.88rem;
  }

  body.page-home .home-spotlight__cta {
    padding: 8px 14px;
    font-size: 0.7rem;
  }
}

/* PC & grands écrans — 400px max */
@media (min-width: 993px) {
  body.page-home .home-spotlight {
    padding: 8px 0 0;
  }

  body.page-home .home-spotlight__inner {
    height: 400px;
    max-height: 400px;
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 16px;
  }

  body.page-home .home-spotlight__inner::before {
    width: 200px;
    height: 200px;
    right: -4%;
  }

  body.page-home .home-spotlight__inner::after {
    width: 140px;
    height: 140px;
    right: 8%;
  }

  body.page-home .home-spotlight__grid {
    gap: 16px;
    padding: 16px 24px;
  }

  body.page-home .home-spotlight__content {
    gap: 8px;
  }

  body.page-home .home-spotlight__badge {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  body.page-home .home-spotlight__badge::before {
    width: 20px;
  }

  body.page-home .home-spotlight__title-line {
    font-size: clamp(1.75rem, 2.2vw, 2.15rem);
    line-height: 1.02;
  }

  body.page-home .home-spotlight__title-line--accent {
    font-size: clamp(1.4rem, 1.8vw, 1.7rem);
    line-height: 1.08;
  }

  body.page-home .home-spotlight__desc {
    font-size: 0.96rem;
    line-height: 1.45;
    max-width: 34ch;
  }

  body.page-home .home-spotlight__cta {
    padding: 10px 18px;
    font-size: 0.74rem;
    gap: 10px;
  }

  body.page-home .home-spotlight__cta-icon {
    width: 24px;
    height: 24px;
    font-size: 0.62rem;
  }
}

@media (min-width: 1300px) {
  body.page-home .home-spotlight {
    padding-top: 0;
  }

  body.page-home .home-spotlight__inner {
    max-width: 1180px;
  }

  body.page-home .home-spotlight__inner::before {
    width: 180px;
    height: 180px;
  }

  body.page-home .home-spotlight__inner::after {
    width: 120px;
    height: 120px;
  }
}
