/**
 * REDESIGN MODERADO - CSS Principal (CORRIGIDO)
 * Data: 2025-11-21
 * 
 * CORREÇÕES:
 * 1. Hero overlay com cor original (sem gradiente)
 * 2. Seta de scroll centralizada (não torta)
 * 3. Botões "Ver mais" sempre coloridos
 */

/* ========================================
   VARIÁVEIS CSS - Paleta Moderna
   ======================================== */
:root {
    --primary-modern: #3B82F6;
    --secondary-modern: #8B5CF6;
    --success-modern: #10B981;
    --danger-modern: #EF4444;
    --warning-modern: #F59E0B;
    --info-modern: #06B6D4;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   HERO SECTION - Mantém cor original
   ======================================== */

/* Animação de fade-in no hero */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título com sombra sutil */
.hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

/* Botões do hero melhorados */
.hero-actions .btn {
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Seta de scroll - CORRIGIDA (centralizada, não torta) */
.scroll-down-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-base);
    animation: bounceArrow 2s infinite;
}

.scroll-down-arrow i {
    display: block;
    line-height: 1;
    font-size: 1.25rem;
}

.scroll-down-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   QUICK ACTIONS - Cards Modernos
   ======================================== */
.quick-link-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem !important;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    /* Efeito 3D MARCANTE no contorno do botão */
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.15),
        0 6px 10px -2px rgba(0, 0, 0, 0.12),
        0 2px 4px -1px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 0 rgba(255, 255, 255, 0.7),
        inset 0 -2px 0 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: both;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.quick-link-card:hover::before {
    opacity: 1;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    /* Efeito 3D MUITO MARCANTE ao hover */
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.2),
        0 15px 20px -5px rgba(0, 0, 0, 0.15),
        0 10px 15px -3px rgba(0, 0, 0, 0.12),
        0 5px 10px -2px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 0 0 rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

.quick-link-card i {
    transition: all var(--transition-base);
    /* Efeito 3D MARCANTE no ícone */
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.15),
        1px 1px 2px rgba(0, 0, 0, 0.1);
}

.quick-link-card span {
    transition: all var(--transition-base);
    /* Efeito 3D MARCANTE no texto */
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.15),
        1px 1px 2px rgba(0, 0, 0, 0.1),
        0px 1px 1px rgba(0, 0, 0, 0.08);
}

.quick-link-card:hover i {
    transform: scale(1.15) translateY(-3px);
    /* Efeito 3D MUITO MARCANTE ao hover */
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.25),
        3px 3px 6px rgba(0, 0, 0, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.15),
        1px 1px 2px rgba(0, 0, 0, 0.1);
}

.quick-link-card:hover span {
    /* Efeito 3D MARCANTE no texto ao hover */
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.15),
        1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Cores específicas por tipo - CORRIGIDO (ícones brancos ao hover) */
.card-hover-info:hover { 
    border-color: var(--info-modern);
    background-color: var(--info-modern) !important;
}
.card-hover-info:hover i,
.card-hover-info:hover span { 
    color: white !important;
}

.card-hover-success:hover { 
    border-color: var(--success-modern);
    background-color: var(--success-modern) !important;
}
.card-hover-success:hover i,
.card-hover-success:hover span { 
    color: white !important;
}

.card-hover-purple:hover { 
    border-color: var(--secondary-modern);
    background-color: var(--secondary-modern) !important;
}
.card-hover-purple:hover i,
.card-hover-purple:hover span { 
    color: white !important;
}

.card-hover-danger:hover { 
    border-color: var(--danger-modern);
    background-color: var(--danger-modern) !important;
}
.card-hover-danger:hover i,
.card-hover-danger:hover span { 
    color: white !important;
}

.card-hover-warning:hover { 
    border-color: var(--warning-modern);
    background-color: var(--warning-modern) !important;
}
.card-hover-warning:hover i,
.card-hover-warning:hover span { 
    color: white !important;
}

