.karina-assistente {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 2;
    }

    /* FAB */
    .karina-fab {
        width: 112px;
        height: 112px;
        border-radius: 50%;
        background: #eaeced;
        border: 4px solid #ffffff;
        cursor: pointer;
        position: relative;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        padding: 6px;
    }

    /* IMAGEM DENTRO */
    .karina-fab img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    /* SETINHA */
    .karina-arrow {
        position: absolute;
        left: -12px;
        top: 80%;
        /* MAIS PRA BAIXO */
        transform: translateY(-50%);
        background: #00995d;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 3px solid #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }


    /* CONTEÚDO ABERTO */
    .karina-open {
        display: none;
        align-items: flex-end;
        /* personagem vai para baixo */
        gap: 16px;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.35s ease, transform 0.35s ease;

    }

    .karina-open.active {
        opacity: 1;
        transform: translateX(0);
    }

    /* BALÃO */
    .karina-balloon {
        background: #fff;
        border-radius: 16px;
        padding: 16px;
        width: 280px;
        font-size: 14px;
        color: #333;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        position: relative;
        transform: translateY(-12px);
        opacity: 0;
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .karina-open.active .karina-balloon {
        opacity: 1;
        transform: translateY(-20px);
    }

    .karina-balloon::after {
        content: "";
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        border-left: 10px solid #fff;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    /* AÇÕES */
    .karina-actions {
        margin-top: 10px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .karina-btn {
        background: #00995d;
        color: #fff;
        border: none;
        padding: 10px 16px;
        border-radius: 6px;
        cursor: pointer;
    }

     .karina-btn:hover {
        background: #007a4a;
    }

    .karina-btn-close {
        background: #ffffff;
        color: #00995d;
        border: 1px solid #00995d;
        padding: 10px 16px;
        border-radius: 6px;
        cursor: pointer;
    }

     .karina-btn-close:hover {
         color: #B6CD34;
        border: 1px solid #B6CD34;
    }

    .karina-actions a {
        font-size: 13px;
        color: #555;
        text-decoration: underline;
    }

    /* IMAGEM GRANDE */
    .karina-full {
        width: 160px;
        opacity: 0;
        transform: translateY(12px);
        margin-bottom: -24px;
        /* ajusta fino até encostar */
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .karina-open.active .karina-full {
        opacity: 1;
        transform: translateY(0);
    }

    /* ===========================
   MOBILE
   =========================== */
    @media (max-width: 768px) {

        .karina-assistente {
            right: 16px;
            bottom: 16px;
        }

        /* FAB um pouco menor, mas ainda confortável */
        .karina-fab {
            width: 96px;
            height: 96px;
        }

        .karina-arrow {
            width: 30px;
            height: 30px;
            font-size: 18px;
            left: -12px;
        }


        /* CONTEÚDO ABERTO */
        .karina-open {
            flex-direction: column-reverse;
            align-items: center;
            gap: 12px;
            transform: translateY(20px);
        }

        .karina-open.active {
            transform: translateY(0);
        }

        /* BALÃO */
        .karina-balloon {
            width: calc(100vw - 32px);
            max-width: 360px;
            text-align: left;
            transform: translateY(0);
        }

        /* SETA DO BALÃO (agora embaixo) */
        .karina-balloon::after {
            right: auto;
            left: 50%;
            top: auto;
            bottom: -10px;
            transform: translateX(-50%);
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid #fff;
            border-bottom: none;
        }

        /* MASCOTE */
        .karina-full {
            width: 120px;
        }

        /* AÇÕES */
        .karina-actions {
            flex-direction: column;
            align-items: stretch;
        }

        .karina-btn {
            width: 100%;
            text-align: center;
        }

        .karina-btn-close {
            width: 100%;
            text-align: center;
        }
    }

    /* ===========================
   MOBILE – inverter ordem
   =========================== */
    /* ===========================
   MOBILE
   =========================== */
    @media (max-width: 768px) {

        /* POSIÇÃO GERAL */
        .karina-assistente {
            right: 16px;
            bottom: 16px;
        }

        /* FAB */
        .karina-fab {
            width: 96px;
            height: 96px;
        }

        .karina-arrow {
            width: 30px;
            height: 30px;
            left: -12px;
        }

        /* CONTEÚDO ABERTO */
        .karina-open {
            flex-direction: column;
            /* balão em cima, Karina embaixo */
            align-items: center;
            gap: 12px;
            transform: translateY(20px);
        }

        .karina-open.active {
            transform: translateY(0);
        }

        /* BALÃO */
        .karina-balloon {
            order: 1;
            width: calc(100vw - 32px);
            max-width: 360px;
            text-align: left;
            margin-top: 12px;
            /* desce o balão */
            margin-bottom: 8px;
            transform: none;
            /* evita conflitos */
        }

        /* SETA DO BALÃO (aponta pra baixo) */
        .karina-balloon::after {
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid #fff;
            border-bottom: none;
        }

        /* KARINA */
        .karina-full {
            order: 2;
            width: 120px;
            margin-bottom: -24px;
            /* encostada no rodapé */
        }

        /* AÇÕES */
        .karina-actions {
            flex-direction: column;
            align-items: stretch;
        }

        .karina-btn {
            width: 100%;
            text-align: center;
        }

        .karina-btn-close {
            width: 100%;
            text-align: center;
        }
    }

    /* Modal Container */
    .fixed-footer-box a {
        color: #00995d;
    }

    .fixed-footer-box a:hover {
        color: #0A5F55;
    }

    .modal-karina {
        display: none;
        /* Certifique-se de que o modal está inicialmente escondido */
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
        justify-content: center;
        align-items: center;
        opacity: 0;
        /* Inicia o modal com opacidade 0 */
        animation: fadeInModal 0.5s ease forwards;
        /* Animação de fadeIn */
        z-index: 1000;
    }

    /* Modal Content */
    .modal-content-karina {
        color: #00995d;
        background-color: #fefefe;
        padding: 15px;
        border: 1px solid #888;
        width: 50%;
        /* Ajuste conforme necessário */
        max-width: 600px;
        /* Tamanho máximo */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        font-size: 1.2em;
    }

    /* Animação de fadeIn */
    @keyframes fadeInModal {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    /* Close Button */
    .close-karina {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .close-karina:hover,
    .close-karina:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    /* Responsiveness */
    @media (max-width: 768px) {
        .modal-content-karina {
            width: 70%;
            /* Ajuste conforme necessário para telas médias */
        }
    }

    @media (max-width: 480px) {
        .modal-content-karina {
            width: 90%;
            /* Ajuste conforme necessário para telas pequenas */
            padding: 8px;
            /* Reduzir padding em telas pequenas */
            font-size: 1.1em;
        }

        .close-karina {
            font-size: 24px;
            /* Reduzir tamanho do botão de fechar em telas pequenas */
        }
    }