body {
      background-color: #FFFFFF;
      font-family: 'Plus Jakarta Sans', sans-serif;
      color: #0F172A;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* Défilement infini fluide des affiches (GPU accelerated) */
    @keyframes marqueePosters {
      0% { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-50%, 0, 0); }
    }
    .animate-marquee-posters {
      display: flex;
      width: max-content;
      will-change: transform;
      transform: translate3d(0, 0, 0);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      animation: marqueePosters 35s linear infinite;
    }
    .animate-marquee-posters:hover {
      animation-play-state: paused;
    }

    /* Halo rouge doux et discret */
    @keyframes ambilightPulse {
      0%, 100% { opacity: 0.55; transform: scale(0.98); }
      50% { opacity: 0.85; transform: scale(1.03); }
    }
    .animate-ambilight {
      animation: ambilightPulse 7s ease-in-out infinite;
    }

    /* Flou cinéma sur les affiches en arrière-plan */
    .poster-blur {
      filter: blur(1.5px);
      opacity: 0.88;
      transition: all 0.3s ease;
    }
    .poster-blur:hover {
      filter: blur(0px);
      opacity: 1;
      transform: scale(1.04);
    }

    /* Fondu doux sur les côtés */
    .mask-fade {
      mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    }

    /* Utilitaires no-scrollbar */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    /* Apparition douce au chargement */
    @keyframes fadeUp { from { opacity:0; transform: translateY(14px); filter: blur(4px);} to { opacity:1; transform:none; filter:none;} }
    .reveal { opacity:0; animation: fadeUp .8s cubic-bezier(.16,1,.3,1) forwards; animation-delay: var(--d,0ms); }
    #navPill.scrolled { background: rgba(255,255,255,.95); box-shadow: 0 8px 30px -12px rgba(15,23,42,.18); }
    a, button { -webkit-tap-highlight-color: transparent; }

    /* Animations section Comment ça fonctionne */
    @keyframes flowSignal {
      0% { left: 0%; opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
      10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
      90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
      100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
    }
    .flow-dot {
      animation: flowSignal 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    @keyframes stepPulse {
      0%, 100% { box-shadow: 0 8px 24px -6px rgba(220, 38, 38, 0.22), 0 0 0 4px rgba(254, 226, 226, 0.7); }
      50% { box-shadow: 0 12px 30px -4px rgba(220, 38, 38, 0.38), 0 0 0 7px rgba(254, 226, 226, 0.9); }
    }
    .step-circle-anim {
      animation: stepPulse 3.6s ease-in-out infinite;
      animation-delay: var(--sd, 0s);
    }
    .step-card {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
      transition-delay: var(--td, 0ms);
    }
    .step-card.is-visible {
      opacity: 1;
      transform: translateY(0);
    }


    /* Pop-up étapes mobile */
    @keyframes stepPopIn { 0% { opacity:0; transform: translateY(8px) scale(.96);} 60% { opacity:1; transform: translateY(0) scale(1.015);} 100% { opacity:1; transform:none;} }
    .step-pop.pop { animation: stepPopIn .45s cubic-bezier(.16,1,.3,1); }
    @keyframes stepTimer { from { width:0 } to { width:100% } }
    #stepTimer.run { animation: stepTimer 4s linear forwards; }

    /* Guide d'installation : apparition du panneau et des étapes */
    @keyframes devicePop { 0% { opacity:.35; } 100% { opacity:1; } }
    #devicePanel.pop { animation: devicePop .4s cubic-bezier(.16,1,.3,1); }
    @keyframes stepIn { from { opacity:0; transform: translateX(-8px);} to { opacity:1; transform:none;} }
    #devicePanel.pop .dv-step { animation: stepIn .45s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--sd,0ms); }

    /* Installation : logos, anneau animé, check */
    .dv-icon { color:#94a3b8; filter: grayscale(1); opacity:.75; }
    .dv-tab:hover .dv-icon { opacity:1; }
    .dv-icon.is-on { color: var(--c); filter:none; opacity:1; transform: scale(1.08); }
    .ring-spin { will-change: transform; background: conic-gradient(from 0deg, #dc2626, #fecaca 25%, #ffffff 40%, #f87171 60%, #dc2626 80%, #fecaca); animation: ringSpin 4s linear infinite; }
    @keyframes ringSpin { to { transform: rotate(360deg); } }
    @keyframes logoIn { 0% { opacity:0; transform: scale(.6) rotate(-8deg);} 70% { opacity:1; transform: scale(1.06) rotate(0);} 100% { transform:none; } }
    #devicePanel.pop .dv-logo { animation: logoIn .55s cubic-bezier(.16,1,.3,1); }
    .check-draw { stroke-dasharray: 24; stroke-dashoffset: 24; animation: drawCheck .35s ease-out forwards; }
    @keyframes drawCheck { to { stroke-dashoffset: 0; } }
    .help-shine { background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%); background-size: 250% 100%; animation: helpShine 5s ease-in-out infinite; }
    @keyframes helpShine { 0%,60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }

    /* Repères de défilement des appareils */
    @keyframes swipeHint { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
    .swipe-hint { animation: swipeHint 1.2s ease-in-out infinite; }
    @keyframes arrowPulse { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.55); } 70% { box-shadow: 0 0 0 10px rgba(220,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } }
    .arrow-pulse { animation: arrowPulse 1.8s ease-out infinite; }

    /* Carte populaire : halo rouge qui respire */
    @keyframes featGlow { 0%,100% { box-shadow: 0 0 0 1px rgba(239,68,68,.25), 0 25px 60px -22px rgba(220,38,38,.45); } 50% { box-shadow: 0 0 0 1px rgba(239,68,68,.5), 0 30px 80px -18px rgba(220,38,38,.8); } }
    .feat-card { animation: featGlow 3.4s ease-in-out infinite; }
    @media (prefers-reduced-motion: reduce) {
      .feat-card { animation:none !important; }
      .swipe-hint, .arrow-pulse { animation:none !important; }
      .ring-spin, .help-shine { animation:none !important; }
      .reveal, .step-card { animation:none; opacity:1; transform:none; transition:none; }
      .animate-marquee-posters, .animate-ambilight, .animate-ping, .flow-dot, .step-circle-anim { animation:none !important; }
    }

/* Savings calculator slider */
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 9999px; outline: none; cursor: pointer;
  background: linear-gradient(to right, #dc2626 var(--p, 40%), #e2e8f0 var(--p, 40%)); }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid #dc2626; box-shadow: 0 4px 14px rgba(220,38,38,.45); cursor: pointer; }
.calc-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid #dc2626; box-shadow: 0 4px 14px rgba(220,38,38,.45); cursor: pointer; }
.calc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(220,38,38,.25); }

/* Dual-row counter-scrolling cinema wall (#why-mom) */
@keyframes cinemaLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes cinemaRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.cinema-track-left {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: cinemaLeft 38s linear infinite;
}
.cinema-track-right {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: cinemaRight 42s linear infinite;
}
.cinema-rail:hover .cinema-track-left,
.cinema-rail:hover .cinema-track-right,
.cinema-rail.is-paused .cinema-track-left,
.cinema-rail.is-paused .cinema-track-right {
  animation-play-state: paused;
}
.cinema-card {
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1), filter 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}
@media (hover: hover) {
  .cinema-rail:hover .cinema-card:not(:hover) {
    filter: blur(2px) brightness(0.82);
    opacity: 0.78;
    transform: scale(0.96);
  }
  .cinema-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 22px 45px -16px rgba(15, 23, 42, 0.55);
  }
}
.cinema-mask {
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.cinema-edge-blur-l {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(to right, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
}
.cinema-edge-blur-r {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(to left, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
}
.cat-sheet {
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.cat-sheet.open {
  opacity: 1;
  pointer-events: auto;
}
.cat-sheet .sheet-card {
  transform: scale(.97);
  transition: transform .18s ease-out;
  overscroll-behavior: contain;
}
.cat-sheet.open .sheet-card {
  transform: scale(1);
}
body.ord-open .mom-bar,
body.ord-open .mom-fab,
body.ord-open .mom-cookie {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
.stat-cell {
  position: relative;
  transition: background-color .2s ease;
}
.stat-cell::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #dc2626;
  transform: scaleX(0);
  transition: transform .22s cubic-bezier(.16, 1, .3, 1);
}
.stat-cell:hover {
  background-color: rgba(254, 242, 242, .65);
}
.stat-cell:hover::after {
  transform: scaleX(1);
}
html, body {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body {
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, select {
  -webkit-user-select: text;
  user-select: text;
}
img {
  -webkit-user-drag: none;
  user-drag: none;
}
footer {
  overflow-x: clip;
  overscroll-behavior-x: none;
}
.ed-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
  will-change: opacity;
}
.ed-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.ed-slide img {
  will-change: transform;
  transform: scale(1.06) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 4.4s cubic-bezier(.16, 1, .3, 1);
}
.ed-slide.is-active img {
  transform: scale(1) translateZ(0);
}

/* Modern Content-Visibility optimization for offscreen sections */
#pricing,
#savings,
#how-it-works,
#devices,
#faq,
#reviews,
footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
@keyframes edTabProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.ed-tab {
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.ed-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #dc2626;
  transform-origin: left;
  transform: scaleX(0);
}
.ed-tab.is-active {
  border-color: rgba(239, 68, 68, .55);
  background-color: rgba(220, 38, 38, .16);
  color: #ffffff;
}
.ed-tab.is-active::after {
  animation: edTabProgress 4.2s linear forwards;
}
.ed-stat {
  transition: transform .22s ease, border-color .22s ease;
}
.ed-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 113, 113, .45);
}
@media (max-width: 767px) {
  input, select, textarea { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-track-left, .cinema-track-right, .ed-tab.is-active::after { animation: none !important; }
  .cat-sheet, .cat-sheet .sheet-card, .stat-cell, .stat-cell::after, .ed-slide, .ed-slide img, .ed-stat { transition: none !important; }
}
