/* ===================================================
   BOUTIQUE — styles partagés (V1/V2/V3)
   =================================================== */

/* ===== Floating animated separator ===== */
.float-sep {
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 100px auto 40px;
  padding: 0 var(--space-md);
  position: relative;
}
.float-sep-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,196,108,0.5) 50%, transparent);
  position: relative;
  overflow: hidden;
}
.float-sep-line::after {
  content: ''; position: absolute; top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232,196,108,0.9), transparent);
  animation: floatShimmer 4s ease-in-out infinite;
}
.float-sep-line:last-child::after { animation-delay: 2s; animation-direction: reverse; }
.float-sep-dot {
  position: relative;
  width: 10px; height: 10px;
  flex-shrink: 0;
  transform: rotate(45deg);
  background: #e8c46c;
  box-shadow: 0 0 24px rgba(232,196,108,0.6);
  animation: floatPulse 3s ease-in-out infinite;
}
.float-sep-dot::before, .float-sep-dot::after {
  content: ''; position: absolute; inset: -6px;
  border: 1px solid rgba(232,196,108,0.4);
  animation: floatRing 3s ease-out infinite;
}
.float-sep-dot::after { animation-delay: 1.5s; }
@keyframes floatShimmer {
  0%, 100% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(500%); opacity: 0; }
}
@keyframes floatPulse {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.2); box-shadow: 0 0 40px rgba(232,196,108,0.9); }
}
@keyframes floatRing {
  0% { inset: -3px; opacity: 1; }
  100% { inset: -16px; opacity: 0; }
}
@media (max-width: 640px) {
  .float-sep { margin: 60px auto 20px; gap: 16px; }
}

/* ===== Section dividers — bold visible bands ===== */
.shop-divider {
  position: relative;
  padding: 90px 0 60px;
  margin: 40px 0 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(232,196,108,0.08), transparent 70%),
    linear-gradient(180deg, transparent, rgba(168,85,247,0.04) 30%, rgba(168,85,247,0.04) 70%, transparent);
  text-align: center;
}
.shop-divider::before,
.shop-divider::after {
  content: '';
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 700px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,196,108,0.5), transparent);
}
.shop-divider::before { top: 0; }
.shop-divider::after { bottom: 0; }

.shop-divider-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.shop-divider-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400;
  font-size: 140px; line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(232,196,108,0.55);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}
.shop-divider-num::after {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: #e8c46c;
  margin: 20px auto 0;
}
.shop-divider-eyebrow {
  font-size: 11px; letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #e8c46c;
  font-weight: 500;
  margin-bottom: 10px;
}
.shop-divider-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 500;
  font-size: clamp(32px, 4.5vw, 48px);
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 720px;
}
.shop-divider-sub {
  font-size: 15px; color: rgba(255,255,255,0.55);
  max-width: 520px; margin-top: 14px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Hide the old separator content pattern */
.shop-divider-rule, .shop-divider-content, .shop-divider-text { display: contents; }

@media (max-width: 720px) {
  .shop-divider { padding: 60px 0 40px; }
  .shop-divider-num { font-size: 90px; }
  .shop-divider-label { font-size: 26px; }
  .shop-divider-eyebrow { font-size: 10px; letter-spacing: 0.3em; }
}

/* ===== Variant switcher ===== */
.variant-switch {
  position: fixed; top: 88px; right: 24px;
  z-index: 60;
  display: flex; gap: 4px; padding: 5px;
  background: rgba(13,10,26,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  font-size: 12px;
}
.variant-switch a {
  padding: 7px 14px; border-radius: var(--radius-pill);
  color: var(--text-dim); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  transition: all 0.3s var(--ease);
}
.variant-switch a.active {
  background: var(--gradient-accent); color: var(--white);
}
.variant-switch a:not(.active):hover { color: var(--white); }

/* ===== Boutique hero (Atelier Vocal) ===== */
.shop-hero {
  position: relative; min-height: 72vh;
  padding: 140px 0 var(--space-2xl);
  overflow: hidden;
  display: flex; align-items: center;
}
.shop-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.shop-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.9);
  animation: contactKenBurns 28s ease-in-out infinite alternate;
}
.shop-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(13,10,26,0.9) 0%, rgba(13,10,26,0.65) 55%, rgba(13,10,26,0.3) 100%),
    linear-gradient(to bottom, rgba(13,10,26,0.3), rgba(13,10,26,0.7));
}
.shop-hero-glow {
  position: absolute; top: 0; right: -15%;
  width: 65%; height: 100%;
  background: radial-gradient(circle, rgba(232,67,147,0.35), transparent 60%);
  filter: blur(100px); mix-blend-mode: screen;
  z-index: 1; pointer-events: none;
}
.shop-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--space-2xl); align-items: center;
}
.shop-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(232,67,147,0.4);
  border-radius: var(--radius-pill);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  margin-bottom: var(--space-md);
}
.shop-hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
.shop-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--white); text-wrap: balance;
  margin-bottom: var(--space-md);
}
.shop-hero h2 em { font-style: italic; color: var(--accent-2); }
.shop-hero-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: var(--space-lg);
  text-wrap: pretty;
}
.shop-hero-features {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: var(--space-lg);
}
.shop-hero-feature {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: rgba(21,15,40,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(168,85,247,0.22);
  font-size: 13px; color: var(--text);
}
.shop-hero-feature svg {
  width: 14px; height: 14px; color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 2.5;
}

.atelier-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 38px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600; font-size: 17px;
  letter-spacing: 0.01em;
  box-shadow:
    0 20px 50px -10px rgba(232,67,147,0.6),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.atelier-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease);
}
.atelier-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 28px 60px -10px rgba(232,67,147,0.7);
}
.atelier-cta:hover::before { transform: translateX(100%); }
.atelier-cta svg {
  width: 20px; height: 20px;
  transition: transform 0.4s var(--ease);
}
.atelier-cta:hover svg { transform: translate(4px, -2px); }

