/* Page d’accueil — effets modernes, performants (GPU-friendly où possible) */

/* Aligné sur lib/core/theme/app_colors.dart — primary + secondary */
.home-page {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --home-primary: #1c486f;
  --home-primary-mid: #2a5f8f;
  --home-secondary: #ef8121;
  --home-secondary-light: #ff9a4d;
  --home-glow: rgba(239, 129, 33, 0.5);
  --home-glass: rgba(255, 255, 255, 0.07);
  --home-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  background:
    radial-gradient(1200px 800px at 100% 0%, rgba(28, 72, 111, 0.04), transparent 50%),
    radial-gradient(900px 600px at 0% 100%, rgba(239, 129, 33, 0.03), transparent 45%),
    #f8fafc;
}

.home-stat-dd {
  font-variant-numeric: tabular-nums;
  transition: opacity 0.35s ease;
}

.home-fade-up {
  animation: homeFadeUp 0.8s var(--home-ease-out) both;
}

.home-fade-up-delay-1 {
  animation-delay: 0.08s;
}

.home-fade-up-delay-2 {
  animation-delay: 0.16s;
}

@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-display-font {
  font-family: "Outfit", "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.025em;
}

/* Titre hero — gradient animé (GPU) */
.home-hero-gradient-text {
  display: inline-block;
  background: linear-gradient(
    105deg,
    #ff9a4d 0%,
    #ffd089 22%,
    #ef8121 45%,
    #ffb366 68%,
    #ff9a4d 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: homeGradientFlow 10s ease-in-out infinite;
}

@keyframes homeGradientFlow {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Hero — groupes de mots (rotation JS, voir ecom-text-rotator.js) */
.home-hero-text-rotator {
  display: inline;
}

.home-hero-text-rotator [data-ecom-text-rotator] .ecom-text-rotator-viewport {
  vertical-align: text-bottom;
  max-width: min(100%, 90vw);
}

.home-hero-text-rotator .ecom-text-rotator-line.home-hero-gradient-text {
  line-height: 1.06;
  min-height: 1.06em;
}

/* Section expérience — verbes en rotation */
.home-exp-rotator-wrap {
  display: inline-block;
  vertical-align: baseline;
  max-width: min(100%, 85vw);
}

.home-exp-rotator-line {
  font-weight: 800;
  background: linear-gradient(105deg, #1c486f 0%, #ef8121 45%, #1c486f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: homeGradientFlow 10s ease-in-out infinite;
  line-height: 1.15;
  min-height: 1.15em;
}

.home-cat-title-rotator {
  display: inline-block;
  vertical-align: baseline;
  max-width: min(100%, 92vw);
}

.home-cat-rotator-line {
  font-weight: 800;
  background: linear-gradient(100deg, #1c486f 0%, #2a5a85 40%, #ef8121 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  min-height: 1.2em;
}

.home-vedettes-title-rotator {
  display: inline-block;
  vertical-align: middle;
  max-width: min(100%, 85vw);
}

.home-vedettes-rotator-line {
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  min-height: 1.15em;
}

.home-badge-typewriter {
  letter-spacing: inherit;
}

/* Bandeau sous hero — défilement infini */
.home-marquee {
  position: relative;
  z-index: 12;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.72) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 0.7rem 0;
}

.home-marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-marquee-track {
  display: flex;
  width: max-content;
  animation: homeMarqueeX 38s linear infinite;
  will-change: transform;
}

.home-marquee-chunk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 2.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.82);
  white-space: nowrap;
}

.home-marquee-dot {
  color: rgba(239, 129, 33, 0.55);
  font-size: 0.45rem;
  padding: 0 0.15rem;
  user-select: none;
}

@keyframes homeMarqueeX {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ——— Hero ——— */
.home-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 100% 80% at 0% 100%, rgba(245, 158, 11, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(56, 189, 248, 0.1), transparent 45%),
    linear-gradient(155deg, #070d18 0%, #0f2844 38%, #1c486f 62%, #0c1929 100%);
  box-shadow: inset 0 -40px 80px -20px rgba(0, 0, 0, 0.35);
}

/* Rendu plus fluide : sections hors hero (navigateurs récents) */
#eleshop-main > section.home-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

#vedettes.home-section {
  contain-intrinsic-size: auto 640px;
}

#boutiques.home-section {
  contain-intrinsic-size: auto 440px;
}

