/**
 * AHBVC Formação - Estilos
 */

/* ========================================
   SLIDER HERO
   ======================================== */

.ahbvc-slider-hero {
    width: 100%;
    margin: 2rem 0;
    position: relative;
}

.ahbvc-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ahbvc-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.ahbvc-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.ahbvc-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.ahbvc-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e293b;
}

.ahbvc-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.ahbvc-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.ahbvc-slide-inner {
    max-width: 800px;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badges */
.ahbvc-slide-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.ahbvc-logo-inem {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    flex-shrink: 0;
}

.ahbvc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
}

.ahbvc-badge i.dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.ahbvc-badge-inem {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.ahbvc-badge-esgotado {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.ahbvc-badge-ultimas {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    animation: pulse 2s infinite;
}

.ahbvc-badge-urgente {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
}

/* Informações do Slide */
.ahbvc-slide-info {
    color: #fff;
}

.ahbvc-slide-numero {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.ahbvc-slide-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: #fff !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ahbvc-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ahbvc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.ahbvc-meta-item i.dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #60a5fa;
}

.ahbvc-meta-preco {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

/* Botões de Ação */
.ahbvc-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ahbvc-slide-actions .ahbvc-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ahbvc-slide-actions .ahbvc-btn i.dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.ahbvc-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.ahbvc-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.ahbvc-btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.ahbvc-btn-secondary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    color: #fff;
}

/* Navegação */
.ahbvc-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ahbvc-slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.ahbvc-slider-nav i.dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.ahbvc-slider-prev {
    left: 2rem;
}

.ahbvc-slider-next {
    right: 2rem;
}

/* Indicadores */
.ahbvc-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.ahbvc-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ahbvc-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.ahbvc-dot.active {
    background: #fff;
    width: 40px;
    border-radius: 6px;
}

/* Responsivo */
@media (max-width: 768px) {
    .ahbvc-slider-container {
        height: 500px;
        border-radius: 15px;
    }
    
    .ahbvc-slide-content {
        padding: 2rem 1.5rem;
    }
    
    .ahbvc-slide-title {
        font-size: 2rem;
    }
    
    .ahbvc-slide-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .ahbvc-slide-actions {
        flex-direction: column;
    }
    
    .ahbvc-slide-actions .ahbvc-btn {
        width: 100%;
        justify-content: center;
    }
    
    .ahbvc-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .ahbvc-slider-prev {
        left: 1rem;
    }
    
    .ahbvc-slider-next {
        right: 1rem;
    }
}

/* ========================================
   LISTA DE AÇÕES (Original)
   ======================================== */

.ahbvc-acoes-formacao {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.ahbvc-acao-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.ahbvc-acao-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.ahbvc-acao-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    padding: 1.5rem;
}

.ahbvc-acao-titulo {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.ahbvc-acao-numero {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.ahbvc-acao-body {
    padding: 1.5rem;
}

.ahbvc-acao-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ahbvc-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #374151;
}

.ahbvc-info-item i.dashicons {
    color: #3b82f6;
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.ahbvc-info-item strong {
    color: #1f2937;
    min-width: 70px;
}

.ahbvc-info-item.ahbvc-preco {
    font-size: 1.125rem;
    font-weight: 600;
    color: #059669;
    margin-top: 0.5rem;
}

.ahbvc-acao-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.ahbvc-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.ahbvc-btn i.dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.ahbvc-btn-primary {
    background: #3b82f6;
    color: #fff;
}

.ahbvc-btn-primary:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.ahbvc-btn-info {
    background: #6b7280;
    color: #fff;
}

.ahbvc-btn-info:hover {
    background: #4b5563;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

.ahbvc-no-acoes {
    text-align: center;
    padding: 3rem;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    color: #6b7280;
    font-size: 1.125rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .ahbvc-acoes-formacao {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ahbvc-acao-footer {
        flex-direction: column;
    }
    
    .ahbvc-btn {
        width: 100%;
    }
}