.card-hover-primary:hover { 
    border-color: var(--primary-modern);
    background-color: var(--primary-modern) !important;
}
.card-hover-primary:hover i,
.card-hover-primary:hover span { 
    color: white !important;
}

/* Animação escalonada */
.quick-link-card:nth-child(1) { animation-delay: 0.1s; }
.quick-link-card:nth-child(2) { animation-delay: 0.2s; }
.quick-link-card:nth-child(3) { animation-delay: 0.3s; }
.quick-link-card:nth-child(4) { animation-delay: 0.4s; }
.quick-link-card:nth-child(5) { animation-delay: 0.5s; }
.quick-link-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   MODULES GRID - Melhorado
   ======================================== */
.module-container .card {
    transition: all var(--transition-base);
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden;
    /* Sombra 3D moderna */
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 1px 2px rgba(0, 0, 0, 0.08);
}

.module-container .card:hover {
    /* Sombra mais pronunciada ao hover */
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Cabeçalho dos boxes - Padrão moderno */
.module-container .card-header {
    border: none !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.25rem 1.5rem !important;
    position: relative;
    overflow: hidden;
}

/* Gradiente e sombra 3D no cabeçalho */
.module-container .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
}

.module-container .card-header > * {
    position: relative;
    z-index: 1;
}

/* Título do cabeçalho - MAIOR e mais destacado */
.module-container .card-header h5 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 1.35rem !important;
    margin: 0;
}

/* Ícone do cabeçalho - MAIOR com efeito 3D */
.module-container .card-header i {
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.15),
        0px 1px 1px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem !important;
}

/* Botão "Ver mais" do cabeçalho - Estilo moderno */
.module-container .card-header .btn-outline-light,
.module-container .card-header .module-header-btn {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.module-container .card-header .btn-outline-light:hover,
.module-container .card-header .module-header-btn:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.module-container .card-header .btn-outline-light i,
.module-container .card-header .module-header-btn i {
    margin-left: 0.25rem;
    transition: transform var(--transition-fast);
}

.module-container .card-header .btn-outline-light:hover i,
.module-container .card-header .module-header-btn:hover i {
    transform: translateX(3px);
}

/* Cores específicas por módulo - Headers */
.module-container .card-header.bg-info {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%) !important;
}

.module-container .card-header.bg-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
}

.module-container .card-header.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
}

.module-container .card-header.bg-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
}

.module-container .card-header.bg-secondary {
    background: linear-gradient(135deg, #6C757D 0%, #5C636A 100%) !important;
}

.module-container .card-header.bg-warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
}

.module-container .card-header.bg-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
}

.module-item {
    transition: all var(--transition-fast);
    border-radius: 8px;
    padding: 0.75rem;
    margin: -0.75rem;
}

.module-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.module-item img {
    transition: all var(--transition-base);
    border-radius: 8px;
}

.module-item:hover img {
    transform: scale(1.05);
}

/* Botões "Ver mais" - SEMPRE COLORIDOS (cada um com sua cor) */

/* Primary (Azul) */
.btn-outline-primary,
.card .btn-outline-primary {
    transition: all var(--transition-base);
    border-width: 2px;
    background-color: #0d6efd !important;
    color: white !important;
    border-color: #0d6efd !important;
}

.btn-outline-primary:hover,
.card .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
}

/* Danger (Vermelho) */
.btn-outline-danger,
.card .btn-outline-danger {
    transition: all var(--transition-base);
    border-width: 2px;
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.btn-outline-danger:hover,
.card .btn-outline-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #bb2d3b !important;
    border-color: #bb2d3b !important;
}

/* Secondary (Cinza) */
.btn-outline-secondary,
.card .btn-outline-secondary {
    transition: all var(--transition-base);
    border-width: 2px;
    background-color: #6c757d !important;
    color: white !important;
    border-color: #6c757d !important;
}

.btn-outline-secondary:hover,
.card .btn-outline-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #5c636a !important;
    border-color: #5c636a !important;
}

