/* ============================================================
   HOME PREMIUM — Surcouche haut de gamme pour la page d'accueil
   Chargée APRÈS style.css. Tout est scopé sous body.home-premium
   afin de n'affecter que l'accueil (jamais les autres pages).
   La vidéo hero n'est jamais modifiée.
   ============================================================ */

body.home-premium {
  --hp-ink: #0b0b0c;
  --hp-cream: #f6f3ee;
  --hp-cream-2: #efe9e1;
  --hp-gold: #c2a36b;
  --hp-gold-bright: #d8bd86;
  --hp-line: rgba(0, 0, 0, 0.08);
  --hp-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  background: var(--hp-cream);
}

/* ---------- Typographie d'affichage (titres) ---------- */
body.home-premium .hero-content h1,
body.home-premium .section-header h2,
body.home-premium .section-title,
body.home-premium .newsletter-title {
  font-family: var(--hp-serif);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ================= HERO ================= */
body.home-premium .hero {
  height: 100svh;
  min-height: 640px;
}

/* Overlay plus cinématographique (la vidéo dessous reste intacte) */
body.home-premium .hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 38%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(130% 90% at 50% 24%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.45) 100%);
}

body.home-premium .hero-content {
  max-width: 920px;
  margin-top: 64px;
}

body.home-premium .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--hp-gold-bright);
  letter-spacing: 5px;
  font-weight: 600;
}
body.home-premium .hero-tag::before,
body.home-premium .hero-tag::after {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

body.home-premium .hero-content h1 {
  font-size: clamp(2.9rem, 6.4vw, 6.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}
body.home-premium .hero-content h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--hp-gold-bright);
}

body.home-premium .hero-subtitle {
  max-width: 560px;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  opacity: 0.95;
}

/* Boutons hero premium */
body.home-premium .hero-actions .btn-primary,
body.home-premium .hero-actions .btn-ghost {
  padding: 16px 34px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
body.home-premium .hero-actions .btn-primary {
  background: var(--hp-cream);
  color: #111;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
body.home-premium .hero-actions .btn-primary:hover {
  transform: translateY(-3px);
  background: var(--hp-gold);
  color: #111;
}
body.home-premium .hero-actions .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}
body.home-premium .hero-actions .btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
  color: #111;
}

