/**
 * Schedule Links Styles - Cidadão.AI
 * 
 * Estilos específicos para links de agendamento
 * Destaque visual para maximizar conversões
 * 
 * @author Anderson Henrique
 * @version 1.0.0
 */

/* ===== HERO CTA BUTTON ===== */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-cta {
    position: relative;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
    min-height: 52px;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.hero-cta:active {
    transform: translateY(0);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 52px;
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--text-accent);
    color: var(--text-accent);
    transform: translateY(-1px);
}

/* ===== FEATURED CARD (Seção de Contato) ===== */
.featured-card {
    position: relative;
    border: 2px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    transform: scale(1.02);
}

.featured-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.25);
    border-color: #059669;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #10b981, #059669, #10b981);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ===== FOOTER SCHEDULE LINK ===== */
.schedule-link {
    position: relative;
    font-weight: 600;
    color: #10b981 !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.schedule-link:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.schedule-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    transition: width 0.3s ease;
    z-index: -1;
}

.schedule-link:hover::before {
    width: 100%;
}

.schedule-link:hover {
    color: white !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .featured-card {
        transform: scale(1);
        margin-bottom: 1rem;
    }
    
    .featured-card:hover {
        transform: scale(1.02);
    }
    
    .schedule-link {
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .author-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .author-links a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* ===== DARK THEME ===== */
[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--text-accent);
    color: var(--text-accent);
}

[data-theme="dark"] .featured-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.03));
    border-color: rgba(16, 185, 129, 0.4);
}

[data-theme="dark"] .schedule-link {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-cta,
    .btn-secondary,
    .featured-card,
    .schedule-link,
    .featured-badge {
        animation: none;
        transition: none;
    }
    
    .hero-cta:hover,
    .btn-secondary:hover,
    .featured-card:hover,
    .schedule-link:hover {
        transform: none;
    }
}

/* Focus states para acessibilidade */
.hero-cta:focus,
.btn-secondary:focus,
.schedule-link:focus {
    outline: 3px solid var(--text-accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px white, 0 0 0 4px var(--text-accent);
}

/* ===== CALL-TO-ACTION ENHANCEMENTS ===== */
.hero-cta {
    position: relative;
    overflow: hidden;
}

.hero-cta::after {
    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.6s ease;
}

.hero-cta:hover::after {
    left: 100%;
}

/* Subtle animation para chamar atenção */
@keyframes gentle-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    }
}

.hero-cta {
    animation: gentle-glow 3s ease-in-out infinite;
}

.hero-cta:hover {
    animation: none;
}