/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card h4 {
    line-height: 0px;
    text-align: center;
    font-size: 12px;
    color: silver;
    padding: 5px;
}

.card h2 {
    line-height: 2.5px;
    padding: 10px 2.5px;
    font-size: 18px;
    text-align: center;
}

/* MODAL FULLSCREEN */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    flex-direction: column;
    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #000;
}

/* BOTÃO FECHAR */
.close-btn {
    background: #ff4444;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    align-self: flex-end;
}

.close-btn:hover {
    background: #cc0000;
}
