/* Styles du widget Assistant IA */
        .halo-chat-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* Bouton Principal Flottant */
        .halo-chat-btn {
            width: 60px;
            height: 60px;
            background-color: #e66d0b;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            color: white;
            font-size: 28px;
            border: none;
            outline: none;
        }

        .halo-chat-btn:hover {
            transform: scale(1.1);
            background-color: #06075e;
        }

        /* Fenêtre de Chat */
        .halo-chat-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 320px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.2);
            overflow: hidden;
            display: none; /* Caché par défaut */
            animation: slideUp 0.3s ease-out;
            border: 1px solid #eee;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* En-tête de la fenêtre */
        .halo-chat-header {
            background-color: var(--primary);
            color: white;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: bold;
            font-size: 0.95rem;
        }

        .halo-close-chat {
            padding: 0;
            border: none;
            background: none;
            color: inherit;
            cursor: pointer;
            font-size: 20px;
            line-height: 1;
            opacity: 0.8;
        }
        .halo-close-chat:hover { opacity: 1; }

        /* Corps de la fenêtre */
        .halo-chat-body {
            padding: 20px;
            background-color: #f9f9f9;
        }

        .halo-welcome-msg {
            background-color: #fff;
            padding: 12px;
            border-radius: 8px;
            border-bottom-left-radius: 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            font-size: 14px;
            color: #333;
            border: 1px solid #e0e0e0;
            position: relative;
        }
        
        .halo-welcome-msg::before {
            content: '';
            position: absolute;
            left: -6px;
            bottom: 0;
            width: 12px;
            height: 12px;
            background: #fff;
            border-bottom: 1px solid #e0e0e0;
            border-left: 1px solid #e0e0e0;
            transform: rotate(45deg);
        }

        /* Boutons d'action dans le chat */
        .halo-action-btn {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 10px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.2s;
            box-sizing: border-box;
            text-align: left;
        }

        .halo-action-btn:last-child { margin-bottom: 0; }
        .halo-action-btn i { margin-right: 12px; font-size: 16px; width: 20px; text-align: center; }

        /* Style Bouton AI */
        .btn-ai {
            background-color: #080e5f;
            color: #fcfafa;
            border: 2px solid #ddd;
        }
        .btn-ai:hover { background-color: #080e5f; border-color: #e66d0b; }

        /* Style Bouton Appel */
        .btn-call {
            background-color: #e66d0b; /* Vert */
            color: rgb(253, 252, 252);
            border: 2px solid #ddd;
        }
        .btn-call:hover { background-color: #e66d0b; border-color: #080e5f;}

        .halo-ai-chat {
            position: absolute;
            bottom: 80px;
            right: 0;
            display: none;
            flex-direction: column;
            width: 350px;
            height: 500px;
            max-height: calc(100vh - 120px);
            overflow: hidden;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.2);
        }

        .halo-ai-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px;
            background: var(--primary);
            color: white;
        }

        .halo-ai-header h2 {
            margin: 0;
            font-size: 16px;
        }

        .halo-ai-header button {
            padding: 4px 8px;
            border: 0;
            background: transparent;
            color: white;
            cursor: pointer;
            font-size: 16px;
        }

        .halo-ai-messages {
            display: flex;
            flex: 1;
            flex-direction: column;
            gap: 10px;
            overflow-y: auto;
            padding: 15px;
            background: #f9f9f9;
        }

        .halo-ai-message {
            max-width: 85%;
            padding: 10px 14px;
            border-radius: 15px;
            font-size: 14px;
            line-height: 1.45;
        }

        .halo-ai-message.bot-message {
            align-self: flex-start;
            border-bottom-left-radius: 2px;
            background: #e9ecef;
            color: #333;
        }

        .halo-ai-message.user-message {
            align-self: flex-end;
            border-bottom-right-radius: 2px;
            background: var(--primary);
            color: white;
        }

        .halo-ai-typing {
            display: none;
            padding: 0 15px 8px;
            background: #f9f9f9;
            color: #777;
            font-size: 12px;
            font-style: italic;
        }

        .halo-ai-input {
            display: flex;
            gap: 8px;
            padding: 10px;
            border-top: 1px solid #eee;
        }

        .halo-ai-input input {
            flex: 1;
            min-width: 0;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 20px;
            font-size: 14px;
        }

        .halo-ai-input button {
            width: 40px;
            height: 40px;
            flex: 0 0 40px;
            border: 0;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            cursor: pointer;
        }

        /* Responsive Mobile */
        @media (max-width: 768px) {
            .halo-chat-window { width: 280px; right: -10px; }
            .halo-ai-chat { width: min(350px, calc(100vw - 32px)); }
        }