


.agentes {
    position: relative;
    padding: 5rem 0;
    background: var(--alibra-dark-bg);
    overflow: hidden;
}


.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.ai-particle {
    position: absolute;
    background-color: #54afe6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(84, 175, 230, 0.5);
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(90deg);
    }
    50% {
        transform: translate(20px, 0) rotate(180deg);
    }
    75% {
        transform: translate(10px, 15px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}


.agentes .section-badge {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.agentes .section-badge span {
    display: flex;
    align-items: center;
    background-color: rgba(84, 175, 230, 0.15);
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.agentes .section-badge span i {
    color: #54afe6;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.agentes h2.gradient-text {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--alibra-blue), #54afe6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agentes .section-description {
    text-align: center;
    color: #ffffff;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}


.agentes-tabs {
    background-color: rgba(26, 32, 44, 0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem auto 0;
    max-width: 1140px;
    width: 95%;
}


.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

.tab-button {
    background: rgba(84, 175, 230, 0.1);
    border: 1px solid rgba(84, 175, 230, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    flex: 0 0 auto;
}

.tab-button i {
    margin-right: 0.5rem;
    color: #54afe6;
    font-size: 1.1rem;
}

.tab-button:hover {
    background: rgba(84, 175, 230, 0.2);
    transform: translateY(-2px);
}

.tab-button.active {
    background: #54afe6;
    border-color: #54afe6;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(84, 175, 230, 0.4);
}

.tab-button.active i {
    color: #ffffff;
}


.tabs-content {
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

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


.agent-card {
    background: rgba(45, 55, 72, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    transform: none;
    border: 1px solid rgba(84, 175, 230, 0.1);
}

.agent-info {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.agent-info h3 {
    color: #54afe6;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    display: block;
    position: relative;
}

.agent-info h3:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--alibra-blue), #54afe6);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Grid de recursos */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 1.8rem;
    background: rgba(30, 40, 55, 0.4);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 240px;
    display: flex;
    justify-content: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 2.2rem;
    color: #54afe6;
    margin-bottom: 1.2rem;
    background-color: rgba(84, 175, 230, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(84, 175, 230, 0.25);
}

.feature-item h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.feature-item h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--alibra-blue), #54afe6);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 1200px) {
    .agentes h2.gradient-text {
        font-size: 2.2rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .agentes {
        padding: 4rem 0;
    }
    
    .tabs-header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-button {
        flex: 0 1 auto;
        justify-content: center;
        min-width: 180px;
        margin: 0 0.5rem 0.5rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-item {
        align-items: center;
        text-align: center;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .agent-card {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .agentes h2.gradient-text {
        font-size: 1.8rem;
    }
    
    .agentes .section-description {
        font-size: 1rem;
    }
    
    .agent-info h3 {
        font-size: 1.6rem;
    }
    
    .tabs-header {
        padding: 1rem;
    }
    
    .tab-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-width: 140px;
        margin: 0 auto;
    }
    
    .tabs-content {
        padding: 1rem;
    }
    
    .agent-info {
        padding: 1rem;
    }
    
    .feature-item {
        min-height: auto;
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-item i {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.5rem;
    }
    
    .feature-item h4:after {
        width: 30px;
        height: 2px;
    }
    
    .feature-item p {
        margin-bottom: 0;
    }
    
    .features-grid {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .agentes {
        padding: 3rem 0;
    }
    
    .agentes .section-badge span {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
    }
    
    .agentes h2.gradient-text {
        font-size: 1.6rem;
    }
    
    .tabs-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        width: 100%;
    }
    
    .tab-button {
        width: 80%;
        margin: 0 auto;
    }
    
    .tab-button span {
        font-size: 0.9rem;
    }
    
    .feature-item {
        min-height: auto;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-item i {
        font-size: 1.4rem;
        width: 45px;
        height: 45px;
        margin-bottom: 0.6rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .tabs-content,
    .agent-info {
        padding: 0.8rem;
    }
    
    .agent-card {
        width: 95%;
        margin: 0 auto;
    }
    
    .features-grid {
        gap: 0.8rem;
    }
    
    .agent-info h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .agent-info h3:after {
        width: 60px;
        height: 3px;
    }
    
    /* Ajuste para partes sobrepostas ou cortadas */
    .agentes-tabs {
        width: 95%;
        max-width: 95%;
        margin: 1rem auto 0;
    }
}

/* Efeitos visuais adicionais */
.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(84, 175, 230, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
    z-index: -1;
}

.tab-button:hover::before,
.tab-button.active::before {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-item i {
    animation: pulse 2s infinite ease-in-out;
}

/* Evitar que as animações sejam executadas em dispositivos que preferem redução de movimento */
@media (prefers-reduced-motion: reduce) {
    .feature-item i {
        animation: none;
    }
}