#categories-strip.home-section {
  contain-intrinsic-size: auto 380px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: conic-gradient(from 210deg at 50% 120%, transparent, rgba(251, 191, 36, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Ligne lumineuse bas de hero — transition vers le contenu clair */
.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 154, 77, 0.35) 25%,
    rgba(56, 189, 248, 0.25) 50%,
    rgba(255, 154, 77, 0.35) 75%,
    transparent 100%
  );
  opacity: 0.85;
  pointer-events: none;
  z-index: 5;
}

.home-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  will-change: transform;
}

.home-hero-orb--a {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: rgba(28, 72, 111, 0.55);
  top: -8%;
  right: -5%;
  animation: homeOrbFloat 22s ease-in-out infinite;
}

.home-hero-orb--b {
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  background: rgba(239, 129, 33, 0.22);
  bottom: 5%;
  left: -8%;
  animation: homeOrbFloat 18s ease-in-out infinite reverse;
}

@keyframes homeOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-12px, 18px) scale(1.05);
  }
}

.home-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  pointer-events: none;
  z-index: 1;
}

/* Voile lumineux animé — profondeur sans coût layout */
.home-hero-aurora {
  position: absolute;
  inset: -5%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.42;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(56, 189, 248, 0.09) 38%,
    rgba(251, 191, 36, 0.07) 52%,
    rgba(28, 72, 111, 0.06) 68%,
    transparent 88%
  );
  animation: homeAuroraDrift 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes homeAuroraDrift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1.02);
    opacity: 0.36;
  }
  100% {
    transform: translate3d(2.5%, -1.5%, 0) scale(1.06);
    opacity: 0.48;
  }
}

.home-hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 9999px;
  background: var(--home-glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.home-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--home-secondary-light), var(--home-secondary));
  box-shadow: 0 0 16px var(--home-glow);
}

.home-stat-card {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.35s var(--home-ease-out), background 0.35s var(--home-ease-out);
}

.home-stat-card:hover {
  border-color: rgba(239, 129, 33, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.home-cta-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.home-cta-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--home-ease-out);
}

.home-cta-primary:hover::after {
  transform: translateX(100%);
}

.home-lottie-ring {
  position: relative;
  border-radius: 1.75rem;
  padding: 3px;
  background: linear-gradient(
    135deg,
    rgba(239, 129, 33, 0.55),
    rgba(255, 154, 77, 0.35),
    rgba(28, 72, 111, 0.5),
    rgba(56, 189, 248, 0.3)
  );
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.home-lottie-ring-inner {
  border-radius: 1.6rem;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  min-height: 200px;
}

/* ——— Sections communes ——— */
.home-section {
  position: relative;
}

.home-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--home-secondary), var(--home-secondary-light), #ffb366);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-section-title {
  position: relative;
  display: inline-block;
}

.home-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 3.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--home-primary), var(--home-secondary));
}

.home-reveal {
  opacity: 0;
  transform: translateY(1.35rem) translateZ(0);
  transition:
    opacity 0.75s var(--home-ease-out),
    transform 0.75s var(--home-ease-out);
  backface-visibility: hidden;
}

.home-reveal.home-reveal--in {
  opacity: 1;
  transform: translateY(0);
}

/* Entrée échelonnée des cartes « expérience app » */
@keyframes homeBentoIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#experience.home-reveal--in .home-bento-card {
  animation: homeBentoIn 0.55s var(--home-ease-out) backwards;
}

