/* =========================================
   1. SCROLLBAR & SÉLECTION
   ========================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #4a4a4a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8A2BE2; }
::selection { background: #8A2BE2; color: #ffffff; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: #8A2BE2; z-index: 99999; width: 0%; transition: width 0.1s; }

/* =========================================
   2. VARIABLES & RESET
   ========================================= */
html {
    scroll-padding-top: 100px;
}
:root { --bg-black: #050505; --text-color: #ffffff; --accent: #8A2BE2; --success: #00ff88; --font-heading: 'Montserrat', sans-serif; --font-body: 'Poppins', sans-serif; --max-width: 1200px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis { height: auto; } 
.lenis.lenis-smooth { scroll-behavior: auto; } 
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; } 
.lenis.lenis-stopped { overflow: hidden; } 
.lenis.lenis-scrolling iframe { pointer-events: none; }
body { background-color: var(--bg-black); color: var(--text-color); font-family: var(--font-body); overflow-x: hidden; line-height: 1.6; }

/* =========================================
   3. GRAIN & GLOW
   ========================================= */
.noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }
.glow-card { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(5,5,5,0.6); }
.glow-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(138, 43, 226, 0.3), transparent 40%); z-index: 1; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.glow-card:hover::before { opacity: 1; transition-delay: 0.05s; }
.glow-card > * { position: relative; z-index: 2; }

/* =========================================
   4. INTRO PRELOADER
   ========================================= */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; flex-direction: column; }
/* CORRECTION CSS LOGO : height auto permet de respecter le ratio carré du HTML */
.intro-logo { width: 650px; height: auto; max-width: 80vw; opacity: 0; display: block; border: none; color: transparent; text-indent: -10000px; font-size: 0; animation: fadeIn 1.5s ease forwards 0s, pulseGlow 3s infinite alternate; }
@keyframes pulseGlow { from { filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.2)); } to { filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.8)); } }
.logo-fade-out .intro-logo { opacity: 0; transform: scale(0.95); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-up-effect { transform: translateY(-100%); pointer-events: none; transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1); }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================
   5. NAVIGATION
   ========================================= */
