/**
 * GW Elementor - Título Avançado
 * CSS para dual heading, degradê animado, subtítulo e divisores
 * Desenvolvido por Gerencie Web
 * v1.8.0
 */

/* =============================================
   WRAPPER PRINCIPAL
   ============================================= */
.gw-adv-heading-wrap {
    position: relative;
    width: 100%;
}

/* =============================================
   TÍTULO
   ============================================= */
.gw-adv-heading-title {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.gw-adv-heading-title.gw-dual-inline {
    display: block;
}

.gw-dual-inline .gw-adv-heading-part1,
.gw-dual-inline .gw-adv-heading-part2,
.gw-dual-inline .gw-adv-heading-separator {
    display: inline;
}

.gw-adv-heading-part1,
.gw-adv-heading-part2 {
    display: inline-block;
    position: relative;
}

.gw-adv-heading-separator {
    display: inline;
}

/* Link */
.gw-adv-heading-link {
    text-decoration: none;
    color: inherit;
}

.gw-adv-heading-link:hover {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   ANIMAÇÃO DE DEGRADÊ
   ============================================= */
@keyframes gwGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Garante que o clip funcione em todos os navegadores */
.gw-color-gradient,
.gw-color-gradient_animated {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* =============================================
   SUBTÍTULO
   ============================================= */
.gw-adv-subtitle {
    margin: 10px 0 0;
    padding: 0;
    line-height: 1.5;
}

/* Subtítulo com traço decorativo */
.gw-adv-subtitle.gw-subtitle-has-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.gw-subtitle-text {
    flex-shrink: 0;
    white-space: nowrap;
}

.gw-subtitle-line {
    display: block;
    width: 60px;
    height: 2px;
    border-radius: 1px;
    flex-shrink: 0;
}

/* Alinhamento do subtítulo com traço */
.gw-adv-heading-wrap .gw-subtitle-has-line {
    /* Herda o text-align do wrapper via justify-content */
}

/* =============================================
   DESCRIÇÃO
   ============================================= */
.gw-adv-description {
    margin: 15px 0 0;
    padding: 0;
    line-height: 1.6;
    color: #64748b;
    font-size: 15px;
}

.gw-adv-description p {
    margin: 0 0 0.8em;
}

.gw-adv-description p:last-child {
    margin-bottom: 0;
}

.gw-adv-description a {
    color: inherit;
    text-decoration: underline;
}

.gw-adv-description a:hover {
    opacity: 0.8;
}

/* =============================================
   DIVISOR - WRAPPER (controla alinhamento)
   ============================================= */
.gw-adv-divider-wrap {
    display: flex;
    justify-content: center; /* padrão: centro */
    width: 100%;
}

/* =============================================
   DIVISOR - CONTAINER INTERNO
   ============================================= */
.gw-adv-divider {
    display: flex;
    align-items: center;
    width: 80px; /* padrão, sobrescrito pelo controle */
    --gw-divider-height: 3px;
}

/* Divisores que empilham (double) */
.gw-divider-style-double {
    flex-direction: column;
}

/* Divisores com elementos centrais (diamond, star) */
.gw-divider-style-diamond,
.gw-divider-style-star {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* =============================================
   DIVISOR: Linha base
   ============================================= */
.gw-adv-divider .gw-divider-line {
    border-radius: 2px;
}

/* =============================================
   ACESSIBILIDADE
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .gw-color-gradient_animated {
        animation: none !important;
    }
}
