/* style.css - Version Complète Finale */

:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    
    /* Couleurs des Packs */
    --color-starter: #a855f7; /* Violet */
    --color-growth: #3b82f6;  /* Bleu */
    --color-scale: #9ca3af;   /* Gris */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    
    /* Layout */
    --nav-height: 80px;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
}

/* --- 1. RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Curseur personnalisé activé */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url('cursor.png'), auto;
}

/* --- 2. CUSTOM CURSOR --- */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10001; /* Au-dessus de tout */
    pointer-events: none;
}

.cursor-dot { width: 8px; height: 8px; background-color: white; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.5); transition: width 0.2s, height 0.2s, background-color 0.2s; }
body.hovering .cursor-outline { width: 60px; height: 60px; background-color: rgba(255, 255, 255, 0.1); border-color: transparent; backdrop-filter: blur(2px); }

/* --- 3. ANIMATIONS FOND --- */
.liquid-background {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
    animation: float 20s infinite alternate;
    will-change: transform;
    transform: translateZ(0);
}
.blob-1 { top: -10%; left: -10%; width: 60vw; height: 60vw; background: var(--color-growth); }
.blob-2 { bottom: -10%; right: -10%; width: 60vw; height: 60vw; background: var(--color-starter); animation-delay: -10s; }

@keyframes float {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(40px, 40px) rotate(10deg); }
}

.parallax-element { transition: transform 0.1s linear; will-change: transform; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; will-change: transform, opacity; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- 4. COMPOSANTS GLASSMORPHISM --- */
.glass-panel {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    transform: translateZ(0);
}
.glass-panel:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-5px); }

/* --- 5. NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(15px);
    z-index: 1000; border-bottom: 1px solid var(--glass-border);
}
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: 0.3s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: white; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; }
.hamburger span { display: block; width: 25px; height: 2px; background: white; transition: 0.3s; }

/* --- 6. BOUTONS --- */
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--accent-blue); color: white; }
.btn-primary:hover { background: transparent; border-color: var(--accent-blue); box-shadow: 0 0 20px rgba(37, 99, 235, 0.5); transform: translateY(-2px); }
.btn-secondary { background: transparent; border-color: white; color: white; }
.btn-secondary:hover { background: white; color: black; box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); transform: translateY(-2px); }

.btn-pack { display: block; width: 100%; padding: 14px; text-align: center; border-radius: 50px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent; margin-top: auto; }
.btn-starter { background: transparent; border-color: var(--color-starter); color: white; } .btn-starter:hover { background: var(--color-starter); box-shadow: 0 0 15px rgba(168, 85, 247, 0.5); }
.btn-growth { background: var(--color-growth); color: white; } .btn-growth:hover { background: #2563eb; transform: scale(1.03); box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
.btn-scale { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.2); } .btn-scale:hover { background: white; color: black; box-shadow: 0 0 20px rgba(255,255,255,0.4); }

.badge-popular { position: absolute; top: -12px; right: 20px; background: linear-gradient(135deg, var(--color-growth), #60a5fa); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); border: 1px solid rgba(255, 255, 255, 0.2); z-index: 10; }

/* --- 7. LAYOUT & GRILLES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 120px 20px 60px; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%); -webkit-background-clip: text; color: transparent; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; color: #fff; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.zoom-img-container { overflow: hidden; border-radius: var(--radius-md); }
.zoom-img { transition: transform 0.5s ease; width: 100%; display: block; }
.zoom-img:hover { transform: scale(1.08); }

/* --- 8. PACKS --- */
.pack-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; border-top: 1px solid rgba(255,255,255,0.05); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.pack-card h3 { font-size: 1.8rem; margin-top: 1rem; margin-bottom: 0.5rem; transition: transform 0.3s ease; }
.pack-card ul { list-style: none; padding: 0; margin: 1.5rem 0; flex-grow: 1; }
.pack-card li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; color: #ccc; font-size: 0.95rem; }
.pack-card li::before { content: "✓"; position: absolute; left: 0; font-weight: bold; }
.result-box { background: rgba(0,0,0,0.4); border-radius: 12px; padding: 1rem; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.05); }
.result-title { font-size: 0.75rem; text-transform: uppercase; opacity: 0.6; letter-spacing: 1px; margin-bottom: 0.3rem; display: block; }
.result-value { font-weight: 700; font-size: 1.1rem; }

/* --- 9. INTEGRATIONS --- */
.library-card { display: flex; flex-direction: column; height: 100%; text-align: left; }
.integration-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; height: 180px; transition: all 0.3s ease; }
.integration-card img { height: 50px; margin-bottom: 1rem; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; transition: 0.3s; }
.integration-card:hover img { opacity: 1; transform: scale(1.1); filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.5)); }