/* ================= BANDES DÉFILANTES ================= */
body.home-premium .marquee-band {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}
body.home-premium .marquee-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: hp-marquee var(--hp-speed, 34s) linear infinite;
  will-change: transform;
}
body.home-premium .marquee-band:hover .marquee-track {
  animation-play-state: paused;
}
body.home-premium .marquee-track .mq {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

@keyframes hp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes hp-marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* -- Bande or : valeurs / réassurance -- */
body.home-premium .marquee-gold {
  background: linear-gradient(90deg, var(--hp-gold) 0%, var(--hp-gold-bright) 50%, var(--hp-gold) 100%);
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
body.home-premium .marquee-gold .mq span {
  color: #1a1305;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 0 22px;
}
body.home-premium .marquee-gold .mq .sep {
  color: rgba(26, 19, 5, 0.55);
  font-weight: 400;
}

/* -- Bande géante typographique (effet « grand site ») -- */
body.home-premium .marquee-mega {
  background: var(--hp-ink);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.home-premium .marquee-mega .marquee-track { --hp-speed: 38s; }
body.home-premium .marquee-mega .mq span {
  font-family: var(--hp-serif);
  font-size: clamp(2.1rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  padding: 0 26px;
  color: #fff;
}
/* un mot sur deux en contour (outline) doré -> look éditorial premium */
body.home-premium .marquee-mega .mq span.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}
body.home-premium .marquee-mega .mq span.gold {
  color: var(--hp-gold-bright);
}
body.home-premium .marquee-mega .mq .star {
  color: var(--hp-gold);
  font-size: clamp(1.1rem, 3vw, 2.2rem);
  padding: 0 8px;
  transform: translateY(-0.35em);
}

/* ================= EN-TÊTES DE SECTION ================= */
body.home-premium .section-header,
body.home-premium .section-header-center {
  margin-bottom: 46px;
}
body.home-premium .section-tag {
  color: var(--hp-gold);
  letter-spacing: 4px;
  position: relative;
  font-weight: 700;
}
body.home-premium .section-header-center .section-tag::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--hp-gold);
}
body.home-premium .section-header h2,
body.home-premium .section-title {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
}

/* ================= TRUST BADGES ================= */
body.home-premium .trust-badges {
  background: var(--hp-cream);
  border-bottom: 1px solid var(--hp-line);
  padding: 56px 32px;
}
body.home-premium .trust-icon {
  background: #fff;
  border: 1px solid var(--hp-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
body.home-premium .trust-item:hover .trust-icon {
  background: var(--hp-ink);
  border-color: var(--hp-ink);
}
body.home-premium .trust-item:hover .trust-icon svg {
  color: var(--hp-gold-bright);
}
body.home-premium .trust-icon svg { transition: color 0.35s ease; }

/* ================= CATÉGORIES ================= */
body.home-premium .categories { background: var(--hp-cream); }
body.home-premium .category-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
}
body.home-premium .category-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 3;
  pointer-events: none;
}
body.home-premium .category-card:hover::after { opacity: 1; }
body.home-premium .category-card img { transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
body.home-premium .category-overlay span {
  font-family: var(--hp-serif);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ================= MEILLEURES VENTES ================= */
body.home-premium .bestsellers { background: var(--hp-cream-2); }
body.home-premium .bestsellers .product-card {
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease;
}
body.home-premium .bestsellers .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}
body.home-premium .bestsellers .product-card .product-image img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
body.home-premium .bestsellers .product-card:hover .product-image img { transform: scale(1.06); }
body.home-premium .bestsellers .product-name { font-weight: 600; }
body.home-premium .bestsellers .price-current { color: var(--hp-ink); font-weight: 700; }

/* ================= VALUE STRIP (chiffres clés) ================= */
body.home-premium .value-strip {
  background: var(--hp-ink);
  color: #fff;
  padding: 72px 32px;
}
body.home-premium .value-number {
  font-family: var(--hp-serif);
  color: var(--hp-gold-bright);
  font-weight: 700;
}
body.home-premium .value-label { color: rgba(255, 255, 255, 0.7); }
body.home-premium .value-divider { background: rgba(255, 255, 255, 0.16); }

/* ================= TÉMOIGNAGES ================= */
body.home-premium .testimonials { background: var(--hp-cream); }
body.home-premium .testimonial-card {
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  position: relative;
}
body.home-premium .testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 24px;
  font-family: var(--hp-serif);
  font-size: 86px;
  line-height: 1;
  color: var(--hp-gold);
  opacity: 0.18;
}
body.home-premium .testimonial-stars { color: var(--hp-gold); letter-spacing: 2px; }
body.home-premium .testimonial-text { font-style: italic; }

/* ================= INSTAGRAM ================= */
body.home-premium .instagram-feed { background: var(--hp-cream-2); }
body.home-premium .instagram-item { border-radius: 4px; overflow: hidden; }
body.home-premium .instagram-item img { transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
body.home-premium .instagram-item:hover img { transform: scale(1.08); }

/* ================= NEWSLETTER (bloc luxe sombre) ================= */
body.home-premium .newsletter {
  background:
    linear-gradient(rgba(11, 11, 12, 0.86), rgba(11, 11, 12, 0.92)),
    radial-gradient(60% 120% at 50% 0%, rgba(194, 163, 107, 0.25), transparent 60%),
    var(--hp-ink);
  color: #fff;
}
body.home-premium .newsletter-icon svg { color: var(--hp-gold-bright); }
body.home-premium .newsletter-title { color: #fff; }
body.home-premium .newsletter-subtitle { color: rgba(255, 255, 255, 0.75); }
body.home-premium .newsletter-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
body.home-premium .newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
body.home-premium .btn-newsletter {
  background: var(--hp-gold);
  color: #1a1305;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
body.home-premium .btn-newsletter:hover { background: var(--hp-gold-bright); }
body.home-premium .newsletter-privacy { color: rgba(255, 255, 255, 0.5); }

/* ================= BOUTONS GÉNÉRIQUES ================= */
body.home-premium .btn-primary-large {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  background: var(--hp-ink);
  padding: 18px 42px;
  transition: transform 0.35s ease, background 0.35s ease;
}
body.home-premium .btn-primary-large:hover {
  transform: translateY(-3px);
  background: var(--hp-gold);
  color: #1a1305;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  body.home-premium .hero-content { margin-top: 48px; padding: 0 22px; }
  body.home-premium .hero-tag { letter-spacing: 3px; gap: 10px; }
  body.home-premium .hero-tag::before,
  body.home-premium .hero-tag::after { width: 24px; }
  body.home-premium .marquee-gold .mq span { font-size: 11px; letter-spacing: 2px; padding: 0 14px; }
  body.home-premium .marquee-mega { padding: 20px 0; }
  body.home-premium .marquee-mega .mq span { padding: 0 16px; }
  body.home-premium .section-header-center,
  body.home-premium .section-header { margin-bottom: 32px; }
}

/* Accessibilité : stopper les défilements si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  body.home-premium .marquee-track { animation: none !important; transform: none !important; }
}
