/*
Theme Name: URDFG Custom
Version: 1.0
*/
/* Layout Geral */
.atividades-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
}

.atividades-header {
    text-align: center;
    margin-bottom: 30px;
}

.atividades-subtitle {
    color: #ffcc00;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.atividades-title {
    color: #002b82;
    font-size: 36px;
    font-weight: 800;
    margin: 10px 0;
}

.atividades-desc {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Filtros */
.atividades-filtros {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.btn-filtro {
    background: transparent;
    border: 1px solid #002b82;
    color: #002b82;
    padding: 8px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-filtro.active, .btn-filtro:hover {
    background: #002b82;
    color: #fff;
}

/* Grelha de Cartões */
.atividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.atividade-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Canto Decorativo Amarelo */
.card-decor-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background: #fff8d6;
    border-bottom-left-radius: 100%;
    z-index: 1;
}

/* Ícone */
.card-icon {
    position: relative;
    z-index: 2;
    background: #ffcc00;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon img {
    width: 28px;
    height: 28px;
}

.card-text {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Botão do Cartão */
.card-btn {
    display: block;
    text-align: center;
    background: #ffcc00;
    color: #002b82;
    font-weight: bold;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.card-btn:hover {
    background: #e6b800;
}