#experience.home-reveal--in .home-bento-card:nth-child(1) {
  animation-delay: 0.08s;
}
#experience.home-reveal--in .home-bento-card:nth-child(2) {
  animation-delay: 0.14s;
}
#experience.home-reveal--in .home-bento-card:nth-child(3) {
  animation-delay: 0.2s;
}
#experience.home-reveal--in .home-bento-card:nth-child(4) {
  animation-delay: 0.26s;
}
#experience.home-reveal--in .home-bento-card:nth-child(5) {
  animation-delay: 0.32s;
}
#experience.home-reveal--in .home-bento-card:nth-child(6) {
  animation-delay: 0.38s;
}

/* Catégories bandeau */
.home-cat-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.home-cat-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -8px rgba(28, 72, 111, 0.12);
  transition: transform 0.35s var(--home-ease-out), box-shadow 0.35s var(--home-ease-out), border-color 0.25s;
}

.home-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(28, 72, 111, 0.18);
  border-color: rgba(28, 72, 111, 0.2);
}

.home-cat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--home-primary), var(--home-primary-mid));
  color: white;
  box-shadow: 0 8px 20px -6px rgba(28, 72, 111, 0.45);
}

/* ——— Grille « bento » = parité avec les onglets / flux de l’app ——— */
.home-bento-wrap {
  position: relative;
}

.home-bento-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(28, 72, 111, 0.06), rgba(239, 129, 33, 0.05));
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.home-bento-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .home-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .home-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.home-bento-card {
  position: relative;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.35s var(--home-ease-out),
    box-shadow 0.35s var(--home-ease-out),
    border-color 0.3s;
  overflow: hidden;
}

.home-bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(28, 72, 111, 0.04), rgba(239, 129, 33, 0.06));
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.home-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 72, 111, 0.18);
  box-shadow: 0 16px 40px -12px rgba(28, 72, 111, 0.14);
}

.home-bento-card:hover::after {
  opacity: 1;
}

.home-bento-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: white;
  font-size: 1.25rem;
}

.home-bento-icon--primary {
  background: linear-gradient(145deg, var(--home-primary), var(--home-primary-mid));
  box-shadow: 0 6px 16px -4px rgba(28, 72, 111, 0.4);
}

.home-bento-icon--orange {
  background: linear-gradient(145deg, var(--home-secondary), var(--home-secondary-light));
  box-shadow: 0 6px 16px -4px rgba(239, 129, 33, 0.4);
}

.home-bento-icon--teal {
  background: linear-gradient(145deg, #0d9488, #14b8a6);
  box-shadow: 0 6px 16px -4px rgba(13, 148, 136, 0.35);
}

.home-bento-icon--amber {
  background: linear-gradient(145deg, #d97706, #f59e0b);
  box-shadow: 0 6px 16px -4px rgba(217, 119, 6, 0.35);
}

.home-bento-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.home-bento-text {
  font-size: 0.7rem;
  line-height: 1.45;
  color: #64748b;
}

@media (min-width: 1024px) {
  .home-bento-title {
    font-size: 0.8125rem;
  }
  .home-bento-text {
    font-size: 0.72rem;
  }
}

/* CTA hero secondaire — orange marque */
.home-hero-cta-orange {
  border-color: rgba(239, 129, 33, 0.45) !important;
  background: rgba(239, 129, 33, 0.12) !important;
}

.home-hero-cta-orange:hover {
  background: rgba(239, 129, 33, 0.2) !important;
  border-color: rgba(239, 129, 33, 0.65) !important;
  box-shadow: 0 8px 28px -6px rgba(239, 129, 33, 0.35);
}

/* Vedettes fond */
.home-vedettes-bg {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(28, 72, 111, 0.06), transparent),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.home-vedettes-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 45% at 95% 5%, rgba(239, 129, 33, 0.07), transparent 55%),
    radial-gradient(ellipse 55% 40% at 5% 95%, rgba(28, 72, 111, 0.05), transparent 50%);
}

.home-vedettes-bg > * {
  position: relative;
  z-index: 1;
}

/* Boutons */
.home-btn-outline {
  transition:
    transform 0.25s var(--home-ease-out),
    box-shadow 0.25s var(--home-ease-out),
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}