/* Atelier visual mockup */
.atelier-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.8),
    0 0 0 1px rgba(232,67,147,0.3),
    0 0 80px -10px rgba(232,67,147,0.3);
  transform: rotate(2deg);
  transition: transform 0.6s var(--ease);
}
.atelier-visual:hover { transform: rotate(0deg) scale(1.02); }
.atelier-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.atelier-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,10,26,0.7), transparent 50%);
}
.atelier-visual-label {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  z-index: 2; color: var(--white);
}
.atelier-visual-label-tag {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.atelier-visual-label-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em;
}

/* ===== Section intro ===== */
.shop-section-header {
  text-align: center;
  max-width: 640px; margin: 0 auto var(--space-xl);
}
.shop-section-header .section-eyebrow { justify-content: center; }
.shop-section-header .section-sub { margin: 0 auto; }

/* H1 promu (Q6) : matche la typographie hero pour preserver l'impact visuel apres inversion */
.shop-products h1.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

/* ===== Products grid ===== */
.shop-products {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.shop-products-bg {
  position: absolute; top: 10%; left: -5%;
  width: 50%; height: 80%;
  background: radial-gradient(circle, rgba(168,85,247,0.1), transparent 60%);
  filter: blur(100px); pointer-events: none;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(30,21,53,0.85), rgba(21,15,40,0.65));
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,67,147,0.45);
  box-shadow: 0 30px 60px -20px rgba(232,67,147,0.3);
}
.product-card.bestseller {
  border-color: rgba(232,67,147,0.4);
}
.product-card.bestseller::before {
  content: 'Bestseller';
  position: absolute; top: 16px; right: 16px;
  z-index: 3;
  padding: 6px 12px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 600;
  box-shadow: 0 8px 20px -5px rgba(232,67,147,0.5);
}

.product-preview {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(232,67,147,0.15));
}
.product-preview img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-preview img { transform: scale(1.05); }
.product-preview::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,10,26,0.6), transparent 60%);
}

