/* =============================================
   GW Elementos Maxíme Oro v1.0
   Desenvolvido por Gerencie Web
   https://gerencieweb.com.br/
   ============================================= */

/* =============================================
   WRAPPER PRINCIPAL
   ============================================= */
.gw-emofb-wrapper {
    position: relative;
    width: 100%;
    font-family: inherit;
}

/* =============================================
   BARRA PRINCIPAL
   ============================================= */
.gw-emofb-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.3s ease;
    background-color: #f5f5f0;
}

.gw-emofb-bar:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* =============================================
   OVERLAY DE FUNDO (IMAGEM)
   ============================================= */
.gw-emofb-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    border-radius: inherit;
}

/* =============================================
   DIVISÓRIA HORIZONTAL
   ============================================= */
.gw-emofb-horizontal-divider {
    width: 100%;
    border: none;
    margin: 0;
    transition: opacity 0.3s ease;
}

.gw-emofb-divider-top {
    margin-bottom: 0;
    border-radius: 2px 2px 0 0;
}

.gw-emofb-divider-bottom {
    margin-top: 0;
    border-radius: 0 0 2px 2px;
}

/* =============================================
   TÍTULO SOBREPOSTO
   ============================================= */
.gw-emofb-overlay-title-wrapper {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.gw-emofb-overlay-title-wrapper.gw-emofb-overlay-pos-center {
    left: 50%;
    transform: translateX(-50%);
}

.gw-emofb-overlay-title-wrapper.gw-emofb-overlay-pos-left {
    left: 30px;
}

.gw-emofb-overlay-title-wrapper.gw-emofb-overlay-pos-right {
    right: 30px;
}

.gw-emofb-overlay-title {
    display: inline-block;
    margin: 0;
    padding: 5px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: auto;
    background-color: #f5f5f0;
    color: #1a1a1a;
    border-style: solid;
    border-color: rgba(162, 150, 102, 0.3);
    border-width: 1px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gw-emofb-bar:hover .gw-emofb-overlay-title {
    box-shadow: 0 3px 12px rgba(162, 150, 102, 0.15);
}

/* =============================================
   CONTAINER DE FEATURES
   ============================================= */
.gw-emofb-features-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

/* =============================================
   ITEM DE FEATURE
   ============================================= */
.gw-emofb-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 20px;
    transition: all 0.3s ease;
    flex: 1 1 auto;
}

.gw-emofb-feature-item:hover {
    transform: translateY(-1px);
}

/* =============================================
   LINK DA FEATURE
   ============================================= */
.gw-emofb-feature-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.gw-emofb-feature-link:hover {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   CONTEÚDO DA FEATURE (ÍCONE + TEXTO)
   ============================================= */
.gw-emofb-feature-content {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
}

/* =============================================
   ÍCONE DA FEATURE
   ============================================= */
.gw-emofb-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.gw-emofb-feature-icon i {
    font-size: 24px;
    color: #A29666;
    transition: all 0.3s ease;
}

.gw-emofb-feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #A29666;
    transition: all 0.3s ease;
}

.gw-emofb-feature-icon img.gw-emofb-icon-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.gw-emofb-feature-item:hover .gw-emofb-feature-icon i {
    color: #B8A87A;
    transform: scale(1.1);
}

.gw-emofb-feature-item:hover .gw-emofb-feature-icon svg {
    fill: #B8A87A;
    transform: scale(1.1);
}

.gw-emofb-feature-item:hover .gw-emofb-feature-icon img {
    transform: scale(1.1);
}

/* =============================================
   TEXTO DA FEATURE
   ============================================= */
.gw-emofb-feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gw-emofb-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.gw-emofb-feature-desc {
    font-size: 12px;
    font-weight: 400;
    color: #666666;
    line-height: 1.4;
    margin-top: 2px;
    transition: color 0.3s ease;
}

/* =============================================
   DIVISÓRIA VERTICAL
   ============================================= */
.gw-emofb-vertical-divider {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    border-left: 1px solid rgba(162, 150, 102, 0.3);
    transition: all 0.3s ease;
}

/* =============================================
   DIREÇÃO VERTICAL (EMPILHADO)
   ============================================= */
.gw-emofb-feature-content[style*="column"] .gw-emofb-feature-icon,
.gw-emofb-feature-content.gw-dir-column .gw-emofb-feature-icon {
    margin-right: 0;
    margin-bottom: 8px;
}

.gw-emofb-feature-content[style*="column"] .gw-emofb-feature-text,
.gw-emofb-feature-content.gw-dir-column .gw-emofb-feature-text {
    align-items: center;
    text-align: center;
}

/* =============================================
   ANIMAÇÃO DE ENTRADA
   ============================================= */
.gw-emofb-wrapper {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gw-emofb-wrapper.gw-emofb-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animação sequencial dos itens */
.gw-emofb-feature-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gw-emofb-visible .gw-emofb-feature-item {
    opacity: 1;
    transform: translateY(0);
}

.gw-emofb-visible .gw-emofb-feature-item:nth-child(1) { transition-delay: 0.1s; }
.gw-emofb-visible .gw-emofb-feature-item:nth-child(2) { transition-delay: 0.2s; }
.gw-emofb-visible .gw-emofb-feature-item:nth-child(3) { transition-delay: 0.3s; }
.gw-emofb-visible .gw-emofb-feature-item:nth-child(4) { transition-delay: 0.4s; }
.gw-emofb-visible .gw-emofb-feature-item:nth-child(5) { transition-delay: 0.5s; }
.gw-emofb-visible .gw-emofb-feature-item:nth-child(6) { transition-delay: 0.6s; }
.gw-emofb-visible .gw-emofb-feature-item:nth-child(7) { transition-delay: 0.7s; }
.gw-emofb-visible .gw-emofb-feature-item:nth-child(8) { transition-delay: 0.8s; }

/* =============================================
   EFEITO SHIMMER NA DIVISÓRIA HORIZONTAL
   ============================================= */
@keyframes gw-emofb-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.gw-emofb-horizontal-divider {
    background-size: 200% 100%;
    animation: gw-emofb-shimmer 4s linear infinite;
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 768px) {
    .gw-emofb-features-container {
        flex-wrap: wrap;
        gap: 5px;
    }

    .gw-emofb-feature-item {
        flex: 1 1 45%;
        min-width: 140px;
        justify-content: center;
        padding: 8px 12px;
    }

    .gw-emofb-vertical-divider {
        display: none;
    }

    .gw-emofb-overlay-title {
        font-size: 12px;
        padding: 4px 15px;
    }

    .gw-emofb-feature-title {
        font-size: 12px;
    }

    .gw-emofb-feature-icon i,
    .gw-emofb-feature-icon svg,
    .gw-emofb-feature-icon img {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .gw-emofb-feature-item {
        flex: 1 1 100%;
    }

    .gw-emofb-bar {
        border-radius: 15px !important;
    }

    .gw-emofb-features-container {
        flex-direction: column;
    }

    .gw-emofb-feature-item {
        border-bottom: 1px solid rgba(162, 150, 102, 0.1);
    }

    .gw-emofb-feature-item:last-child {
        border-bottom: none;
    }
}

/* =============================================
   EDITOR DO ELEMENTOR
   ============================================= */
.elementor-editor-active .gw-emofb-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.elementor-editor-active .gw-emofb-feature-item {
    opacity: 1;
    transform: translateY(0);
}
