/* ==========================================================================
   AURA PREMIUM — couche de design finale (chargée en dernier)
   Pour changer l'identité du thème, modifiez uniquement les variables --au-*
   ci-dessous (couleurs, rayons, ombres). Tout le reste s'adapte.
   ========================================================================== */
:root {
  --au-primary: #1B1F4B;
  --au-primary-2: #2B2F7A;
  --au-deep: #12132F;
  --au-accent: #E11D48;
  --au-accent-2: #FB7185;
  --au-accent-dark: #BE123C;
  --au-gold: #F5B94A;
  --au-bg: #F7F6FB;
  --au-surface: #FFFFFF;
  --au-ink: #1A1830;
  --au-muted: #5F5B7A;
  --au-line: #E6E4F1;
  --au-radius: 20px;
  --au-radius-sm: 12px;
  --au-shadow: 0 10px 30px -14px rgba(27, 31, 75, .22);
  --au-shadow-lg: 0 28px 54px -20px rgba(27, 31, 75, .38);
  --au-grad: linear-gradient(135deg, #E11D48 0%, #F43F5E 48%, #FB7185 100%);
  --au-grad-dark: linear-gradient(135deg, #12132F 0%, #1B1F4B 55%, #2B2F7A 100%);
  --au-ease: cubic-bezier(.2, .7, .2, 1);

  /* alignement des anciennes variables du thème */
  --ep-navy: var(--au-primary);
  --ep-navy-2: var(--au-primary-2);
  --ep-navy-deep: var(--au-deep);
  --ep-accent: var(--au-accent);
  --ep-accent-dark: var(--au-accent-dark);
  --ep-accent-hover: var(--au-accent-dark);
  --ep-price: var(--au-accent-dark);
  --ep-cream: var(--au-bg);
  --ep-page: var(--au-bg);
  --ep-ink: var(--au-ink);
  --ep-muted: var(--au-muted);
  --ep-border: var(--au-line);
  --ep-radius: var(--au-radius);
  --ep-radius-sm: var(--au-radius-sm);
  --ep-shadow-soft: var(--au-shadow);
  --ep-shadow-hover: var(--au-shadow-lg);
  --ep-shadow: var(--au-shadow);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body, body[class] {
  color: var(--au-ink);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(225, 29, 72, .07), transparent 62%),
    radial-gradient(900px 520px at -8% 2%, rgba(43, 47, 122, .08), transparent 58%),
    var(--au-bg);
  background-attachment: fixed;
}
.main-content { background: transparent !important; }
:focus-visible { outline: 3px solid rgba(225, 29, 72, .45); outline-offset: 2px; border-radius: 6px; }

/* ---------- Barre d'annonce ---------- */
.yc-notice-bar, .notice-bar {
  background: var(--au-grad-dark) !important;
  color: #fff;
  letter-spacing: .02em;
  font-weight: 600;
}

/* ---------- En-tête (effet verre) ---------- */
.yc-header {
  background: rgba(255, 255, 255, .86) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--au-line);
  box-shadow: 0 12px 32px -22px rgba(27, 31, 75, .45) !important;
}
.yc-header a { transition: color .2s var(--au-ease); }
.yc-header a:hover { color: var(--au-accent) !important; }

/* ---------- Boutons ---------- */
.yc-btn, button.yc-btn, a.yc-btn, .express-checkout-button {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--au-grad) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 14px 26px -12px rgba(225, 29, 72, .75);
  transition: transform .25s var(--au-ease), box-shadow .25s var(--au-ease), filter .25s;
}
.yc-btn:hover, .express-checkout-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05) saturate(1.05);
  box-shadow: 0 20px 34px -14px rgba(225, 29, 72, .85);
}
.yc-btn:active, .express-checkout-button:active { transform: translateY(0) scale(.98); }
.yc-btn-secondary, .yc-btn-secondary--large {
  border-radius: 999px !important;
  border: 1.5px solid var(--au-primary) !important;
  color: var(--au-primary) !important;
  background: transparent !important;
  font-weight: 700;
  transition: background .25s var(--au-ease), color .25s var(--au-ease), transform .25s var(--au-ease);
}
.yc-btn-secondary:hover, .yc-btn-secondary--large:hover {
  background: var(--au-primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ---------- Titres de section ---------- */
.yc-section-title, .section-title, .featured-products-title,
.yc-featured-products .yc-section-title, .yc-featured-collections .yc-section-title {
  color: var(--au-primary) !important;
  font-weight: 800 !important;
  letter-spacing: -.028em;
  line-height: 1.15;
}

/* ---------- Cartes produit ---------- */
.yc-product-card, .product-holder, .ep-product-card, .product-card {
  background: var(--au-surface);
  border: 1px solid var(--au-line) !important;
  border-radius: var(--au-radius) !important;
  box-shadow: var(--au-shadow);
  overflow: hidden;
  transition: transform .4s var(--au-ease), box-shadow .4s var(--au-ease), border-color .3s;
}
.yc-product-card:hover, .product-holder:hover, .ep-product-card:hover, .product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--au-shadow-lg);
  border-color: rgba(225, 29, 72, .35) !important;
}
.yc-product-card img, .product-holder img, .ep-product-card img, .product-card img {
  transition: transform .7s var(--au-ease);
}
.yc-product-card:hover img, .product-holder:hover img,
.ep-product-card:hover img, .product-card:hover img { transform: scale(1.06); }