/* Success (Verde) */
.btn-outline-success,
.card .btn-outline-success {
    transition: all var(--transition-base);
    border-width: 2px;
    background-color: #198754 !important;
    color: white !important;
    border-color: #198754 !important;
}

.btn-outline-success:hover,
.card .btn-outline-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #157347 !important;
    border-color: #157347 !important;
}

/* Warning (Amarelo) */
.btn-outline-warning,
.card .btn-outline-warning {
    transition: all var(--transition-base);
    border-width: 2px;
    background-color: #ffc107 !important;
    color: #000 !important;
    border-color: #ffc107 !important;
}

.btn-outline-warning:hover,
.card .btn-outline-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #ffca2c !important;
    border-color: #ffca2c !important;
}

/* Info (Ciano) */
.btn-outline-info,
.card .btn-outline-info {
    transition: all var(--transition-base);
    border-width: 2px;
    background-color: #0dcaf0 !important;
    color: #000 !important;
    border-color: #0dcaf0 !important;
}

.btn-outline-info:hover,
.card .btn-outline-info:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #31d2f2 !important;
    border-color: #31d2f2 !important;
}

/* Purple (Roxo) - Para módulo Jobs */
.btn-outline-purple,
.card .btn-outline-purple {
    transition: all var(--transition-base);
    border-width: 2px;
    background-color: #8B5CF6 !important;
    color: white !important;
    border-color: #8B5CF6 !important;
}

.btn-outline-purple:hover,
.card .btn-outline-purple:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #7C3AED !important;
    border-color: #7C3AED !important;
}

/* ========================================
   ANIMAÇÕES DE ENTRADA
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .quick-link-card {
        padding: 1rem 0.75rem !important;
    }
    
    .quick-link-card i {
        font-size: 1.5rem !important;
    }
    
    .scroll-down-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
}

/* ========================================
   ACESSIBILIDADE
   ======================================== */
.quick-link-card:focus,
.btn:focus {
    outline: 2px solid var(--primary-modern);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ========================================
   CARDS CHAMATIVOS - Jobs e Mural
   ======================================== */

/* Estilo específico para módulo JOBS (Últimas Vagas) */
.module-container:has(.module-item-jobs) .module-item,
.module-container .module-item:has([data-analytics*="jobs"]) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(167, 139, 250, 0.05) 100%) !important;
    border: none !important;
    border-left: 3px solid #8B5CF6 !important;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    margin: 0 0 0.75rem 0 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
}

/* Ícone de fundo removido para melhor leitura */

.module-container:has(.module-item-jobs) .module-item:hover,
.module-container .module-item:has([data-analytics*="jobs"]):hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(167, 139, 250, 0.12) 100%);
    transform: translateX(5px);
    box-shadow: 
        -3px 0 0 0 #8B5CF6,
        0 4px 12px rgba(139, 92, 246, 0.15);
}

/* Badge de salário para Jobs */
.module-container .module-item:has([data-analytics*="jobs"]) .text-info {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    color: white !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

/* Estilo específico para módulo MURAL (Últimos Recados) */
.module-container:has(.module-item-mural) .module-item,
.module-container .module-item:has([data-analytics*="mural"]) {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.03) 0%, rgba(173, 181, 189, 0.05) 100%) !important;
    border: none !important;
    border-left: 3px solid #6C757D !important;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    margin: 0 0 0.75rem 0 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
}

/* Ícone de fundo removido para melhor leitura */

.module-container:has(.module-item-mural) .module-item:hover,
.module-container .module-item:has([data-analytics*="mural"]):hover {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.08) 0%, rgba(173, 181, 189, 0.12) 100%);
    transform: translateX(5px);
    box-shadow: 
        -3px 0 0 0 #6C757D,
        0 4px 12px rgba(108, 117, 125, 0.15);
}

/* Título mais destacado para Jobs e Mural */
.module-container .module-item:has([data-analytics*="jobs"]) h6 a,
.module-container .module-item:has([data-analytics*="mural"]) h6 a {
    font-weight: 600;
    font-size: 1rem;
    color: #2d3748 !important;
    transition: color var(--transition-fast);
}

