/* =============================================
   GW Elementos Maxíme Oro - Premium Divider
   Desenvolvido por Gerencie Web
   https://gerencieweb.com.br/
   ============================================= */

/* =============================================
   CONTAINER & WRAPPER
   ============================================= */
.gw-emod-container {
    width: 100%;
}

.gw-emod-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Alinhamento */
.gw-emod-align-left {
    margin-right: auto;
}

.gw-emod-align-center {
    margin-left: auto;
    margin-right: auto;
}

.gw-emod-align-right {
    margin-left: auto;
}

/* =============================================
   LINHA BASE
   ============================================= */
.gw-emod-line,
.gw-emod-line-left,
.gw-emod-line-right {
    flex: 1;
    height: 2px;
    position: relative;
    border-radius: 2px;
}

.gw-emod-line {
    width: 100%;
}

/* =============================================
   ELEMENTO CENTRAL
   ============================================= */
.gw-emod-center {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    position: relative;
    z-index: 2;
}

.gw-emod-center-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gw-emod-center-icon i,
.gw-emod-center-icon svg {
    display: block;
}

.gw-emod-center-image img {
    display: block;
    max-height: 60px;
}

.gw-emod-center-text {
    white-space: nowrap;
    font-weight: 600;
    line-height: 1;
}

/* Brilho no elemento central */
.gw-emod-center-glow .gw-emod-center-icon,
.gw-emod-center-glow .gw-emod-center-text {
    filter: drop-shadow(0 0 6px currentColor);
}

.gw-emod-center-glow .gw-emod-center-image img {
    filter: drop-shadow(0 0 6px rgba(162, 150, 102, 0.6));
}

/* =============================================
   ESTILO: GLOW (BRILHO) - DOURADO
   Efeito principal conforme referência:
   Linha fina com brilho radiante e ponto de luz
   ============================================= */
