:root {
    /* Cores atualizadas com paleta mais profissional */
    --primary-color: #4361ee;
    --primary-hover: #3a56d4;
    --secondary-color: #4cc9f0;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --medium-color: #e9ecef;
    --dark-color: #212529;
    --text-color: #495057;
    --text-light: #6c757d;
    --success-color: #4bb543;
    
    /* Espaçamentos e bordas */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease;
}

/* Reset moderno */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, 
                 Ubuntu, Cantarell, 'Open Sans', sans-serif;
    background-color: #f8fafc;
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Seções */
section {
    margin-bottom: 3rem;
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Listas */
ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1.1rem;
}

li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    transform: translateY(-50%);
}

li strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* Equipe */
.desenvolvedores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.desenvolvedor {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.desenvolvedor:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.desenvolvedor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.dev-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
    transition: var(--transition);
}

.desenvolvedor:hover .dev-avatar {
    transform: scale(1.1) rotate(5deg);
}

.desenvolvedor h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.desenvolvedor h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.desenvolvedor p {
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
}

/* Redes Sociais */
.redes-sociais {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.rede-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    font-weight: 500;
    gap: 0.5rem;
}

.rede-social:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.rede-social:nth-child(2) {
    background-color: #E1306C; /* Instagram */
}

.rede-social:nth-child(2):hover {
    background-color: #c13584;
}

.rede-social:nth-child(3) {
    background-color: #0077B5; /* LinkedIn */
}

.rede-social:nth-child(3):hover {
    background-color: #006699;
}

/* Contato */
.contato-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contato-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    .desenvolvedores {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
        margin: 2rem auto;
    }
    
    section {
        padding: 2rem;
    }
    
    .desenvolvedores {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .redes-sociais {
        flex-direction: column;
    }
    
    .rede-social {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    p, li {
        font-size: 1rem;
    }
    
    .desenvolvedor {
        padding: 1.5rem;
    }
    
    .dev-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.missao { animation-delay: 0.1s; }
.valores { animation-delay: 0.2s; }
.equipe { animation-delay: 0.3s; }
.tecnologias { animation-delay: 0.4s; }
.contato { animation-delay: 0.5s; }

.desenvolvedor {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.desenvolvedor:nth-child(1) { animation-delay: 0.3s; }
.desenvolvedor:nth-child(2) { animation-delay: 0.4s; }
.desenvolvedor:nth-child(3) { animation-delay: 0.5s; }
.desenvolvedor:nth-child(4) { animation-delay: 0.6s; }

.tech-category {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.tech-category:nth-child(1) { animation-delay: 0.4s; }
.tech-category:nth-child(2) { animation-delay: 0.5s; }
.tech-category:nth-child(3) { animation-delay: 0.6s; }