/* Reset básico para evitar espaços estranhos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f0f4ff;
    color: #333;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    min-height: 100vh;      
    margin: 0;
}

header, main, footer {
    width: 100%;
}

.container-equipe {
    max-width: 1100px;
    width: 100%;
    text-align: center;
    margin: 0 auto; 
    padding: 50px 20px;
}
.titulo-principal {
    color: #5365ca;
    font-size: 2rem;
    margin-bottom: 10px;
}

.descricao-equipe {
    color: #666;
    margin-bottom: 40px;
}

/* ALINHAMENTO LADO A LADO */
.grid-cards {
    display: flex;
    justify-content: center;
    gap: 25px; /* Espaço entre os cards */
    flex-wrap: wrap; /* Quebra linha em telas pequenas */
}

/* O CARD ESTILO REDE SOCIAL */
.card-dev {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-dev:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* FOTOS */
.foto-container img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid transparent;
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: high-quality;
}

/* Borda roxa específica para destacar, como na sua imagem */
.border-purple img {
    border-color: #8293f0;
}

.info-dev h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #222;
}

.info-dev p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.4;
    margin-bottom: 20px;
    min-height: 40px;
}

/* ÍCONES */
.links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.links a {
    font-size: 1.4rem;
    color: #3f51b5;
    text-decoration: none;
    transition: opacity 0.2s;
}

.links a:hover {
    opacity: 0.7;
}