header { position: fixed; top: 0; width: 100%; padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: all 0.3s ease; }
header.scrolled { background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(10px); padding: 15px 50px; }
.nav-logo { height: 80px; width: auto; cursor: pointer; transition: transform 0.3s ease; transform-origin: center; }
.nav-logo:hover { transform: scale(1.1); }
nav ul { list-style: none; display: flex; gap: 30px; align-items: center; }
a { text-decoration: none; color: white; transition: 0.3s ease; }
.status-badge { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: #00ff88; background: rgba(0,255,136,0.08); padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(0,255,136,0.2); letter-spacing: 0.5px; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: 0.3s; }
.status-badge:hover { transform: scale(1.05); background: rgba(0,255,136,0.15); box-shadow: 0 0 15px rgba(0, 255, 136, 0.4); border-color: #00ff88; }
.pulse-dot { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,255,136, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(0,255,136, 0); } 100% { box-shadow: 0 0 0 0 rgba(0,255,136, 0); } }
.burger-menu { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 10001; }
.burger-menu span { width: 30px; height: 2px; background-color: white; transition: 0.3s; }
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(15px); z-index: 10000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-links { list-style: none; text-align: center; }
.mobile-links li { margin: 25px 0; transform: translateY(20px); opacity: 0; transition: 0.4s ease; }
.mobile-links a { font-size: 1.5rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; }
.mobile-links a:hover { color: var(--accent); }
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav-overlay.active li { transform: translateY(0); opacity: 1; }
.mobile-nav-overlay.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active li:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active li:nth-child(6) { transition-delay: 0.6s; }
.mobile-nav-overlay.active li:nth-child(7) { transition-delay: 0.7s; }
.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger-menu.active span:nth-child(2) { transform: rotate(-45deg) translate(5px, -6px); }

/* =========================================
   6. HERO
   ========================================= */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
section { padding: 100px 5%; position: relative; z-index: 1; }
#hero { position: relative; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; overflow: hidden; background: transparent; }
#bg-canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: radial-gradient(circle at center, #2a0a40 0%, #000000 100%); }
#bg-canvas-container canvas { display: block; }
.hero-content { max-width: 900px; padding: 20px; animation: slideUp 1s ease 2.5s backwards; z-index: 2; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }

.liquid-text { background: linear-gradient(90deg, #ffffff 0%, #8A2BE2 30%, #d4a5ff 50%, #8A2BE2 70%, #ffffff 100%); background-size: 200% auto; color: #fff; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: liquidFlow 8s linear infinite; }
@keyframes liquidFlow { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.hero-content h2, .hero-subtitle { font-family: var(--font-body); font-size: 1.1rem; font-weight: 300; margin-bottom: 15px !important; color: #ddd; line-height: 1.5; }

/* Flèche Hero */
.hero-cta-arrow { display: flex; justify-content: center; align-items: center; color: var(--accent); margin-bottom: 25px; animation: gentleBounce 2s infinite ease-in-out; }
@keyframes gentleBounce { 0%, 100% { transform: translateY(0); opacity: 0.8; } 50% { transform: translateY(5px); opacity: 1; } }

/* Bouton Fin Snake */
.btn-pill, .hero-btn-aura { position: relative; background: transparent !important; border: none !important; color: white !important; border-radius: 50px; display: inline-flex !important; justify-content: center; align-items: center; padding: 20px 52px !important; overflow: visible !important; z-index: 10; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.hero-btn-aura:hover { transform: scale(1.05); background: rgba(255, 255, 255, 0.05) !important; }
.hero-btn-aura::before { content: ""; position: absolute; z-index: -2; inset: 0; padding: 2px; border-radius: inherit; background: conic-gradient(from var(--angle), rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 40%, #ffffff 50%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0) 100%); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; -webkit-mask-composite: xor; animation: rotateSnakeSmooth 3s linear infinite; }
.hero-btn-aura::after { content: ''; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15), 0 0 0 6px rgba(255, 255, 255, 0.05); opacity: 0; transform: scale(1); pointer-events: none; }
.hero-btn-aura:hover::after { animation: rippleMulti 1s ease-out infinite; }
@keyframes rippleMulti { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.15); opacity: 0; } }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateSnakeSmooth { to { --angle: 360deg; } }

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-socials { position: absolute; right: 50px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 25px; z-index: 10; }
.hero-socials a { display: block; width: 25px; height: 25px; transition: transform 0.3s; }
.hero-socials svg { width: 100%; height: 100%; fill: white !important; transition: fill 0.3s; }
.hero-socials a:hover { transform: scale(1.2); }
.hero-socials a:hover svg { fill: var(--accent) !important; }
#typewriter-text { color: var(--accent); font-weight: 700; }
#typewriter-text::after { content: '|'; animation: blink 1s infinite; color: var(--accent); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.7; z-index: 5; }
.mouse { width: 26px; height: 40px; border: 2px solid white; border-radius: 20px; position: relative; }
.wheel { width: 4px; height: 4px; background: white; border-radius: 50%; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: wheel 1.5s infinite; }
@keyframes wheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }
.arrow-scroll span { display: block; width: 10px; height: 10px; border-bottom: 2px solid white; border-right: 2px solid white; transform: rotate(45deg); margin: -4px; animation: arrow 1.5s infinite; }
.arrow-scroll span:nth-child(2) { animation-delay: 0.1s; }
.arrow-scroll span:nth-child(3) { animation-delay: 0.2s; }
@keyframes arrow { 0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); } 50% { opacity: 1; } 100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); } }

/* =========================================
   7. SECTIONS & MODULES
   ========================================= */
#constat, #methode, #faq, #contact, #work, #founder, #comparison { background-color: rgba(5, 5, 5, 0.05); backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid rgba(255,255,255,0.05); }
#le-labo, #resultats, #temoignages { background: radial-gradient(circle at center, rgba(138, 43, 226, 0.1) 0%, rgba(5, 5, 5, 0.2) 85%); backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid rgba(138, 43, 226, 0.1); }

/* NOUVEAU MARQUEE (TEXTE) */
.marquee-container { 
    background: transparent; 
    padding: 40px 0; 
    overflow: hidden; 
    white-space: nowrap; 
    position: relative; 
    z-index: 2; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    border-top: 1px solid rgba(255,255,255,0.05); 
}

.marquee-content { 
    display: inline-flex; 
    animation: scroll 40s linear infinite; 
}

/* CORRECTION CONTRASTE MARQUEE */
.marquee-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 40px;
    
    /* MODIFICATION : Ajout d'un léger fond blanc et augmentation du contour pour la lisibilité */
    color: rgba(255, 255, 255, 0.05); 
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); 
    
    transition: all 0.3s ease;
    cursor: default;
}

