.cartilhas-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
    font-family: Arial, sans-serif;
}

.cartilhas-header {
    text-align: center;
    margin-bottom: 35px;
}

.cartilhas-header h1 {
    color: #1a252f;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cartilhas-header p {
    color: #555;
    font-size: 16px;
    margin: 0;
}

/* Layout de Cards em Grid Flexbox */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.cartilha-card {
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 480px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cartilha-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Container da Imagem / Ícone */
.card-icon-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin: 0 0 8px 0;
}

.card-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #2b6cb0;
    margin: 0 0 15px 0;
}

.card-description {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; /* Faz os botões alinharem na base */
}

.btn-download {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background-color: #0056b3;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.btn-download:hover {
    background-color: #003d82;
}

.btn-download i {
    margin-right: 8px;
}