/* ============================================
   RECURSOS.PHP - ESTILOS ESPECÍFICOS
   ============================================ */

/* Hero Recursos */
.recursos-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: #2563eb;
    font-size: 1.2rem;
}

.hero-badge span {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.resources-hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.visual-element {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.visual-element:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #2563eb;
}

.visual-element i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.visual-element:nth-child(1) i { color: #3b82f6; }
.visual-element:nth-child(2) i { color: #10b981; }
.visual-element:nth-child(3) i { color: #f59e0b; }
.visual-element:nth-child(4) i { color: #8b5cf6; }

.visual-element span {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
}

/* Recursos Principais */
.recursos-principais {
    padding: 100px 0;
    background: #f8fafc;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recurso-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recurso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #2563eb;
}

.recurso-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.recurso-icon.consulta { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.recurso-icon.registro { background: linear-gradient(135deg, #10b981, #059669); }
.recurso-icon.empresa { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.recurso-icon.evidencia { background: linear-gradient(135deg, #f59e0b, #d97706); }
.recurso-icon.certificado { background: linear-gradient(135deg, #ef4444, #dc2626); }
.recurso-icon.dashboard { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.recurso-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.recurso-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.recurso-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.recurso-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.recurso-features i {
    color: #2563eb;
    width: 20px;
    text-align: center;
}

.recurso-cta {
    margin-top: auto;
}

.btn-recurso {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-recurso:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Recursos por Perfil */
.recursos-perfil {
    padding: 100px 0;
    background: white;
}

.perfis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.perfil-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
}

.perfil-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.perfil-card.destaque {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.perfil-card.destaque:hover {
    transform: scale(1.05) translateY(-10px);
}

.perfil-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.perfil-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.perfil-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.perfil-avatar.consumidor { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.perfil-avatar.empresa { background: linear-gradient(135deg, #10b981, #059669); }
.perfil-avatar.lojista { background: linear-gradient(135deg, #f59e0b, #d97706); }

.perfil-info {
    flex: 1;
}

.perfil-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.perfil-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0.25rem 0 0;
}

.perfil-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: #f8fafc;
}

.feature-item i {
    color: #2563eb;
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: #1f2937;
    font-weight: 600;
    font-size: 1rem;
}

.feature-item p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.perfil-cta {
    text-align: center;
}

.btn-perfil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-perfil:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: scale(1.02);
}

/* Segurança e Conformidade */
.recursos-seguranca {
    padding: 100px 0;
    background: #f8fafc;
}

.seguranca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.seguranca-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.seguranca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.seguranca-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.seguranca-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.seguranca-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.seguranca-tech {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.compliance-banner {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 4rem;
    color: white;
}

.compliance-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.compliance-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.compliance-text {
    flex: 1;
}

.compliance-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.compliance-text p {
    opacity: 0.9;
    font-size: 1.05rem;
    line-height: 1.6;
}

.btn-compliance {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #2563eb;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-compliance:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

/* CTA Recursos */
.recursos-cta {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
}

.recursos-cta .cta-title {
    color: white;
}

.recursos-cta .cta-subtitle {
    opacity: 0.9;
    color: #e5e7eb;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.stat-item i {
    font-size: 2rem;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}


/* Responsivo */
@media (max-width: 768px) {
    .recursos-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resources-hero-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .visual-element {
        padding: 1.5rem;
    }
    
    .recursos-grid,
    .perfis-grid {
        grid-template-columns: 1fr;
    }
    
    .perfil-card.destaque {
        transform: none;
    }
    
    .perfil-card.destaque:hover {
        transform: translateY(-10px);
    }
    
    .compliance-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .resources-hero-visual {
        grid-template-columns: 1fr;
    }
}