:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --primary: #8b5cf6; /* Violet Gaming */
    --secondary: #3b82f6; /* Bleu Tech */
    --accent: #f43f5e; /* Rouge erreur/Drift */
    --tmr-color: #10b981; /* Vert TMR */
    --card-bg: rgba(30, 41, 59, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo { font-size: 1.5rem; font-weight: 900; color: white; }
.highlight { color: var(--primary); }
.cta-btn {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.cta-btn:hover { background: var(--secondary); transform: scale(1.05); }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at top, #1e1b4b 0%, var(--bg-color) 70%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.2rem; color: #94a3b8; max-width: 600px; margin: 0 auto 40px; }

/* --- Bouton Comprendre (Scroll Down) --- */
.scroll-down {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 35px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    
    /* Effet de verre */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    
    /* Animation et Transition */
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: rgba(139, 92, 246, 0.2); /* Teinte violette au survol */
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); /* Lueur néon */
    transform: translateY(5px);
}

/* Animation de rebond */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- Placeholders Images --- */
.img-placeholder {
    width: 100%;
    height: 300px;
    background: #1e293b;
    border: 2px dashed #475569;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

/* Pour quand tu mettras les vraies images */
.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

.danger-border { border-color: var(--accent); background: rgba(244, 63, 94, 0.1); }
.success-border { border-color: var(--secondary); background: rgba(59, 130, 246, 0.1); }
.tmr-border { border-color: var(--tmr-color); height: 400px; background: rgba(16, 185, 129, 0.1); }

/* --- Sections --- */
section { padding: 80px 5%; }
.container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.reverse { flex-direction: row-reverse; }

.text-block h2 { font-size: 2.5rem; margin-bottom: 20px; }
.problem-list li { list-style: none; margin-bottom: 15px; font-size: 1.1rem; }

/* --- Comparison TMR --- */
.comparison { background: #0b1120; }
.center-title { text-align: center; font-size: 3rem; margin-bottom: 10px; }
.tmr-text { color: var(--tmr-color); }
.subtitle { text-align: center; color: #64748b; margin-bottom: 60px; }

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tech-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.tech-card.tmr { border: 2px solid var(--tmr-color); box-shadow: 0 0 30px rgba(16, 185, 129, 0.2); }
.badge {
    position: absolute;
    top: -15px; right: 20px;
    background: var(--tmr-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.tech-card ul li { list-style: none; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 5px; }

/* --- Footer --- */
.cta-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to top, #1e1b4b, var(--bg-color));
}
.big-button {
    display: inline-block;
    background: linear-gradient(90deg, #ff6e14, #ea580c); /* Orange LBC */
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 30px;
    transition: transform 0.2s;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}
.big-button:hover { transform: scale(1.05); }

/* --- Mobile Fix --- */
@media (max-width: 768px) {
    
    /* On force le Hero à descendre pour ne pas être caché par le menu */
    .hero {
        padding-top: 180px; /* On pousse tout vers le bas (hauteur du menu + marge) */
        justify-content: flex-start; /* On aligne en haut au lieu de centrer */
        height: auto;       /* La hauteur s'adapte au contenu */
        min-height: 100vh;  /* Mais prend au moins tout l'écran */
    }

    /* On réduit un peu le titre sur mobile pour qu'il prenne moins de place */
    .hero h1 {
        font-size: 2.5rem;
        margin-top: 10px;
    }

    /* On ajuste l'image pour qu'elle ne soit pas trop collée */
    .hero-image-box {
        margin-top: 40px;
        margin-bottom: 60px; /* De la place pour le bouton qui dépasse */
    }
}