#alan-launcher {
    position: fixed !important;
    bottom: 26px !important;
    right: 26px !important;
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    background: #1c1c2e !important;
    cursor: pointer !important;
    box-shadow: 0 8px 32px rgba(28,28,46,.38) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2147483647 !important;
    border: none !important;
    transition: transform .28s cubic-bezier(.34,1.56,.64,1) !important;
}
#alan-launcher:hover { transform: scale(1.1) !important; }
#alan-launcher::after {
    content: '';
    position: absolute;
    top: 3px; right: 3px;
    width: 13px; height: 13px;
    background: #f5c842;
    border-radius: 50%;
    border: 2px solid #1c1c2e;
    animation: alan-pulse 2.2s infinite;
}
@keyframes alan-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: .6; }
}
#alan-window {
    position: fixed !important;
    bottom: 108px !important;
    right: 26px !important;
    width: 370px !important;
    max-height: 600px !important;
    background: #fff !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.17) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 2147483646 !important;
    transform: scale(.86) translateY(28px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform-origin: bottom right;
    transition: all .32s cubic-bezier(.34,1.56,.64,1) !important;
    font-family: 'DM Sans', sans-serif !important;
}
#alan-window.open {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
}
.alan-header {
    background: linear-gradient(135deg,#1c1c2e,#2d2d4e);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
}
.alan-header-av {
    width: 48px; height: 48px;
    background: #f5c842;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.alan-header-info { flex: 1; }
.alan-header-info h3 {
    font-family: 'Playfair Display', serif !important;
    color: #fff !important; font-size: 16px !important;
    font-weight: 700 !important; margin: 0 !important;
}
.alan-header-info p { color: #a0a8c0; font-size: 11px; margin: 3px 0 0; }
.alan-close { background: none; border: none; color: #a0a8c0; font-size: 24px; cursor: pointer; }
#alan-msgs {
    flex: 1; overflow-y: auto; padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
    background: #fafaf8;
}
#alan-msgs::-webkit-scrollbar { width: 3px; }
#alan-msgs::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.alan-msg { display: flex; gap: 7px; align-items: flex-end; animation: alan-fadeup .25s ease; }
.alan-msg.u { flex-direction: row-reverse; }
@keyframes alan-fadeup {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.alan-av {
    width: 30px; height: 30px; flex-shrink: 0;
    background: #f5c842; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.alan-av.u { background: #1c1c2e; color: #f5c842; font-size: 9px; font-weight: 700; }
.alan-bubble {
    max-width: 78%; padding: 10px 13px;
    border-radius: 15px; font-size: 13px !important;
    line-height: 1.55; color: #2d2d2d !important;
    font-family: 'DM Sans', sans-serif !important;
}
.alan-msg.bot .alan-bubble {
    background: #fff; border: 1px solid #eee;
    border-bottom-left-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.alan-msg.u .alan-bubble { background: #1c1c2e; color: #fff !important; border-bottom-right-radius: 3px; }
.alan-typing .alan-bubble { display: flex; align-items: center; gap: 4px; padding: 13px 15px; }
.alan-dot { width: 6px; height: 6px; background: #ccc; border-radius: 50%; animation: alan-bounce 1.2s infinite; }
.alan-dot:nth-child(2) { animation-delay: .2s; }
.alan-dot:nth-child(3) { animation-delay: .4s; }
@keyframes alan-bounce {
    0%,60%,100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}
#alan-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #fafaf8; }
.alan-qbtn {
    background: #fff; border: 1.5px solid #ddd; color: #1c1c2e;
    padding: 6px 11px; border-radius: 18px; font-size: 11.5px;
    cursor: pointer; font-family: 'DM Sans', sans-serif;
    transition: all .2s; white-space: nowrap;
}
.alan-qbtn:hover { background: #1c1c2e; color: #f5c842; border-color: #1c1c2e; }
#alan-input-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; background: #fff; border-top: 1px solid #eee;
}
#alan-input {
    flex: 1; border: 1.5px solid #e5e0d8 !important;
    border-radius: 20px !important; padding: 8px 14px !important;
    font-size: 13px !important; font-family: 'DM Sans', sans-serif !important;
    outline: none !important; background: #fafaf8 !important; color: #2d2d2d !important;
}
#alan-input:focus { border-color: #1c1c2e !important; }
#alan-input::placeholder { color: #bbb; }
#alan-send {
    width: 38px; height: 38px; background: #1c1c2e;
    border: none; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background .2s;
}
#alan-send:hover { background: #f5c842; }
#alan-send svg { width: 15px; height: 15px; fill: #fff; }
#alan-send:hover svg { fill: #1c1c2e; }
#alan-foot { text-align: center; font-size: 10px; color: #ccc; padding: 6px; font-style: italic; }

/* Formulaire */
.alan-form { background: #f7f5f0; border: 1px solid #e8e3d8; border-radius: 12px; padding: 14px; }
.alan-form h4 { font-family: 'Playfair Display', serif !important; font-size: 13px; color: #1c1c2e; margin: 0 0 10px; }
.alan-form label { display: block; font-size: 11px; color: #666; margin: 8px 0 2px; }
.alan-form input, .alan-form select, .alan-form textarea {
    width: 100% !important; padding: 7px 10px !important;
    border: 1.5px solid #ddd !important; border-radius: 8px !important;
    font-size: 12px !important; font-family: 'DM Sans', sans-serif !important;
    background: #fff !important; color: #2d2d2d !important;
    outline: none !important; box-sizing: border-box !important;
}
.alan-form textarea { resize: none; height: 50px; }
.alan-form .alan-submit {
    margin-top: 11px; width: 100%; padding: 9px;
    background: #1c1c2e; color: #f5c842; border: none;
    border-radius: 9px; font-size: 13px;
    font-family: 'DM Sans', sans-serif; cursor: pointer;
}

/* Choix contact */
.alan-contact-choice {
    display: flex; flex-direction: column; gap: 8px; margin: 10px 0;
}
.alan-contact-choice label {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid #ddd;
    border-radius: 10px; padding: 9px 12px;
    cursor: pointer; font-size: 13px; color: #2d2d2d;
    transition: border-color .2s;
}
.alan-contact-choice label:hover { border-color: #1c1c2e; }
.alan-contact-choice input[type=radio] { accent-color: #1c1c2e; }

/* Tarifs */
.alan-tarif { background: #f7f5f0; border: 1px solid #e8e3d8; border-radius: 12px; padding: 12px; }
.alan-tarif h4 { font-family: 'Playfair Display', serif !important; font-size: 13px; color: #1c1c2e; margin: 0 0 8px; }
.alan-tarif h5 { font-size: 10.5px; color: #999; text-transform: uppercase; letter-spacing: .5px; margin: 8px 0 4px; border-bottom: 1px solid #e8e3d8; padding-bottom: 3px; }
.alan-tr { display: flex; justify-content: space-between; padding: 2px 0; font-size: 12px; }
.alan-tr span:last-child { font-weight: 500; color: #1c1c2e; }

/* Boutons contact */
.alan-cbtns { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.alan-cbtn {
    display: flex; align-items: center; gap: 9px;
    padding: 10px 14px; border-radius: 10px; border: none;
    font-size: 13px; font-family: 'DM Sans', sans-serif;
    font-weight: 500; cursor: pointer; text-decoration: none;
    transition: transform .15s;
}
.alan-cbtn:hover { transform: translateY(-1px); }
.alan-cbtn.ph { background: #1c1c2e; color: #fff; }
.alan-cbtn.wa { background: #25D366; color: #fff; }
.alan-cbtn.em { background: #f5c842; color: #1c1c2e; }

/* Confirmation horaires */
.alan-horaires {
    background: #f7f5f0; border: 1px solid #e8e3d8;
    border-radius: 12px; padding: 12px; font-size: 12.5px;
}
.alan-horaires h4 { font-family: 'Playfair Display', serif !important; font-size: 13px; color: #1c1c2e; margin: 0 0 8px; }
.alan-hor-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12px; }
.alan-hor-row span:last-child { font-weight: 500; color: #1c1c2e; }
.alan-hor-closed { color: #e55; font-weight: 500; }

@media (max-width: 480px) {
    #alan-window { width: calc(100vw - 20px) !important; right: 10px !important; bottom: 90px !important; }
    #alan-launcher { bottom: 16px !important; right: 16px !important; }
}
