/* ===== SEÇÃO PARCEIROS ===== */
.quem-confia {
    background-color: var(--cinza-claro);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.quem-confia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.quem-confia .container {
    position: relative;
    z-index: 2;
}

.quem-confia h2 {
    color: var(--azul-escuro-2);
    margin-bottom: var(--spacing-md);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.quem-confia h2::after {
    display: none;
}

/* Grade de Clientes */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: var(--spacing-lg);
    animation: fadeIn 1s ease-out;
}

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

.client-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-sm);
    transition: all 0.3s ease;
    animation: fadeInItem 0.6s ease-out forwards;
    opacity: 0;
}

.cliente-fab {
    animation-delay: 0.1s;
}

.cliente-anac {
    animation-delay: 0.2s;
}

.cliente-exec {
    animation-delay: 0.3s;
}

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

.client-logo {
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
    border-radius: 12px;
    height: 140px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(26, 74, 115, 0.08);
    transition: all 0.3s ease;
    padding: var(--spacing-sm);
    border: 1px solid rgba(173, 216, 230, 0.2);
    position: relative;
    overflow: hidden;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(26, 74, 115, 0.12);
    border-color: rgba(26, 74, 115, 0.15);
}

.client-logo:hover::before {
    left: 100%;
    top: 100%;
    opacity: 1;
}

.client-logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    width: auto;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

/* Ajuste para a imagem SVG da Força Aérea */
.cliente-fab .client-logo img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) contrast(1.1) brightness(1.05);
}

.cliente-anac .client-logo {
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
    border-color: rgba(26, 74, 115, 0.15);
}

.cliente-exec .client-logo {
    background: linear-gradient(145deg, #ffffff, #f5f7ff);
    border-color: rgba(26, 74, 115, 0.15);
}

.client-logo:hover img {
    transform: scale(1.05);
}

/* Adicionar title com nome do cliente ao passar o mouse */
.client-item:nth-child(1) .client-logo::after {
    content: 'Força Aérea Brasileira';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--azul-escuro-2);
    color: white;
    text-align: center;
    padding: 6px 0;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.client-item:nth-child(2) .client-logo::after {
    content: 'Aeronáutica Civil';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--azul-escuro-2);
    color: white;
    text-align: center;
    padding: 6px 0;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.client-item:nth-child(3) .client-logo::after {
    content: 'Aviação Executiva';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--azul-escuro-2);
    color: white;
    text-align: center;
    padding: 6px 0;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.client-item .client-logo:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-logo {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .quem-confia {
        padding: var(--spacing-lg) 0;
    }
    
    .client-logo {
        height: 100px;
        max-width: 260px;
        margin: 0 auto;
    }
    
    .client-item .client-logo::after {
        font-size: 0.8rem;
        padding: 4px 0;
    }
} 