﻿/* =========================================================
   Programação Home — isolado no #programacao
========================================================= */

:root {
    --ph-brand: #004c99;
    --ph-brand-2: #083b78;
    --ph-text: #0b1f3a;
    --ph-muted: #6b7280;
    --ph-line: rgba(15,23,42,.12);
    --ph-card: #fff;
    --ph-radius: 16px;
    --ph-shadow: 0 18px 40px rgba(15,23,42,.10);
    --ph-shadow-sm: 0 10px 24px rgba(15,23,42,.08);
}



#programacao {
    background: #fff;
}

    #programacao .container {
        max-width: 1200px;
    }

    /* Header */
    #programacao h3 {
        color: var(--ph-text);
        letter-spacing: -0.02em;
    }

    #programacao .text-secondary {
        color: var(--ph-muted) !important;
    }

    #programacao a.btn.btn-outline-secondary {
        border-color: rgba(15,23,42,.18);
        color: #334155;
        border-radius: 999px;
        padding: .45rem .9rem;
        background: #fff;
    }

        #programacao a.btn.btn-outline-secondary:hover {
            background: rgba(0,76,153,.06);
            border-color: rgba(0,76,153,.25);
            color: var(--ph-brand);
        }

    /* Card filtros */
    #programacao .card.mb-3.shadow-sm {
        border: 1px solid var(--ph-line);
        border-radius: var(--ph-radius);
        box-shadow: var(--ph-shadow-sm) !important;
        overflow: hidden;
    }

        #programacao .card.mb-3.shadow-sm .card-body {
            padding: 1.1rem;
        }

    #programacao .form-label {
        font-weight: 700;
        color: #475569;
        margin-bottom: .35rem;
    }

    /* Inputs com mesma “altura” */
    #programacao .form-select,
    #programacao .form-control {
        border-radius: 12px;
        border: 1px solid rgba(15,23,42,.16);
        padding: .62rem .75rem;
        box-shadow: none;
        background: #fff;
        min-height: 44px;
        transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    }

        #programacao .form-select:focus,
        #programacao .form-control:focus {
            border-color: rgba(0,76,153,.45);
            box-shadow: 0 0 0 .2rem rgba(0,76,153,.12);
        }

    /* Botões filtros */
    #programacao .card .d-flex.gap-2.mt-3 {
        gap: .6rem !important;
        margin-top: 1rem !important;
    }

  /*  #programacao .btn.btn-primary {
        background: var(--ph-brand);
        border-color: var(--ph-brand);
        border-radius: 12px;
        padding: .7rem 1rem;
        font-weight: 700;
        box-shadow: 0 10px 22px rgba(0,76,153,.18);
    }

        #programacao .btn.btn-primary:hover {
            background: var(--ph-brand-2);
            border-color: var(--ph-brand-2);
            transform: translateY(-1px);
        }*/

    #programacao .btn.btn-outline-secondary {
        border-radius: 12px;
        padding: .7rem 1rem;
        font-weight: 700;
        border-color: rgba(15,23,42,.18);
        color: #334155;
        background: #fff;
    }

        #programacao .btn.btn-outline-secondary:hover {
            background: rgba(15,23,42,.04);
            border-color: rgba(15,23,42,.22);
        }

    /* Cards de eventos */
    #programacao .card-hover {
        border-radius: var(--ph-radius);
        overflow: hidden;
        border: 1px solid var(--ph-line);
        box-shadow: 0 10px 24px rgba(15,23,42,.06);
        transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    }

        #programacao .card-hover:hover {
            transform: translateY(-3px);
            box-shadow: var(--ph-shadow);
            border-color: rgba(15,23,42,.18);
        }

    #programacao .card-img-top {
        height:170px;
        width: 100%;
        object-fit: cover;
        background: #eef2f7;
        display: block;
    }

    #programacao .card-hover .card-body {
        padding: 1rem 1rem 1.1rem;
    }

    #programacao .card-hover h5 {
        font-weight: 800;
        letter-spacing: -0.01em;
        color: #0b0f1a;
        margin: .1rem 0 .35rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.4em;
    }

    #programacao .card-hover .text-muted.small {
        color: var(--ph-muted) !important;
    }

/*    #programacao .card-hover a.btn.btn-outline-primary {
        border-radius: 12px;
        font-weight: 800;
        padding: .65rem 1rem;
    }

        #programacao .card-hover a.btn.btn-outline-primary:hover {
            background: rgba(0,76,153,.06);
        }*/

/* Mobile (igual teu print: filtros empilhados + botões full) */
@media (max-width: 575.98px) {
    #programacao .card.mb-3.shadow-sm .card-body {
        padding: 1rem;
    }

    #programacao .card .d-flex.gap-2.mt-3 {
        flex-direction: column;
    }

    #programacao .card .btn {
        width: 100%;
    }

    #programacao .card-img-top {
        height: 170px;
    }

    #programacao .ph-actions {
        flex-direction: column;
    }

        #programacao .ph-actions .btn {
            width: 100%;
        }

}
/* Botões na mesma linha dos inputs (desktop) */
#programacao .ph-actions {
    display: flex;
    gap: .6rem;
}

    #programacao .ph-actions .btn {
        flex: 1;
        min-height: 44px; /* igual inputs */
        border-radius: 12px;
        font-weight: 700;
        white-space: nowrap;
    }


