/* =====================
   Reset + Fontes
===================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100dvh;
    background: linear-gradient(180deg, #f7f4ef, #eef4f7);
    color: #2b2b2b;
    padding: 40px 20px;
}

/* =====================
   Título
===================== */

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1f3a44;
}

/* =====================
   Cards (Hub)
===================== */

.cards {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: #fffdfa;
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #ece6dc;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f3a44;
}

.card p {
    font-size: 0.95rem;
    color: #5f6f76;
    line-height: 1.4;
}

/* =====================
   Badge / detalhe (opcional)
===================== */

.card::after {
    content: "Acessar →";
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f3a44;
}

/* =====================
    Imagem
===================== */
img {
    display: block;
    margin: 12px auto 32px auto;

    width: 170px;
    height: 170px;
    object-fit: cover;

    border-radius: 50%;
    border: 3px solid #9fc9d9;

}

/* =====================
   Mobile
===================== */

@media (max-width: 600px) {
    h1 {
        font-size: 1.7rem;
    }

    .card {
        padding: 24px 20px;
    }
}
