.simu-section {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    row-gap: 20px;
}

.simu-card-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 950px;
    width: 100%;
    background: none;
    z-index: 10;
}

.simu-card-grid--single {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.overlap-hero {
    margin-top: -40px;
}


#chatbot-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    z-index: 1000;
    /* plus haut que le flou */
    /* le reste inchangé */
    width: 100%;
    max-width: 750px;
    height: 550px;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    background: #FFFFFF;
    display: none;
    /* transform: scale(0.95); */
    transition: all 0.5s ease;
}

#chatbot-container.visible {
    opacity: 1;
    display: block;
}

#chatbot-loader {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #10367A;
    background: #FFFFFF;
    border-radius: 12px;
}

/* Overlay */
#chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.4);
    z-index: 900;
    display: none;
}


#close-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #10367A;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    font-size: 0.9em;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#close-chatbot:hover {
    background: #0a2350;
    transform: scale(1.05);
}

#close-chatbot.show {
    display: block;
}

#close-chatbot.show {
    display: block;
}

/* Bouton persistant bas-gauche pour rouvrir le chat */
#open-chatbot {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000;
    background: linear-gradient(135deg, #FE5716, #10367A);
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform .12s ease, opacity .18s ease, visibility .18s;
    -webkit-tap-highlight-color: transparent;
}

/* petite animation d'appui */
#open-chatbot:active { transform: scale(.97); }

/* état caché quand le chat est ouvert */
#open-chatbot.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* mobile : plus petit et un peu plus près du bord */
@media (max-width: 480px) {
    #open-chatbot {
        width: 50px;
        height: 50px;
        left: 12px;
        bottom: 12px;
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .simu-section {
        padding: 30px 0;
    }

    .simu-card-grid {
        grid-template-columns: 1fr;
        gap: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}