/* ========================== */
/* CSS — Profissionais       */
/* ========================== */

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: transparent;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', serif;
    background-image: url('../images/fundo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
}


/* Título */
.titulo {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    letter-spacing: 5px;
    margin: 40px 0 30px;
    text-align: center;
    color: white;
    font-weight: 300;
}

/* Container dos cards */
.container-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding-bottom: 40px; /* evita corte em telas baixas */
}

/* Estilo dos cards */
.card-usuario {
    background-color: #D9D9D9;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 29px;
    text-align: center;
    width: 220px;
    height: 455px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-usuario:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-usuario .imagem-usuario {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #eee;
}

.card-usuario .nome-usuario {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.texto-usuario {
    font-size: 0.9em;
    color: #666;
    margin-top: 0;
    text-align: justify;
}

/* ========================== */
/* Media Queries              */
/* ========================== */

/* Tablets */
@media (max-width: 1024px) {
    .container-cards {
        gap: 30px;
        padding: 0 20px;
    }

    .card-usuario {
        width: 45%;
        height: auto;
        padding: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .container-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card-usuario {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .card-usuario .imagem-usuario {
        width: 100px;
        height: 100px;
    }

    .texto-usuario {
        font-size: 0.85em;
    }

    .titulo {
        font-size: 36px;
        margin: 30px 0 20px;
    }
}