.module-container .module-item:has([data-analytics*="jobs"]) h6 a:hover {
    color: #8B5CF6 !important;
}

.module-container .module-item:has([data-analytics*="mural"]) h6 a:hover {
    color: #6C757D !important;
}

/* Ícone de relógio mais destacado */
.module-container .module-item:has([data-analytics*="jobs"]) .fa-clock,
.module-container .module-item:has([data-analytics*="mural"]) .fa-clock {
    color: #8B5CF6;
    font-weight: 600;
}

/* Badge "NOVO" para itens recentes (< 24h) */
.module-item .badge.bg-warning {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%) !important;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Melhorar visualização de categorias */
.module-container .module-item .badge.rounded-pill {
    font-weight: 600;
    padding: 5px 12px;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-fast);
}

.module-container .module-item:hover .badge.rounded-pill {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Descrição mais legível */
.module-container .module-item:has([data-analytics*="jobs"]) p.text-muted,
.module-container .module-item:has([data-analytics*="mural"]) p.text-muted {
    color: #4a5568 !important;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Meta informações mais organizadas */
.module-container .module-item .d-flex.justify-content-between {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.module-container .module-item small.text-muted {
    background: rgba(0, 0, 0, 0.03);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Efeito de brilho ao passar mouse */
.module-container .module-item::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.5s ease;
}

.module-container .module-item:hover::after {
    left: 100%;
}


/* ========================================
   TODOS OS CARDS - Padrão Unificado
   ======================================== */

/* Estilo base para TODOS os module-items */
.module-container .module-item {
    border: none !important;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    margin: 0 0 0.75rem 0 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
}

/* Últimas Notícias (Info - Ciano) */
.module-container .module-item:has([data-analytics*="noticias"]),
.module-container .module-item:has([data-analytics*="news"]) {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(34, 211, 238, 0.05) 100%) !important;
    border-left: 3px solid #06B6D4 !important;
}

/* Ícone de fundo removido para melhor leitura */

.module-container .module-item:has([data-analytics*="noticias"]):hover,
.module-container .module-item:has([data-analytics*="news"]):hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(34, 211, 238, 0.12) 100%) !important;
    transform: translateX(5px);
    box-shadow: 
        -3px 0 0 0 #06B6D4,
        0 4px 12px rgba(6, 182, 212, 0.15);
}

/* Últimos Vídeos (Success - Verde) */
.module-container .module-item:has([data-analytics*="videos"]) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(52, 211, 153, 0.05) 100%) !important;
    border-left: 3px solid #10B981 !important;
}

/* Ícone de fundo removido para melhor leitura */

.module-container .module-item:has([data-analytics*="videos"]):hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(52, 211, 153, 0.12) 100%) !important;
    transform: translateX(5px);
    box-shadow: 
        -3px 0 0 0 #10B981,
        0 4px 12px rgba(16, 185, 129, 0.15);
}

/* Últimos Classificados (Primary - Azul) */
.module-container .module-item:has([data-analytics*="classifieds"]) {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.03) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
    border-left: 3px solid #0d6efd !important;
}

/* Ícone de fundo removido para melhor leitura */

.module-container .module-item:has([data-analytics*="classifieds"]):hover {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%) !important;
    transform: translateX(5px);
    box-shadow: 
        -3px 0 0 0 #0d6efd,
        0 4px 12px rgba(13, 110, 253, 0.15);
}

/* Últimas Empresas (Warning - Amarelo) */
.module-container .module-item:has([data-analytics*="commercial"]) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, rgba(251, 191, 36, 0.05) 100%) !important;
    border-left: 3px solid #F59E0B !important;
}

/* Ícone de fundo removido para melhor leitura */

.module-container .module-item:has([data-analytics*="commercial"]):hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(251, 191, 36, 0.12) 100%) !important;
    transform: translateX(5px);
    box-shadow: 
        -3px 0 0 0 #F59E0B,
        0 4px 12px rgba(245, 158, 11, 0.15);
}