.marquee-text:hover {
    color: var(--accent) !important; /* AJOUTEZ !important ICI */
    -webkit-text-stroke: 1px var(--accent);
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

@media (max-width: 900px) {
    .marquee-text { font-size: 1.5rem; margin: 0 20px; }
}
.reveal-up { opacity: 0; transform: translateY(50px); filter: blur(10px); transition: all 1s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-50px); filter: blur(10px); transition: all 1s ease-out; }
.reveal-right { opacity: 0; transform: translateX(50px); filter: blur(10px); transition: all 1s ease-out; }
.active-reveal { opacity: 1; transform: translate(0,0); filter: blur(0); }
.section-title { text-align: center; margin-bottom: 60px; }
.lab-row { display: flex; justify-content: space-between; align-items: center; max-width: var(--max-width); margin: 0 auto 100px auto; }
.lab-col { width: 45%; }
.text-col h3 { font-size: 2.2rem; margin-bottom: 10px; }
.subtitle { color: var(--accent); font-weight: 600; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }
.img-frame { display: inline-block; border: 2px solid var(--accent); width: 100%; max-width: 380px; border-radius: 35px; padding: 12px; position: relative; background: rgba(5, 5, 5, 0.15); backdrop-filter: blur(15px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(138, 43, 226, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.img-frame:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(255, 255, 255, 0.8); background: rgba(138, 43, 226, 0.15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(138, 43, 226, 0.6); }
.crt-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); background-size: 100% 4px, 3px 100%; pointer-events: none; z-index: 3; opacity: 0.6; }
.lab-video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 25px; position: relative; z-index: 1; }
.image-col { display: flex; justify-content: center; }
.container-small { max-width: 800px; margin: 0 auto; text-align: center; }
.container { max-width: var(--max-width); margin: 0 auto; text-align: center; }