.home-btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(28, 72, 111, 0.25);
}

.home-btn-gradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    115deg,
    var(--home-primary) 0%,
    var(--home-primary-mid) 38%,
    #2a5580 55%,
    var(--home-primary) 100%
  );
  background-size: 220% 100%;
  transition:
    transform 0.25s var(--home-ease-out),
    box-shadow 0.25s var(--home-ease-out),
    background-position 0.55s ease;
  box-shadow:
    0 10px 32px -8px rgba(28, 72, 111, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.home-btn-gradient:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow:
    0 16px 40px -10px rgba(28, 72, 111, 0.48),
    0 0 24px -8px rgba(239, 129, 33, 0.2);
}

.home-btn-store {
  border-color: rgba(239, 129, 33, 0.35);
  color: #c2410c;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.home-btn-store:hover {
  border-color: var(--home-secondary);
  background: #fff;
  box-shadow: 0 8px 24px -6px rgba(239, 129, 33, 0.25);
}

/* Panneau filtres */
.home-filter-panel {
  position: relative;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.home-filter-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(28, 72, 111, 0.15), rgba(239, 129, 33, 0.12), rgba(28, 72, 111, 0.08));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Boutiques */
.home-boutiques-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, #ffffff 100%);
}

/* App block */
.home-app-panel {
  position: relative;
  border-radius: 1.75rem;
  padding: 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow:
    0 20px 50px -24px rgba(28, 72, 111, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}

.home-app-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--home-primary), var(--home-secondary-light), var(--home-secondary));
  opacity: 0.9;
  pointer-events: none;
}

.home-app-panel::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(239, 129, 33, 0.09), transparent 70%);
  pointer-events: none;
}

.home-app-panel > * {
  position: relative;
  z-index: 1;
}

.home-app-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.home-app-check:last-of-type {
  border-bottom: none;
}

/* Cartes produit (injectées par JS) */
.home-page .product-card {
  border-radius: 1.15rem;
  border: 1px solid #e8ecf1;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.4s var(--home-ease-out),
    box-shadow 0.4s var(--home-ease-out),
    border-color 0.3s;
}

.home-page .product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 24px 48px -16px rgba(28, 72, 111, 0.2),
    0 0 0 1px rgba(239, 129, 33, 0.08);
  border-color: rgba(28, 72, 111, 0.18);
}

.home-page .product-card > div:first-child {
  overflow: hidden;
}

.home-page .product-card > div:first-child img {
  transition: transform 0.55s var(--home-ease-out);
  transform: translateZ(0);
}

.home-page .product-card:hover > div:first-child img {
  transform: scale(1.06);
}

.home-page .boutique-card {
  border-radius: 1.15rem;
  transition: transform 0.35s var(--home-ease-out), box-shadow 0.35s var(--home-ease-out);
}

.home-page .boutique-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -14px rgba(28, 72, 111, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee-track {
    animation: none;
    transform: none;
    width: 100%;
    justify-content: center;
  }

  .home-marquee-chunk:last-child {
    display: none;
  }

  .home-hero-gradient-text {
    animation: none;
    background-position: center;
  }

  .home-exp-rotator-line {
    animation: none;
    background-position: center;
    color: #1c486f;
    -webkit-text-fill-color: #1c486f;
  }

  .home-cat-rotator-line {
    background: none;
    -webkit-text-fill-color: #1c486f;
    color: #1c486f;
  }

  .home-hero-orb--a,
  .home-hero-orb--b {
    animation: none;
  }

  .home-fade-up,
  .home-fade-up-delay-1,
  .home-fade-up-delay-2 {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #experience.home-reveal--in .home-bento-card {
    animation: none;
  }

  .home-cta-primary::after {
    display: none;
  }

  .home-page .product-card:hover,
  .home-page .boutique-card:hover {
    transform: none;
  }

  .home-page .product-card:hover > div:first-child img {
    transform: none;
  }
}