/* Títulos destacados para TODOS os módulos */
.module-container .module-item h6 a {
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #2d3748 !important;
    transition: color var(--transition-fast);
}

/* Hover colors específicos por módulo */
.module-container .module-item:has([data-analytics*="noticias"]) h6 a:hover,
.module-container .module-item:has([data-analytics*="news"]) h6 a:hover {
    color: #06B6D4 !important;
}

.module-container .module-item:has([data-analytics*="videos"]) h6 a:hover {
    color: #10B981 !important;
}

.module-container .module-item:has([data-analytics*="classifieds"]) h6 a:hover {
    color: #0d6efd !important;
}

.module-container .module-item:has([data-analytics*="commercial"]) h6 a:hover {
    color: #F59E0B !important;
}

/* Descrição legível para todos */
.module-container .module-item p.text-muted {
    color: #4a5568 !important;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Efeito de brilho para TODOS os cards */
.module-container .module-item:hover::after {
    left: 100%;
}


/* ========================================
   BOTÃO "LER MAIS" INDIVIDUAL NOS CARDS
   ======================================== */

/* Botão "Ler mais" em cada card */
.card-read-more-btn {
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    color: #4a5568 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.card-read-more-btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e0 !important;
    color: #2d3748 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-read-more-btn i {
    transition: transform var(--transition-fast);
}

.card-read-more-btn:hover i {
    transform: translateX(3px);
}

/* Hover mais evidente no card inteiro */
.module-container .module-item {
    cursor: pointer;
}

.module-container .module-item:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

/* Indicador visual de que o card é clicável */
.module-container .module-item::after {
    transition: opacity var(--transition-base);
}

/* Ajustar o stretched-link para não conflitar com o botão */
.module-container .module-item h6 a.stretched-link {
    z-index: 1;
}

.module-container .module-item .card-read-more-btn {
    position: relative;
    z-index: 2;
}

/* Ícone "Ver todos" no rodapé */
.module-see-more-btn .fa-th-large {
    font-size: 0.9rem;
}


/* ========================================
   ÍCONE "VER TODOS" NO CABEÇALHO
   ======================================== */

/* Ícone "Ver todos" ao lado do título */
.header-view-all-icon {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.header-view-all-icon:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-view-all-icon i {
    font-size: 0.95rem;
}


/* ========================================
   PADRONIZAÇÃO DE ALTURA DOS CARDS
   ======================================== */

/* Altura mínima padronizada para todos os cards */
.module-container .module-item {
    min-height: 180px !important;
    display: flex !important;
    align-items: stretch !important;
}

/* Row dentro do card com altura total */
.module-container .module-item > .row {
    width: 100%;
    flex: 1;
}

/* Coluna de conteúdo com flexbox */
.module-container .module-item .d-flex.flex-column {
    min-height: 100%;
    display: flex !important;
    flex-direction: column !important;
}

/* Título com altura fixa (2 linhas) */
.module-container .module-item h6 {
    min-height: 2.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Descrição com altura fixa (2 linhas) */
.module-container .module-item p.text-muted {
    min-height: 2.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge de categoria com altura fixa */
.module-container .module-item .badge.rounded-pill {
    display: inline-block;
    max-width: fit-content;
}

/* Meta informações sempre no mesmo lugar */
.module-container .module-item .d-flex.justify-content-between {
    margin-top: auto !important;
}

/* Botão "Ler mais" sempre na mesma posição */
.module-container .module-item .card-read-more-btn {
    margin-top: auto !important;
}

/* Para cards COM imagem */
.module-container .module-item .col-4 img {
    height: 160px !important;
    object-fit: cover !important;
}

/* Para cards SEM imagem (Jobs e Mural) - altura maior */
.module-container .module-item:has([data-analytics*="jobs"]),
.module-container .module-item:has([data-analytics*="mural"]) {
    min-height: 200px !important;
}

/* Garantir que flex-grow-1 funcione corretamente */
.module-container .module-item .flex-grow-1 {
    flex-grow: 1 !important;
}