.gw-emod-style-glow_gold .gw-emod-line,
.gw-emod-style-glow_gold .gw-emod-line-left,
.gw-emod-style-glow_gold .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        var(--gw-glow-c3, #6E6444) 10%,
        var(--gw-glow-c1, #A29666) 30%,
        var(--gw-glow-c2, #C4BA90) 50%,
        var(--gw-glow-c1, #A29666) 70%,
        var(--gw-glow-c3, #6E6444) 90%,
        transparent
    );
    box-shadow:
        0 0 var(--gw-glow-intensity, 15px) var(--gw-glow-c1, #A29666),
        0 0 var(--gw-glow-spread, 30px) rgba(162, 150, 102, 0.3);
}

/* =============================================
   ESTILO: GLOW (BRILHO) - PRATEADO
   ============================================= */
.gw-emod-style-glow_silver .gw-emod-line,
.gw-emod-style-glow_silver .gw-emod-line-left,
.gw-emod-style-glow_silver .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        var(--gw-glow-c3, #6a6a6a) 10%,
        var(--gw-glow-c1, #a0a0a0) 30%,
        var(--gw-glow-c2, #d4d4d4) 50%,
        var(--gw-glow-c1, #a0a0a0) 70%,
        var(--gw-glow-c3, #6a6a6a) 90%,
        transparent
    );
    box-shadow:
        0 0 var(--gw-glow-intensity, 15px) var(--gw-glow-c1, #a0a0a0),
        0 0 var(--gw-glow-spread, 30px) rgba(160, 160, 160, 0.3);
}

/* =============================================
   ESTILO: GLOW (BRILHO) - PERSONALIZADO
   ============================================= */
.gw-emod-style-glow_custom .gw-emod-line,
.gw-emod-style-glow_custom .gw-emod-line-left,
.gw-emod-style-glow_custom .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        var(--gw-glow-c3) 10%,
        var(--gw-glow-c1) 30%,
        var(--gw-glow-c2) 50%,
        var(--gw-glow-c1) 70%,
        var(--gw-glow-c3) 90%,
        transparent
    );
    box-shadow:
        0 0 var(--gw-glow-intensity, 15px) var(--gw-glow-c1),
        0 0 var(--gw-glow-spread, 30px) var(--gw-glow-c1);
}

/* =============================================
   PONTO DE LUZ VIAJANTE (FLARE)
   ============================================= */
.gw-emod-flare {
    position: absolute;
    top: 50%;
    left: 0;
    width: var(--gw-flare-size, 40px);
    height: var(--gw-flare-size, 40px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: gw-emod-flare-travel var(--gw-glow-speed, 4s) ease-in-out infinite;
}

.gw-emod-style-glow_gold .gw-emod-flare {
    background: radial-gradient(circle, rgba(196, 186, 144, 0.9) 0%, rgba(162, 150, 102, 0.5) 30%, transparent 70%);
    box-shadow: 0 0 20px rgba(196, 186, 144, 0.8), 0 0 40px rgba(162, 150, 102, 0.4);
}

.gw-emod-style-glow_silver .gw-emod-flare {
    background: radial-gradient(circle, rgba(212, 212, 212, 0.9) 0%, rgba(160, 160, 160, 0.5) 30%, transparent 70%);
    box-shadow: 0 0 20px rgba(212, 212, 212, 0.8), 0 0 40px rgba(160, 160, 160, 0.4);
}

.gw-emod-style-glow_custom .gw-emod-flare {
    background: radial-gradient(circle, var(--gw-glow-c2) 0%, var(--gw-glow-c1) 30%, transparent 70%);
    box-shadow: 0 0 20px var(--gw-glow-c2), 0 0 40px var(--gw-glow-c1);
}

@keyframes gw-emod-flare-travel {
    0% {
        left: -5%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        left: 50%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 105%;
        opacity: 0;
    }
}

/* =============================================
   PULSAÇÃO DO GLOW
   ============================================= */
.gw-emod-glow-pulse .gw-emod-line,
.gw-emod-glow-pulse .gw-emod-line-left,
.gw-emod-glow-pulse .gw-emod-line-right {
    animation: gw-emod-glow-pulse-anim 2s ease-in-out infinite alternate;
}

@keyframes gw-emod-glow-pulse-anim {
    0% {
        filter: brightness(0.8);
        box-shadow:
            0 0 calc(var(--gw-glow-intensity, 15px) * 0.5) var(--gw-glow-c1, #A29666),
            0 0 calc(var(--gw-glow-spread, 30px) * 0.5) var(--gw-glow-c1, #A29666);
    }
    100% {
        filter: brightness(1.2);
        box-shadow:
            0 0 calc(var(--gw-glow-intensity, 15px) * 1.5) var(--gw-glow-c1, #A29666),
            0 0 calc(var(--gw-glow-spread, 30px) * 1.5) var(--gw-glow-c1, #A29666);
    }
}

/* =============================================
   ESTILO: SHIMMER DOURADO
   ============================================= */
.gw-emod-style-shimmer_gold .gw-emod-line,
.gw-emod-style-shimmer_gold .gw-emod-line-left,
.gw-emod-style-shimmer_gold .gw-emod-line-right {
    background: linear-gradient(90deg,
        var(--gw-shimmer-c1, #8A7E56),
        var(--gw-shimmer-c2, #A29666),
        var(--gw-shimmer-c3, #D6CCA6),
        var(--gw-shimmer-c2, #A29666),
        var(--gw-shimmer-c1, #8A7E56)
    );
    background-size: 200% 100%;
    animation: gw-emod-shimmer var(--gw-shimmer-speed, 2.5s) linear infinite;
    animation-direction: var(--gw-shimmer-dir, normal);
}

/* =============================================
   ESTILO: SHIMMER PRATEADO
   ============================================= */
.gw-emod-style-shimmer_silver .gw-emod-line,
.gw-emod-style-shimmer_silver .gw-emod-line-left,
.gw-emod-style-shimmer_silver .gw-emod-line-right {
    background: linear-gradient(90deg,
        var(--gw-shimmer-c1, #7a7a7a),
        var(--gw-shimmer-c2, #a0a0a0),
        var(--gw-shimmer-c3, #e0e0e0),
        var(--gw-shimmer-c2, #a0a0a0),
        var(--gw-shimmer-c1, #7a7a7a)
    );
    background-size: 200% 100%;
    animation: gw-emod-shimmer var(--gw-shimmer-speed, 2.5s) linear infinite;
    animation-direction: var(--gw-shimmer-dir, normal);
}

/* =============================================
   ESTILO: SHIMMER PERSONALIZADO
   ============================================= */
.gw-emod-style-shimmer_custom .gw-emod-line,
.gw-emod-style-shimmer_custom .gw-emod-line-left,
.gw-emod-style-shimmer_custom .gw-emod-line-right {
    background: linear-gradient(90deg,
        var(--gw-shimmer-c1),
        var(--gw-shimmer-c2),
        var(--gw-shimmer-c3),
        var(--gw-shimmer-c2),
        var(--gw-shimmer-c1)
    );
    background-size: 200% 100%;
    animation: gw-emod-shimmer var(--gw-shimmer-speed, 2.5s) linear infinite;
    animation-direction: var(--gw-shimmer-dir, normal);
}

@keyframes gw-emod-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* =============================================
   ESTILO: DEGRADÊ DOURADO
   ============================================= */
.gw-emod-style-gradient_gold .gw-emod-line,
.gw-emod-style-gradient_gold .gw-emod-line-left,
.gw-emod-style-gradient_gold .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        #8A7E56 10%,
        #A29666 25%,
        #C4BA90 40%,
        #D6CCA6 50%,
        #C4BA90 60%,
        #A29666 75%,
        #8A7E56 90%,
        transparent
    );
}

/* =============================================
   ESTILO: DEGRADÊ PRATEADO
   ============================================= */
.gw-emod-style-gradient_silver .gw-emod-line,
.gw-emod-style-gradient_silver .gw-emod-line-left,
.gw-emod-style-gradient_silver .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        #7a7a7a 10%,
        #a0a0a0 25%,
        #c8c8c8 40%,
        #e0e0e0 50%,
        #c8c8c8 60%,
        #a0a0a0 75%,
        #7a7a7a 90%,
        transparent
    );
}

/* =============================================
   ESTILO: DEGRADÊ PERSONALIZADO
   ============================================= */
.gw-emod-style-gradient_custom .gw-emod-line,
.gw-emod-style-gradient_custom .gw-emod-line-left,
.gw-emod-style-gradient_custom .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        var(--gw-grad-c1) 15%,
        var(--gw-grad-c2) 50%,
        var(--gw-grad-c3) 85%,
        transparent
    );
}

/* =============================================
   ESTILO: SÓLIDO
   ============================================= */
.gw-emod-style-solid .gw-emod-line,
.gw-emod-style-solid .gw-emod-line-left,
.gw-emod-style-solid .gw-emod-line-right {
    background-color: #A29666;
}

/* =============================================
   ESTILO: TRACEJADO
   ============================================= */
.gw-emod-style-dashed .gw-emod-line,
.gw-emod-style-dashed .gw-emod-line-left,
.gw-emod-style-dashed .gw-emod-line-right {
    background: none !important;
    height: 0 !important;
    border-top: 2px dashed #A29666;
}

/* =============================================
   ESTILO: PONTILHADO
   ============================================= */
.gw-emod-style-dotted .gw-emod-line,
.gw-emod-style-dotted .gw-emod-line-left,
.gw-emod-style-dotted .gw-emod-line-right {
    background: none !important;
    height: 0 !important;
    border-top: 2px dotted #A29666;
}

/* =============================================
   ESTILO: DUPLO
   ============================================= */
.gw-emod-style-double .gw-emod-line,
.gw-emod-style-double .gw-emod-line-left,
.gw-emod-style-double .gw-emod-line-right {
    background: none !important;
    height: 0 !important;
    border-top: 4px double #A29666;
}

/* =============================================
   ESTILO: FADE NAS LATERAIS
   ============================================= */
.gw-emod-style-fade_sides .gw-emod-line,
.gw-emod-style-fade_sides .gw-emod-line-left,
.gw-emod-style-fade_sides .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        var(--gw-fade-color, #A29666) 20%,
        var(--gw-fade-color, #A29666) 80%,
        transparent
    );
}

/* =============================================
   ESTILO: FADE DOURADO
   ============================================= */
.gw-emod-style-fade_gold .gw-emod-line,
.gw-emod-style-fade_gold .gw-emod-line-left,
.gw-emod-style-fade_gold .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        #8A7E56 15%,
        #A29666 35%,
        #C4BA90 50%,
        #A29666 65%,
        #8A7E56 85%,
        transparent
    );
}

/* =============================================
   ESTILO: FADE PRATEADO
   ============================================= */
.gw-emod-style-fade_silver .gw-emod-line,
.gw-emod-style-fade_silver .gw-emod-line-left,
.gw-emod-style-fade_silver .gw-emod-line-right {
    background: linear-gradient(90deg,
        transparent,
        #7a7a7a 15%,
        #a0a0a0 35%,
        #d4d4d4 50%,
        #a0a0a0 65%,
        #7a7a7a 85%,
        transparent
    );
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 768px) {
    .gw-emod-flare {
        display: none;
    }

    .gw-emod-center {
        margin: 0 8px;
    }
}

/* =============================================
   EDITOR DO ELEMENTOR
   ============================================= */
.elementor-editor-active .gw-emod-container {
    min-height: 20px;
}