/* Protocol Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; position: relative; }
.step-card { position: relative; background: rgba(20, 20, 20, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 30px 25px; text-align: left; overflow: hidden; transition: 0.4s ease; }
.step-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 10px 40px rgba(138, 43, 226, 0.15); }
.step-bg-num { position: absolute; top: -20px; right: -10px; font-size: 8rem; font-weight: 800; color: white; opacity: 0.03; font-family: var(--font-heading); pointer-events: none; z-index: 0; transition: opacity 0.3s ease; }
.step-card:hover .step-bg-num { opacity: 0.08; }
.step-content { position: relative; z-index: 1; }
.step-card h4, .step-card h3 { font-size: 1.4rem; color: white; margin-bottom: 5px; letter-spacing: 1px; }
.step-subtitle { display: block; font-size: 0.9rem; color: var(--accent); text-transform: uppercase; font-weight: 600; margin-bottom: 20px; border-bottom: 1px solid rgba(138, 43, 226, 0.3); padding-bottom: 10px; width: 60px; }
.step-card p { font-size: 0.95rem; color: #ccc; line-height: 1.6; margin-bottom: 25px; min-height: 100px; }
.step-footer { font-size: 0.85rem; color: white; background: rgba(255, 255, 255, 0.05); padding: 10px 15px; border-radius: 8px; border-left: 3px solid var(--accent); }
.livrable-tag { color: var(--accent); font-weight: 700; text-transform: uppercase; margin-right: 5px; }
.step-card:not(:last-child)::after { content: '→'; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--accent); opacity: 0.5; font-weight: 300; z-index: 10; }

/* Comparison Table (Duel) */
.comparison-table { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 20px; overflow: hidden; margin-top: 40px; background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.05); }
.comp-row { display: contents; }
.comp-col { padding: 30px 10px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1rem; color: #888; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }
.comp-col.feature { justify-content: flex-start; text-align: left; color: white; font-weight: 600; padding-left: 30px; font-family: var(--font-heading); }
.comp-row.header .comp-col { font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: white; padding-top: 40px; padding-bottom: 40px; font-size: 0.9rem; }
.scale-col { background: rgba(138, 43, 226, 0.08); color: white !important; font-weight: 700; border-left: 1px solid rgba(138, 43, 226, 0.1); border-right: 1px solid rgba(138, 43, 226, 0.1); }
.comp-col.accent { color: var(--accent) !important; font-size: 1.1rem; }
.check { color: #00ff88 !important; text-shadow: 0 0 15px rgba(0, 255, 136, 0.3); }
.cross { color: #555; text-decoration: line-through; }

/* Work Video HUD */
.video-container-single { display: flex; justify-content: center; margin-top: 60px; }
.video-card { border-radius: 30px; padding: 12px; overflow: hidden; transition: transform 0.3s ease; max-width: 800px; width: 100%; }
.video-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.video-wrapper { width: 100%; aspect-ratio: 16 / 9; background: #000; position: relative; border-radius: 20px; overflow: hidden; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: auto !important; }
.video-wrapper video::-webkit-media-controls { cursor: auto !important; }
.video-info { padding: 25px; text-align: left; }
.video-info h3 { font-size: 1.4rem; margin-bottom: 5px; color: white; }
.video-info p { font-size: 0.95rem; color: #aaa; margin: 0; }
.hud-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; padding: 20px; box-shadow: inset 0 0 50px rgba(0,0,0,0.5); }
.hud-top-left { position: absolute; top: 20px; left: 20px; font-family: monospace; color: white; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; opacity: 0.9; }
.hud-bottom-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
}
.hud-corners { position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; -webkit-mask: conic-gradient(from 90deg at 2px 2px, #0000 25%, #000 0) 0 0/20px 20px border-box no-repeat, conic-gradient(from 180deg at 2px 2px, #0000 25%, #000 0) 100% 0/20px 20px border-box no-repeat, conic-gradient(from 0deg at 2px 2px, #0000 25%, #000 0) 0 100%/20px 20px border-box no-repeat, conic-gradient(from -90deg at 2px 2px, #0000 25%, #000 0) 100% 100%/20px 20px border-box no-repeat; }

/* Stats & Graph */
.stats-flex { display: flex; justify-content: space-around; flex-wrap: wrap; }
.stat-box { margin: 20px; padding: 20px; border-radius: 10px; }
.big-num, .static-num { display: block; font-size: 3.5rem; font-weight: 700; color: white; font-family: var(--font-heading); }
.label { color: var(--accent); text-transform: uppercase; }
.stat-box-diagram { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; min-height: 160px; min-width: 200px; }
.hologram-bars { display: flex; align-items: flex-end; justify-content: center; gap: 12px; height: 80px; margin-bottom: 20px; }
.holo-bar { width: 20px; height: var(--h); background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(138, 43, 226, 0.6); box-shadow: 0 0 15px rgba(138, 43, 226, 0.4); border-radius: 3px; transform-origin: bottom; animation: growFade 4s infinite ease-out; }
@keyframes growFade { 0% { transform: scaleY(0); opacity: 0; } 15% { transform: scaleY(1); opacity: 1; } 80% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.bar-1 { animation-delay: 0.0s; } .bar-2 { animation-delay: 0.15s; } .bar-3 { animation-delay: 0.3s; } .bar-4 { animation-delay: 0.45s; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.review-card { padding: 30px; border-radius: 10px; transition: 0.3s; }
.review-card:hover { transform: translateY(-5px); }
.stars { color: var(--accent); margin-bottom: 15px; letter-spacing: 3px; }
.review-card p { font-size: 1rem; font-style: italic; color: #ccc; margin-bottom: 20px; }
.client-name { display: block; font-weight: 600; font-size: 0.9rem; color: white; }

/* Founder */
.founder-card { display: flex; align-items: center; gap: 60px; padding: 50px; border-radius: 40px; border: 1px solid rgba(255,255,255,0.1); background: rgba(5, 5, 5, 0.4); backdrop-filter: blur(15px); max-width: 1000px; margin: 0 auto; text-align: left; }
.founder-img-single { flex-shrink: 0; width: 350px; height: 450px; border-radius: 30px; border: 2px solid var(--accent); padding: 8px; background: rgba(138, 43, 226, 0.1); overflow: hidden; }
.founder-img-single img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; filter: grayscale(100%); transition: filter 0.3s ease, transform 0.5s ease; }
.founder-img-single:hover img { filter: grayscale(0%); transform: scale(1.05); }
.founder-txt { flex: 1; }
.founder-txt h3 { font-size: 2rem; margin-bottom: 20px; background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; color: transparent; }
.story-content p { font-size: 1rem; color: #ccc; margin-bottom: 15px; line-height: 1.7; }
.story-content .lead { font-size: 1.1rem; color: white; font-style: italic; font-weight: 500; border-left: 3px solid var(--accent); padding-left: 15px; }
.founders-signatures { display: flex; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.sign-block-unified { display: flex; flex-direction: column; }
.sign-block-unified .role { font-size: 0.85rem; color: var(--accent); text-transform: uppercase; font-weight: 600; letter-spacing: 2px; margin-bottom: 5px; }
.sign-block-unified .name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: white; }

/* FAQ */
.acc-item { border-bottom: 1px solid #333; }
.acc-btn { width: 100%; background: none; border: none; color: white; padding: 20px 0; text-align: left; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease; }
.acc-btn:hover { color: var(--accent); }
.acc-btn::after { content: ''; display: inline-block; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); margin-left: 15px; }
.acc-btn.active { color: var(--accent); }
.acc-btn.active::after { transform: rotate(-135deg); }
.acc-content { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease; }
.acc-item.open .acc-content { opacity: 1; padding-bottom: 25px; }
.acc-content p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }

/* Calendly */
.calendly-inline-widget { border-radius: 30px; border: 1px solid rgba(138, 43, 226, 0.3); overflow: hidden; margin-top: 40px; background: #050505; box-shadow: 0 20px 50px rgba(0,0,0,0.8); scrollbar-width: none; -ms-overflow-style: none; }
.calendly-inline-widget::-webkit-scrollbar { display: none; width: 0 !important; height: 0 !important; background: transparent; }

/* Footer */
.main-footer { background: #000; padding: 80px 5% 30px; border-top: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { color: white; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #888; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p { color: #888; font-size: 0.9rem; margin-bottom: 10px; }
.footer-socials a { color: #888; font-size: 0.9rem; margin-right: 10px; }
.footer-socials a:hover { color: white; }
/* CORRECTION CONTRASTE FOOTER (Gris clair #888 au lieu de #444) */
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid #111; color: #888; font-size: 0.8rem; }
#live-time { color: #888 !important; }

/* UI Elements */
.mobile-sticky-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(5,5,5,0.9); backdrop-filter: blur(10px); padding: 15px; z-index: 999; border-top: 1px solid rgba(255,255,255,0.1); display: none; }
.btn-pill.full-width { width: 100%; text-align: center; padding: 15px 0; }
#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; cursor: pointer; z-index: 999; opacity: 0; pointer-events: none; transition: 0.3s ease; box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4); }
#back-to-top:hover { transform: translateY(-5px); background: white; color: var(--accent); }
#back-to-top.visible { opacity: 1; pointer-events: all; }
.cookie-banner { position: fixed; bottom: 20px; left: 20px; max-width: 350px; background: rgba(10,10,10,0.8); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.1); border-radius: 15px; padding: 20px; z-index: 99999; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.cookie-banner p { font-size: 0.9rem; color: #ccc; margin-bottom: 15px; }
.sound-toggle-btn { position: fixed; bottom: 30px; left: 30px; background: rgba(5, 5, 5, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); color: #666; padding: 10px 15px; border-radius: 30px; font-size: 0.75rem; font-family: var(--font-body); font-weight: 600; cursor: pointer; z-index: 999; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.sound-toggle-btn:hover { border-color: var(--accent); color: white; }
.sound-toggle-btn.sound-active { color: var(--accent); border-color: rgba(138, 43, 226, 0.4); box-shadow: 0 0 15px rgba(138, 43, 226, 0.2); }
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 999999; pointer-events: none; }
.cursor-dot { width: 8px; height: 8px; background: white; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--accent); transition: width 0.2s, height 0.2s, background-color 0.2s; }
body.hovering .cursor-outline { width: 60px; height: 60px; background: rgba(138, 43, 226, 0.1); border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body, a, button, input, textarea { cursor: none !important; } }

/* Mobile Reset */
/* =========================================
   OPTIMISATION MOBILE FINALE (VERSION MASTER)
   Inclut : Carousel Avis, Tableau compact, Stats centrées, Clean UI
   ========================================= */
@media (max-width: 900px) { 
    /* 1. ON CACHE LES ÉLÉMENTS INUTILES */
    .sound-toggle-btn, .cursor-dot, .cursor-outline, 
    .scroll-down, .hero-cta-arrow, .noise-overlay, 
    .hero-socials, .desktop-nav, nav ul {
        display: none !important; 
    }

    /* 2. HEADER & NAV */
    header { padding: 15px 20px; background: rgba(5,5,5,0.95); backdrop-filter: blur(10px); }
    .burger-menu { display: flex; } 
    .nav-logo { height: 60px; }

    /* 3. HERO */
    .hero-content { margin-top: -40px; padding: 0 15px; }
    .hero-content h1 { font-size: 2.2rem; margin-bottom: 15px !important; line-height: 1.2; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 30px !important; padding: 0; }
    
    /* 4. SECTIONS GÉNÉRALES */
    section { padding: 60px 5%; }
    
    /* 5. LE LABO (VIDÉOS) */
    .lab-row { flex-direction: column; text-align: center; margin-bottom: 60px; gap: 30px; }
    .lab-col { width: 100%; }
    .lab-row .image-col { order: 1; margin-bottom: 0; }
    .lab-row .text-col { order: 2; }
    .text-col h3 { font-size: 1.8rem; }
    .img-frame { max-width: 300px !important; width: 90%; margin: 0 auto 20px auto; display: block; }
    
    /* 6. PROTOCOLE */
    .steps-grid { grid-template-columns: 1fr; gap: 50px; }
    .step-card { text-align: center; padding: 30px 20px; }
    .step-footer { text-align: left; }
    .step-card:not(:last-child)::after { 
        content: '↓'; right: 50%; top: auto; bottom: -45px; 
        transform: translateX(50%); font-size: 1.5rem; color: var(--accent);
    }
    
    /* 7. TABLEAU DELTA (COMPACT) */
    .comparison-table { 
        display: grid; grid-template-columns: 1fr 1fr 1fr; 
        font-size: 0.7rem; /* Police réduite */
        overflow-x: auto; min-width: 100%; 
        padding-bottom: 10px; white-space: nowrap;
        gap: 5px; /* Réduit l'espace entre colonnes */
    }
    .comp-col { padding: 10px 5px; } /* Cellules plus fines */
    
    /* 8. RESULTATS (STATS CARDS ADAPTÉES) */
    .stats-flex { 
        display: flex; 
        flex-direction: column; 
        align-items: center; /* Centre parfaitement */
        gap: 30px; 
    }
    .stat-box, .stat-box-diagram { 
        width: 90%; /* Prend 90% de la largeur, ne touche pas les bords */
        max-width: 320px; 
        margin: 0; /* Reset des marges externes */
    }
    .hologram-bars { height: 60px; } /* Ajuste hauteur diagramme */

    /* 9. AVIS CLIENTS (CAROUSEL CSS SWIPE) */
    .reviews-grid { 
        display: flex !important; /* Passe en mode ligne */
        flex-direction: row !important;
        overflow-x: auto; /* Active le scroll horizontal */
        scroll-snap-type: x mandatory; /* Effet aimanté au swipe */
        gap: 20px;
        padding-bottom: 30px;
        -webkit-overflow-scrolling: touch; /* Fluidité iPhone */
        scrollbar-width: none; /* Cache barre scroll Firefox */
        margin-right: -5%; /* Permet de voir qu'il y a une suite à droite */
        padding-right: 5%;
    }
    .reviews-grid::-webkit-scrollbar { display: none; } /* Cache barre scroll Chrome */

    .review-card { 
        min-width: 85vw; /* Chaque carte prend 85% de l'écran */
        scroll-snap-align: center; /* La carte se centre automatiquement */
        margin: 0;
    }
    
    /* 10. RESTE DU SITE */
    .founder-card { flex-direction: column; text-align: center; padding: 30px 20px; }
    .founder-img-single { width: 100%; height: auto; aspect-ratio: 3/4; max-width: 280px; margin: 0 auto; }
    .founders-signatures { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    
    /* 11. UI CLEANUP */
    .mobile-sticky-bar { display: none !important; }
    body { padding-bottom: 0; }
    #back-to-top { bottom: 30px; right: 20px; }
    .intro-logo { width: 280px; }
}
/* FORCE L'ESPACE POUR CALENDLY EN BAS */
#calendly-container {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 1000px !important; /* Force la hauteur pour ne pas être écrasé */
    z-index: 10;
    margin-bottom: 50px;
    display: block !important;
}

.calendly-inline-widget {
    height: 1000px !important; /* Force la hauteur de l'iframe */
    width: 100% !important;
}
.calendly-inline-widget {
    background-color: #050505 !important; /* Force le noir pendant le chargement */
}
/* Style Façade Calendly */
.calendly-facade {
    width: 100%; height: 100%; min-height: 500px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    cursor: pointer; transition: all 0.3s ease;
}
.calendly-facade:hover { background: rgba(255, 255, 255, 0.06); border-color: #8a2be2; }
.calendly-facade p { margin-top: 15px; font-weight: 600; color: white; }
.calendly-facade svg { width: 40px; height: 40px; stroke: #8a2be2; }
