/**
 * CTA CADASTRO - UPGRADE SUTIL
 * Adiciona efeitos modernos mantendo as cores específicas de cada cliente
 * Não sobrescreve cores definidas em style_{codigo}.css
 */

/* ==== ÍCONE DECORATIVO ACIMA DO TÍTULO ==== */
.membership-description {
    position: relative;
}

/* Removido ícone ::before pois não estava aparecendo */

/* ==== TÍTULO COM EFEITO SUTIL ==== */
.membership-description > h2 {
    position: relative;
    animation: titleSlideIn 0.8s ease;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==== UPGRADE DO BOTÃO ==== */
.get-started-button {
    position: relative;
    text-align: center; /* Garante centralização em todas as resoluções */
}

.get-started-button a {
    position: relative;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 32px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Efeito de brilho ao passar o mouse */
.get-started-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.get-started-button a:hover::before {
    left: 100%;
}

/* Elevação no hover */
.get-started-button a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

.get-started-button a:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* ==== ÍCONES NOS BOTÕES (HTML) ==== */

/* Ícone contextual à ESQUERDA (ti-user ou ti-location-pin) */
.get-started-button a i:first-child {
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Seta à DIREITA (ti-arrow-right) */
.get-started-button a i:last-child {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Animação no hover: ícone esquerdo escala + seta direita desliza */
.get-started-button a:hover i:first-child {
    transform: scale(1.1) !important;
}

.get-started-button a:hover i:last-child {
    transform: translateX(4px) !important;
}

/* ==== EFEITO DE PULSO SUTIL (OPCIONAL) ==== */
@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
}

.get-started-button a {
    animation: subtlePulse 3s ease-in-out infinite;
}

.get-started-button a:hover {
    animation: none;
}

/* ==== RESPONSIVIDADE ==== */
@media (max-width: 768px) {
    .get-started-button a {
        padding: 10px 24px !important;
        font-size: 0.9375rem !important;
    }
    
    .get-started-button a i:first-child {
        font-size: 0.875rem;
        margin-right: 0.375rem;
    }
    
    .get-started-button a i:last-child {
        font-size: 0.75rem;
        margin-left: 0.375rem;
    }
}

@media (max-width: 480px) {
    .get-started-button a {
        padding: 10px 20px !important;
        font-size: 0.875rem !important;
    }
    
    .get-started-button a i:first-child {
        font-size: 0.875rem;
    }
    
    .get-started-button a i:last-child {
        font-size: 0.75rem;
    }
}

/* ==== ACESSIBILIDADE ==== */
@media (prefers-reduced-motion: reduce) {
    .membership-description::before,
    .membership-description > h2,
    .get-started-button a {
        animation: none !important;
    }
    
    .get-started-button a:hover {
        transform: none !important;
    }
}

/* Foco visível para navegação por teclado */
.get-started-button a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}