/* --- 10. PARTENAIRES --- */
.partners-section { text-align: center; margin-top: 4rem; padding: 3rem 2rem; background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.partners-grid { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; margin-top: 2rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.partner-logo { display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; padding: 10px; }
.partner-logo img { height: 35px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.5; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.partner-logo:hover img { opacity: 1; transform: scale(1.15) translateY(-3px); filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.6)); }

/* --- 11. CHATBOT --- */
.chatbot-launcher { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: var(--color-growth); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5); z-index: 10000; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.1); }
.chatbot-launcher:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 30px rgba(59, 130, 246, 0.8); }
.chatbot-icon { font-size: 24px; color: white; }
.chatbot-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.5); z-index: 10000; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s ease; overflow: hidden; }
.chatbot-window.active { opacity: 1; pointer-events: all; transform: translateY(0); }
.chat-header { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2)); padding: 20px; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
.chat-header h3 { font-size: 1.1rem; margin: 0; color: white; }
.close-chat { cursor: pointer; font-size: 1.5rem; color: rgba(255,255,255,0.6); transition: 0.3s; }
.close-chat:hover { color: white; }
.online-dot { width: 8px; height: 8px; background-color: #22c55e; border-radius: 50%; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.chat-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.message { max-width: 80%; padding: 12px 16px; border-radius: 15px; font-size: 0.95rem; line-height: 1.4; }
.message.bot { background: rgba(255,255,255,0.1); color: white; border-bottom-left-radius: 2px; align-self: flex-start; }
.message.user { background: var(--color-growth); color: white; border-bottom-right-radius: 2px; align-self: flex-end; }
.chat-quick-replies { display: flex; gap: 8px; padding: 10px 15px; overflow-x: auto; scrollbar-width: none; }
.chat-quick-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 6px 12px; border-radius: 15px; font-size: 0.8rem; cursor: pointer; white-space: nowrap; transition: 0.3s; }
.chat-quick-btn:hover { background: var(--color-growth); border-color: var(--color-growth); }
.chat-input-area { padding: 15px; border-top: 1px solid var(--glass-border); display: flex; gap: 10px; background: rgba(0,0,0,0.4); }
.chat-input-area input { margin: 0; padding: 12px; border-radius: 30px; font-size: 0.9rem; flex: 1; }
.chat-send-btn { background: var(--color-starter); border: none; width: 40px; height: 40px; border-radius: 50%; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.chat-send-btn:hover { transform: scale(1.1); background: #9333ea; }

/* --- 12. FORMS --- */
input, textarea, select { width: 100%; padding: 18px 20px; margin-bottom: 20px; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: white; font-size: 1rem; outline: none; transition: all 0.3s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; }
input:focus, textarea:focus, select:focus { background: rgba(255, 255, 255, 0.05); border-color: var(--color-growth); box-shadow: 0 0 20px rgba(59, 130, 246, 0.25); transform: translateY(-2px); }
::placeholder { color: rgba(255, 255, 255, 0.3); font-style: italic; }
label { display: block; margin-left: 5px; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
option { background-color: #000; color: white; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill { -webkit-text-fill-color: white; -webkit-box-shadow: 0 0 0px 1000px rgba(0,0,0,0.6) inset !important; transition: background-color 5000s ease-in-out 0s; caret-color: white; }
.faq-item { border-bottom: 1px solid var(--glass-border); margin-bottom: 1rem; }
.faq-question { width: 100%; text-align: left; background: none; border: none; color: white; padding: 1.5rem 0; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-secondary); }
.faq-answer p { padding-bottom: 1.5rem; margin: 0; }
.faq-icon { transition: transform 0.3s; font-size: 1.5rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-answer { max-height: 200px; }
footer { border-top: 1px solid var(--glass-border); background: #050505; padding: 4rem 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1200px; margin: 0 auto; }
.social-links { display: flex; gap: 15px; align-items: center; }
.social-links img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; transition: all 0.3s ease; }
.social-links a:hover img { opacity: 1; transform: scale(1.2); filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.5)); }

/* RESPONSIVE */
@media (max-width: 900px), (hover: none) {
    .cursor-dot, .cursor-outline { display: none !important; }
    * { cursor: auto !important; }
    .chatbot-window { width: 90%; right: 5%; left: 5%; bottom: 100px; height: 60vh; }
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 70%; background: rgba(0,0,0,0.95); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; transition: 0.4s ease; }
    .nav-links.active { right: 0; }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    .container { padding-top: 100px; }
    .partners-section { padding: 2rem 1rem; }
    .partners-grid { gap: 2rem; }
    .partner-logo img { height: 30px; }
}
#dash-title { color: unset !important; }