/* =========================================================
🎨 PALETA DE CORES DA EJR TI (Atendimentos Modal)
========================================================= */
:root {
    --ejrti-cor-primaria: #2e67ff;
    --ejrti-gradiente: linear-gradient(135deg, #2e67ff 0%, #174adb 100%);
    --ejrti-gradiente-hover: linear-gradient(135deg, #4d82ff 0%, #2055f5 100%);
}

/* Botão Flutuante */
@keyframes surgirEJR { 
    0% { opacity: 0; transform: translateY(60px) scale(0.9); } 
    100% { opacity: 1; transform: translateY(0) scale(1); } 
}

#zammad-feedback-form { 
    position: fixed; 
    bottom: 50px; 
    right: 30px; 
    z-index: 9999; 
    background: #2e67ff !important; 
    color: #ffffff !important; 
    padding: 14px 28px; 
    border: 2px solid rgba(255, 255, 255, 0.18); 
    border-radius: 50px; 
    font-family: 'Inter', sans-serif; 
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    box-shadow: 0 10px 25px rgba(46, 103, 255, 0.40) !important; 
    animation: surgirEJR 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
    transition: 0.3s; 
}
#zammad-feedback-form:hover { 
    transform: translateY(-5px) scale(1.03); 
    background: #174adb !important; 
    box-shadow: 0 14px 30px rgba(46, 103, 255, 0.55) !important;
}

/* Modal e Overlay */
.ejrti-modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(2px); 
    z-index: 9999998; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}
.ejrti-modal-overlay.ativo { 
    display: flex; 
    opacity: 1; 
}
.ejrti-modal-wrapper { 
    width: 95%; 
    max-width: 420px; 
    position: relative; 
    transform: translateY(20px); 
    transition: transform 0.3s ease; 
    font-family: 'Inter', sans-serif; 
    max-height: 95vh; 
    overflow-y: auto; 
    border-radius: 12px; 
    scrollbar-width: thin; 
}
.ejrti-modal-overlay.ativo .ejrti-modal-wrapper { 
    transform: translateY(0); 
}
.ejrti-modal-header { 
    background: var(--ejrti-gradiente); 
    padding: 30px 25px 60px 25px; 
    border-radius: 12px 12px 0 0; 
    position: relative; 
}
.ejrti-modal-header h2 { 
    color: #ffffff; 
    font-size: 24px; 
    font-weight: 700; 
    margin: 0; 
    line-height: 1.3; 
}
.ejrti-btn-fechar { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: rgba(0, 0, 0, 0.2); 
    border: none; 
    border-radius: 6px; 
    width: 32px; 
    height: 32px; 
    color: #fff; 
    cursor: pointer; 
    font-weight: bold; 
}
.ejrti-modal-body { 
    background: #ffffff; 
    margin: -30px 15px 15px 15px; 
    border-radius: 12px; 
    padding: 25px 20px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); 
    position: relative; 
    z-index: 2; 
}
.ejrti-modal-body h3 { 
    color: #1a365d; 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 25px; 
}
.ejrti-form-group { 
    margin-bottom: 18px; 
    text-align: left; 
}
.ejrti-form-group label { 
    display: block; 
    font-size: 13px; 
    font-weight: 500; 
    color: #4a5568; 
    margin-bottom: 6px; 
}
.ejrti-asterisco { 
    color: #e53e3e; 
}
.ejrti-form-group input:not([type="file"]), 
.ejrti-form-group textarea, 
.ejrti-form-group select { 
    width: 100%; 
    padding: 12px 14px; 
    border: 1px solid #cbd5e0; 
    border-radius: 6px; 
    font-size: 14px; 
    box-sizing: border-box; 
}
.ejrti-form-group input:focus, 
.ejrti-form-group textarea:focus, 
.ejrti-form-group select:focus { 
    border-color: var(--ejrti-cor-primaria); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1); 
}
.ejrti-form-group textarea { 
    resize: vertical; 
    min-height: 100px; 
}
/* Dropzone (Área de Anexos) */
.ejrti-dropzone {
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #f0f7ff;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 10px;
}
.ejrti-dropzone:hover { 
    border-color: var(--ejrti-cor-primaria); 
    background: #e1efff; 
}
.dz-icon { 
    font-size: 32px; 
    color: var(--ejrti-cor-primaria); 
    display: block; 
    margin-bottom: 8px; 
}
.dz-text { 
    font-size: 14px; 
    color: #2d3748; 
    font-weight: 600; 
    margin: 0; 
}
.dz-sub { 
    font-size: 12px; 
    color: #718096; 
}
.ejrti-lista-anexos { 
    margin-top: 15px; 
}
.anexo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
}
.anexo-info { 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
}
.anexo-nome { 
    font-size: 13px; 
    font-weight: 600; 
    color: #2d3748; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.anexo-tamanho { 
    font-size: 11px; 
    color: #a0aec0; 
}
.btn-remover-anexo { 
    background: none; 
    border: none; 
    color: #cbd5e0; 
    cursor: pointer; 
    font-size: 18px; 
    transition: 0.2s; 
}
.btn-remover-anexo:hover { 
    color: #e53e3e; 
}
.ejrti-btn-enviar { 
    background: var(--ejrti-gradiente); 
    color: #ffffff; 
    border: none; 
    padding: 14px 20px; 
    border-radius: 6px; 
    font-size: 16px; 
    font-weight: 600; 
    width: 100%; 
    cursor: pointer; 
    margin-top: 10px; 
}
.ejrti-btn-enviar:hover { 
    background: var(--ejrti-gradiente-hover); 
}
.ejrti-mensagem-sucesso { 
    display: none; 
    color: #2f855a; 
    background-color: #c6f6d5; 
    padding: 15px; 
    margin-top: 15px; 
    border-radius: 6px; 
    text-align: center; 
    font-weight: 600; 
}

/* =========================================================
   ⬆️ BOTÃO FLUTUANTE DE VOLTAR AO TOPO (SCROLL TO TOP)
   ========================================================= */
#jr-scroll-top {
    position: fixed;
    bottom: 50px;
    right: 250px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0e142b;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#jr-scroll-top.visivel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#jr-scroll-top:hover {
    background: #2e67ff;
    color: #ffffff;
    border-color: #2e67ff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(46, 103, 255, 0.45);
}

@media (max-width: 768px) {
    #jr-scroll-top {
        bottom: 115px;
        right: 30px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* ---------- Carrossel Infinito de Parceiros (Marquee) ---------- */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}


