/* --- 1. FOND BLANC UNIFORME --- */
body, main, section { background-color: #ffffff !important; }

.demo-header {
    padding-top: 160px;
    padding-bottom: 4rem;
}

/* --- 2. BADGE & TITRES --- */
.badge-pill-soft {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    padding: 0.6em 1.2em;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    text-transform: uppercase;
}

/* --- 3. LAPTOP MOCKUP (Cadre Vidéo) --- */
.laptop-mockup {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 18px;
    background: #1a1d21; /* Bordure écran noire */
    padding: 12px 12px 0 12px; /* Cadre haut/gauche/droite */
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

.laptop-screen {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
    background-color: #000;
    aspect-ratio: 16/9; /* Format écran */
}

.laptop-base {
    height: 20px;
    background: #e9ecef;
    border-radius: 0 0 20px 20px;
    position: relative;
    margin-top: -1px;
}
.laptop-base::after {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 12px;
    background: #ced4da;
    border-radius: 0 0 10px 10px;
}

/* --- 4. INTERACTIVE STEPS --- */
.step-item {
    padding: 1.5rem;
    border-left: 3px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.step-item:hover {
    background-color: #f8faff;
    opacity: 0.8;
}

.step-item.active {
    border-left-color: #0d6efd;
    opacity: 1;
    background-color: #ffffff;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border-radius: 0 12px 12px 0;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0d6efd;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.img-preview-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    min-height: 400px;
    background: #f8f9fa;
    position: relative;
}

/* Transition douce des images */
.preview-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.preview-image.active { opacity: 1; }

/* --- 5. BOUTON PREMIUM --- */
.btn-cta-premium {
    background-color: #ffffff; color: #0b5ed7; font-weight: 800;
    border: none; padding: 1rem 2.5rem; border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none; display: inline-block;
}
.btn-cta-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: #0b5ed7; background-color: #ffffff;
}

/* --- CTA CARD --- */
.cta-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 30px; padding: 5rem 2rem;
    color: white; position: relative; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(13, 110, 253, 0.4);
}
.cta-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); pointer-events: none; }
.circle-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.circle-2 { width: 200px; height: 200px; bottom: -80px; left: 5%; }