/* Content preview chips */
.preview-chips {
  position: absolute; bottom: 14px; left: 14px;
  z-index: 2;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.preview-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: rgba(13,10,26,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  font-size: 11px; color: var(--white);
  font-weight: 500;
}
.preview-chip svg {
  width: 11px; height: 11px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
}
.preview-chip.video svg { color: var(--accent); }
.preview-chip.pdf svg { color: var(--gold); }

.product-body {
  padding: 28px 26px;
  flex: 1; display: flex; flex-direction: column;
}
.product-level {
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px; font-weight: 500;
}
.product-name {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600;
  color: var(--white); line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 14px; color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.product-includes {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.product-includes li {
  font-size: 13px; color: var(--text);
  padding-left: 22px; position: relative;
}
.product-includes li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.product-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(168,85,247,0.15);
}
.product-price {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display);
  color: var(--white);
}
.product-price .amount {
  font-size: 36px; font-weight: 600; line-height: 1;
}
.product-price .currency {
  font-size: 20px; color: var(--accent);
}
.product-price .once {
  font-family: var(--font-body);
  font-size: 12px; color: var(--text-faint);
  margin-left: 8px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.buy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -5px var(--accent-glow);
}
.buy-btn svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
}

/* ===== Buy button — état verrouillé (countdown pré-commande) =====
   Activé par setupBuyUnlock() (app.js) tant que la date d'unlock
   (data-buy-unlock sur le <a>) n'est pas atteinte. Garde l'identité
   visuelle (gradient accent) mais désaturée + cursor not-allowed.
   Désactive le hover lift pour signaler qu'il n'est pas cliquable.
   Variante chiffres tabulaires pour que le compteur ne tressaute pas. */
.buy-btn.is-locked {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.55), rgba(236, 72, 153, 0.55));
  cursor: not-allowed;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.buy-btn.is-locked:hover {
  transform: none;
  box-shadow: none;
}
.buy-btn-lock-icon {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2;
}
.buy-btn-countdown {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== Physical teaser ===== */
.shop-physical {
  padding: var(--space-2xl) 0;
  position: relative;
}
.physical-card {
  max-width: 960px; margin: 0 auto;
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(42,31,69,0.8), rgba(21,15,40,0.6));
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.physical-card::before {
  content: ''; position: absolute;
  top: -30%; right: -20%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(232,67,147,0.15), transparent 60%);
  filter: blur(60px); pointer-events: none;
}
.physical-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: rgba(232,196,108,0.1);
  border: 1px solid rgba(232,196,108,0.3);
  border-radius: var(--radius-pill);
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-bottom: var(--space-md);
  position: relative; z-index: 1;
}
.physical-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500; line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.physical-title em { font-style: italic; color: var(--gold); }
.physical-sub {
  color: var(--text-dim);
  max-width: 540px; margin: 0 auto var(--space-lg);
  position: relative; z-index: 1;
}
.physical-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--space-md);
  position: relative; z-index: 1;
}
.physical-placeholder {
  aspect-ratio: 1;
  background: repeating-linear-gradient(
    45deg,
    rgba(168,85,247,0.06),
    rgba(168,85,247,0.06) 10px,
    rgba(168,85,247,0.1) 10px,
    rgba(168,85,247,0.1) 20px
  );
  border: 1px dashed rgba(168,85,247,0.35);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .shop-hero-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .atelier-visual { max-width: 440px; margin: 0 auto; transform: rotate(0); }
  .shop-grid { grid-template-columns: 1fr; }
  .physical-placeholders { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .shop-hero { min-height: auto; padding: 110px 0 var(--space-xl); }
  .shop-hero h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.15; }
  .shop-products h1.section-heading { font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.12; }
  .shop-hero-sub { font-size: 16px; max-width: 100%; }
  .shop-hero-features { gap: 8px; }
  .shop-hero-feature { padding: 8px 14px; font-size: 13px; }
  .atelier-mockup { display: none; }
}
@media (max-width: 640px) {
  .variant-switch { top: 76px; right: 12px; font-size: 10px; }
  .variant-switch a { padding: 6px 10px; }
  .shop-hero { padding: 100px 0 var(--space-lg); }
  .shop-hero h2 { font-size: 1.4rem; }
  .shop-products h1.section-heading { font-size: 2.2rem; line-height: 1.1; }
  .shop-hero-badge { padding: 6px 14px; font-size: 12px; }
  .shop-hero-badge span { font-size: 12px !important; }
  .atelier-cta { padding: 18px 28px; font-size: 15px; width: 100%; justify-content: center; }
  .physical-card { padding: 40px 24px; }
  .physical-placeholders { grid-template-columns: 1fr; }
  .product-footer { flex-direction: column; gap: 16px; align-items: flex-start; }
  .buy-btn { width: 100%; justify-content: center; }
}

