/* VoParc — animations modernes (coupées si l'utilisateur réduit les animations) */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lime), #7fb83a); z-index: 50; }
.hero { position: relative; isolation: isolate; }
.blobs { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; pointer-events: none; opacity: .9; }
.blobs i { position: absolute; border-radius: 50%; animation: blob 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 720px; height: 720px; background: radial-gradient(circle, #e1ea8c 0%, rgba(225, 234, 140, 0) 65%); left: 50%; top: 0; }
.blobs i:nth-child(2) { width: 620px; height: 620px; background: radial-gradient(circle, #cfe6b4 0%, rgba(207, 230, 180, 0) 65%); left: 72%; top: 30%; animation-delay: -6s; animation-duration: 22s; }
.blobs i:nth-child(3) { width: 560px; height: 560px; background: radial-gradient(circle, #f0e7c4 0%, rgba(240, 231, 196, 0) 65%); left: 8%; top: 40%; animation-delay: -11s; animation-duration: 26s; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.12); } 100% { transform: translate(40px, -30px) scale(.94); } }
h1 em.shine { background: linear-gradient(100deg, var(--olive) 0%, #8fa31c 30%, #c3d23c 50%, #8fa31c 70%, var(--olive) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.float { animation: float 7s ease-in-out infinite; }
.float-2 { animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.tilt { transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }
.hero-visual { perspective: 1600px; }
.badge-float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; font-weight: 650; display: flex; gap: 10px; align-items: center; white-space: nowrap; z-index: 2; }
.badge-float small { display: block; color: var(--mut); font-weight: 500; font-size: 12px; }
.badge-float .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #eef2d3; color: var(--olive); font-size: 16px; }
.bf-1 { top: -18px; right: 12%; } .bf-2 { bottom: 12%; right: 2%; }
@media (max-width: 999px) { .bf-1 { top: -20px; right: 4px; } .bf-2 { display: none; } }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; } .reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; } .reveal[data-d="5"] { transition-delay: .4s; }
.js .reveal.from-left { transform: translateX(-30px); } .js .reveal.from-right { transform: translateX(30px); } .js .reveal.zoom { transform: scale(.94); }
.js .reveal.in.from-left, .js .reveal.in.from-right, .js .reveal.in.zoom { transform: none; }

/* Bandeau défilant */
.marquee { overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Démonstration interactive (onglets qui tournent) */
.tour { display: grid; grid-template-columns: .85fr 1.4fr; gap: 40px; align-items: center; }
.tour-tabs { display: grid; gap: 10px; }
.tour-tab { text-align: left; background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 16px 18px; cursor: pointer; font: inherit; color: var(--ink); position: relative; overflow: hidden; transition: background .25s, border-color .25s; }
.tour-tab b { display: block; font-size: 18px; letter-spacing: -.01em; }
.tour-tab span { display: block; color: var(--mut); font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .35s ease, margin .35s; }
.tour-tab.on { background: var(--card); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(20, 30, 10, .4); }
.tour-tab.on span { max-height: 90px; margin-top: 6px; }
.tour-tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.tour-tab.on .bar { animation: fill 6s linear forwards; }
.tour.paused .tour-tab.on .bar { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.tour-screen { position: relative; aspect-ratio: 16 / 10; }
.tour-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: scale(.97) translateY(10px); transition: opacity .55s ease, transform .55s ease; background: #fff; }
.tour-screen img.on { opacity: 1; transform: none; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour-tabs { order: 2; } }

/* Cartes avec halo au survol, reflet sur le bouton principal */
.feat { position: relative; overflow: hidden; }
.feat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, -100px) var(--my, -100px), rgba(195, 210, 60, .22), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.feat:hover::before { opacity: 1; }
.ico { transition: transform .3s; }
.feat:hover .ico { transform: rotate(-6deg) scale(1.08); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 0%, 70% { left: -80%; } 100% { left: 130%; } }
.mobile-band { position: relative; }
.mobile-band::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(195, 210, 60, .25), transparent 60%); top: -260px; right: -200px; animation: blob 20s ease-in-out infinite alternate; pointer-events: none; }
.mobile-band > * { position: relative; }
.cta { position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 65%); top: -200px; left: -120px; animation: blob 16s ease-in-out infinite alternate; pointer-events: none; }
.cta > * { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .blobs i, .float, .float-2, .marquee-track, h1 em.shine, .btn-primary::after, .mobile-band::before, .cta::before, .tour-tab.on .bar { animation: none !important; }
  .tour-screen img { transition: none; }
}

/* Haut de page : apparition plus rapide */
.js .hero .reveal { transition-duration: .45s; }
.js .hero .reveal[data-d] { transition-delay: .05s; }
