@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.hemo-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.lista {
    width: 35%;
    max-height: 600px;
    overflow-y: auto;
}

.card {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.card:hover {
    background: #ffe5e5;
}

.card.active {
    border: 2px solid #DA0707;
    background: #FEEAEA;
}

.btn-agendar {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    background: #2e7d32;
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
}

.mapa {
    width: 65%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

main h2 {
    text-align: center;
    margin-top: 20px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hemo-layout {
        flex-direction: column;
    }

    .mapa {
        width: 100%;
        height: 300px;
        order: -1;
    }

    .lista {
        width: 100%;
        max-height: none;
    }
}

/* ================= (1024px) ================= */
@media (max-width: 1024px) {

    .hemo-layout {
        flex-direction: column;
    }

    .mapa {
        width: 100%;
        height: 400px;
        order: -1;
    }

    .lista {
        width: 100%;
    }
}