/* ======== COMING SOON & BONUS ATELIER VOCAL ======== */
.product-card.coming-soon {
  opacity: 0.65;
  transition: opacity var(--duration) var(--ease);
}
.product-card.coming-soon:hover {
  opacity: 0.85;
  transform: none;
}
.coming-soon-badge {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--gold);
  padding: 12px 0;
  display: inline-block;
}
.product-includes li.bonus {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(218, 165, 32, 0.2);
  list-style: none;
}
.product-includes li.bonus a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.product-includes li.bonus a:hover {
  color: var(--accent);
  text-decoration: underline;
}
/* Flou des details sur les packs "Arrive bientot" — protection visuelle pour ne pas s'engager sur du contenu non finalise */
.product-card.coming-soon .preview-chips,
.product-card.coming-soon .product-includes {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

/* ========================================================
   BONUS PROMO LIMITÉ — encart bonus + ruban doré
   Activé sur la carte "Démarre ta voix" du 10 au 30 juin
   2026 (fin : minuit, heure de La Réunion, UTC+4).
   setupLimitedOffer() (app.js) adapte le countdown
   selon la date du jour : teaser avant, urgence pendant,
   masquage après expiration (live via setTimeout + reload).
   ======================================================== */

/* Ruban doré "Offre limitée" — top-right de la preview.
   Reste à l'intérieur du overflow:hidden de .product-card. */
.bonus-ribbon {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: linear-gradient(135deg, #f6d98c 0%, #e8c46c 45%, #c89a3a 100%);
  color: #2a1536;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow:
    0 8px 20px -4px rgba(232,196,108,0.55),
    inset 0 0 0 1px rgba(255,239,170,0.35);
  animation: bonusRibbonPulse 2.6s ease-in-out infinite;
  white-space: nowrap;
}
.bonus-ribbon-icon {
  font-size: 13px; line-height: 1;
}
@keyframes bonusRibbonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 8px 20px -4px rgba(232,196,108,0.55),
      inset 0 0 0 1px rgba(255,239,170,0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 12px 30px -4px rgba(232,196,108,0.85),
      inset 0 0 0 1px rgba(255,239,170,0.55);
  }
}

/* Encart bonus — bloc principal sous la liste des inclusions.
   Fond gradient doré/rose subtil + bordure dorée + glow externe. */
.bonus-promo {
  position: relative;
  margin: 0 0 24px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(160deg,
      rgba(232,196,108,0.10) 0%,
      rgba(232,67,147,0.05) 65%,
      rgba(168,85,247,0.06) 100%);
  border: 1px solid rgba(232,196,108,0.35);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(232,196,108,0.06),
    0 14px 36px -18px rgba(232,67,147,0.35),
    0 0 50px -14px rgba(232,196,108,0.18);
  isolation: isolate;
  animation: bonusGlowBreathe 3.5s ease-in-out infinite;
}

/* Respiration dorée — la bordure et le halo s'intensifient doucement */
@keyframes bonusGlowBreathe {
  0%, 100% {
    border-color: rgba(232,196,108,0.35);
    box-shadow:
      inset 0 0 0 1px rgba(232,196,108,0.06),
      0 14px 36px -18px rgba(232,67,147,0.35),
      0 0 50px -14px rgba(232,196,108,0.18);
  }
  50% {
    border-color: rgba(232,196,108,0.62);
    box-shadow:
      inset 0 0 0 1px rgba(232,196,108,0.12),
      0 14px 36px -18px rgba(232,67,147,0.48),
      0 0 60px -10px rgba(232,196,108,0.40);
  }
}

/* Étincelles dorées — 3 ✦ qui scintillent en décalé (décoratif, aria-hidden) */
.bonus-promo .bonus-sparkle {
  position: absolute;
  z-index: 2;
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 8px rgba(232,196,108,0.8);
  animation: bonusSparkleTwinkle 3.6s ease-in-out infinite;
}
.bonus-sparkle--1 { top: 12px; right: 14px; }
.bonus-sparkle--2 { top: 48%; left: 8px; font-size: 9px; animation-delay: 1.2s; }
.bonus-sparkle--3 { bottom: 14px; right: 32px; font-size: 10px; animation-delay: 2.4s; }
@keyframes bonusSparkleTwinkle {
  0%, 36%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  10% { opacity: 1; transform: scale(1.15) rotate(40deg); }
  22% { opacity: 0.35; transform: scale(0.75) rotate(70deg); }
}

/* Shimmer doré qui balaye l'encart toutes les 5s — pas distrayant */
.bonus-promo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255,239,170,0.10) 50%,
    transparent 65%,
    transparent 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  animation: bonusShimmer 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.bonus-promo > * { position: relative; z-index: 1; }
