@import url("style.css");

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(to right, var(--cor-azul-bebe), var(--cor-azul), var(--cor-ciano));
    background: linear-gradient(135deg, #1aa6a6, #7fd6d6, #ffffff);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.h1__titulo{
    text-align: center;
    font-size: 32px;
    margin-top: 40px;
    color: white;
}

.section__integrante {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid #ffffff;
    background: linear-gradient(135deg, #1aa6a6, #8fd3d3);
    color: white;
    box-shadow: 0 4px 18px rgba(26, 166, 166, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26, 166, 166, 0.3);
}

.card__texto h2 {
    font-size: 22px;
    font-weight: 600;
}

.card__texto p {
    font-size: 15px;
    opacity: 0.88;
}

.rm {
    font-size: 13px;
    opacity: 0.70;
    margin-top: 2px;
    font-weight: 700;
}

.Turma{
    font-size: 13px;
    opacity: 0.70;
    margin-top: 2px;
    font-weight: 700;
}

.foto {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
}

.icons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    transition: background 0.15s, transform 0.15s;
}

.icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.icon:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.12);
}

@media (max-width: 900px) {
    .nav {
        flex-wrap: wrap;
        padding: 16px 24px;
        gap: 12px;
    }

    .equipe {
        grid-template-columns: 1fr;
        margin: 30px auto;
    }

    .card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .foto {
        align-self: center;
    }
}