Mentions Légales

Des questions sur vos données ? Contactez-nous. Nous ecrire
(function(){ // Scroll progress window.addEventListener('scroll',function(){ var h=document.documentElement; var pct=(h.scrollTop/(h.scrollHeight-h.clientHeight))*100; document.getElementById('scrollProgress').style.width=pct+'%'; }); // Nav scroll var nav=document.getElementById('mainNav'); window.addEventListener('scroll',function(){nav.classList.toggle('scrolled',window.scrollY>60)}); // Burger document.getElementById('navBurger').addEventListener('click',function(){document.getElementById('navLinks').classList.toggle('open')}); document.querySelectorAll('.nav-links a').forEach(function(a){a.addEventListener('click',function(){document.getElementById('navLinks').classList.remove('open')})}); // Reveal var obs=new IntersectionObserver(function(entries){entries.forEach(function(e){if(e.isIntersecting)e.target.classList.add('visible')})},{threshold:0.12}); document.querySelectorAll('.reveal').forEach(function(el){obs.observe(el)}); // Float bar var floatBar=document.getElementById('floatBar'); var floatClosed=false; var heroEl=document.querySelector('.hero'); var floatObs=new IntersectionObserver(function(entries){entries.forEach(function(e){if(!e.isIntersecting&&!floatClosed)floatBar.classList.add('visible');else floatBar.classList.remove('visible')})},{threshold:0}); floatObs.observe(heroEl); document.getElementById('floatClose').addEventListener('click',function(){floatClosed=true;floatBar.classList.remove('visible')}); })();