/* ---------- Catégories (cartes de collection) ---------- */
.collection-block, .yc-featured-container .collection-block {
  border-radius: var(--au-radius) !important;
  overflow: hidden;
  box-shadow: var(--au-shadow);
  transition: transform .4s var(--au-ease), box-shadow .4s var(--au-ease);
}
.collection-block:hover { transform: translateY(-5px); box-shadow: var(--au-shadow-lg); }

/* ---------- Diaporama d'accueil ---------- */
@media (min-width: 768px) {
  .desktop-slider { border-radius: 0 0 32px 32px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(18, 19, 47, .6); }
}

/* ---------- Accès rapide aux univers ---------- */
.ep-home-quicklinks__eyebrow {
  display: inline-block;
  color: var(--au-accent) !important;
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 11px;
}
.ep-home-quicklinks__heading h2 { color: var(--au-primary) !important; letter-spacing: -.03em; }
.ep-home-quicklinks__card {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: var(--au-shadow);
  background: var(--au-grad-dark);
  transition: transform .45s var(--au-ease), box-shadow .45s var(--au-ease);
}
.ep-home-quicklinks__card:hover { transform: translateY(-7px); box-shadow: var(--au-shadow-lg); }
.ep-home-quicklinks__shade { background: linear-gradient(180deg, transparent 30%, rgba(18, 19, 47, .86) 100%) !important; }
.ep-home-quicklinks__copy b {
  background: var(--au-grad) !important;
  border-radius: 999px !important;
  letter-spacing: .02em;
}
.ep-home-quicklinks__all { color: var(--au-accent) !important; font-weight: 700; }

/* ---------- Bande de marques ---------- */
.ep-brands__card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--au-line);
  filter: grayscale(1);
  opacity: .72;
  transition: filter .3s, opacity .3s, transform .3s var(--au-ease), box-shadow .3s;
}
.ep-brands__card:hover { filter: none; opacity: 1; transform: translateY(-3px); box-shadow: var(--au-shadow); }

/* ---------- Pied de page ---------- */
.yc-footer {
  position: relative;
  overflow: hidden;
  background: var(--au-grad-dark) !important;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  margin-top: 40px;
}
.yc-footer::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(225, 29, 72, .28), transparent 65%);
  pointer-events: none;
}
.yc-footer > * { position: relative; }
.ep-social-link { transition: transform .25s var(--au-ease), box-shadow .25s; }
.ep-social-link:hover { transform: translateY(-3px) scale(1.06); }

/* ---------- Boutons flottants (WhatsApp / appel) ---------- */
.ep-fab-whatsapp, .ep-fab-call { box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: no-preference) {
  .ep-fab-whatsapp { animation: au-pulse 2.6s infinite; }
  @keyframes au-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5), 0 16px 30px -12px rgba(0, 0, 0, .45); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 16px 30px -12px rgba(0, 0, 0, .45); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 16px 30px -12px rgba(0, 0, 0, .45); }
  }
}

/* ---------- Fil d'Ariane, accordéons, champs ---------- */
.breadcrumbs { color: var(--au-muted); }
.accordion-item { border-radius: var(--au-radius-sm); border: 1px solid var(--au-line); background: #fff; }
input, select, textarea { border-radius: var(--au-radius-sm); }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --au-radius: 16px; }
  .yc-footer { border-top-left-radius: 26px; border-top-right-radius: 26px; }
  body, body[class] { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
}