@keyframes bonusShimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: -100% 0; }
}

/* Header pill : "Bonus limité · 22 mai → 5 juin" */
.bonus-promo-header {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: rgba(168,85,247,0.18);
  border: 1px solid rgba(168,85,247,0.4);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #f0d8ff;
  margin-bottom: 14px;
}
.bonus-promo-icon {
  color: var(--gold);
  font-size: 11px; line-height: 1;
}

/* Titre principal — typo serif italic dorée */
.bonus-promo-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  line-height: 1.15; letter-spacing: -0.01em;
  color: var(--gold);
  margin: 0 0 12px;
}
.bonus-promo-title em {
  font-style: italic; font-weight: 500;
  color: #fff5dc;
}

/* Comparaison de valeur : 35€/mois ~~barré~~ → inclus */
.bonus-promo-value {
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: rgba(13,10,26,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 13px; font-weight: 500;
  color: var(--text);
}
.bonus-promo-strike {
  position: relative;
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(232,67,147,0.85);
  text-decoration-thickness: 2px;
  font-weight: 600;
}
.bonus-promo-arrow {
  width: 16px; height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.bonus-promo-free {
  font-weight: 700;
  color: var(--gold);
}

/* Countdown live — texte mis à jour par setupLimitedOffer() */
.bonus-promo-countdown {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px;
  background: rgba(232,67,147,0.10);
  border: 1px solid rgba(232,67,147,0.28);
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffd1e2;
}
.bonus-promo-countdown svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
}
.bonus-promo.is-active .bonus-promo-countdown {
  background: rgba(232,67,147,0.18);
  border-color: rgba(232,67,147,0.5);
  color: #ffe5ee;
  animation: bonusCountdownPulse 2s ease-in-out infinite;
}
@keyframes bonusCountdownPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,67,147,0); }
  50% { box-shadow: 0 0 0 6px rgba(232,67,147,0.16); }
}

/* Note delivery (mail sous 48h) — lisible, pas effacée */
.bonus-promo-note {
  margin: 14px 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.bonus-promo-note strong {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.bonus-promo-note a {
  color: var(--gold);
  text-decoration: underline dotted;
  text-decoration-color: rgba(232,196,108,0.5);
  text-underline-offset: 4px;
  transition: color var(--duration) var(--ease), text-decoration-color var(--duration) var(--ease);
}
.bonus-promo-note a:hover {
  color: #fff5dc;
  text-decoration-color: rgba(255,245,220,0.7);
}

/* États conditionnels gérés par setupLimitedOffer() */
.bonus-promo.is-expired { display: none; }
.product-card.has-expired-bonus .bonus-ribbon { display: none; }

/* Pas de bonus sur les cartes "Arrive bientôt" (cohérence) */
.product-card.coming-soon .bonus-ribbon,
.product-card.coming-soon .bonus-promo {
  display: none;
}

/* prefers-reduced-motion : neutralise les animations */
@media (prefers-reduced-motion: reduce) {
  .bonus-ribbon,
  .bonus-promo,
  .bonus-promo::before,
  .bonus-promo .bonus-sparkle,
  .bonus-promo.is-active .bonus-promo-countdown {
    animation: none;
  }
}

/* Mobile (<540px) — compaction du bloc */
@media (max-width: 540px) {
  .bonus-promo {
    padding: 16px 14px 14px;
  }
  .bonus-promo-title { font-size: 21px; }
  .bonus-promo-value {
    gap: 6px; font-size: 12px;
    padding: 8px 10px;
  }
  .bonus-promo-arrow { width: 14px; height: 14px; }
  .bonus-promo-countdown { font-size: 11px; }
  .bonus-ribbon {
    top: 12px; right: 12px;
    padding: 6px 10px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}
